Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 88

Thread: wireless not working on ubuntu 8.10 ipw2200

  1. #31
    Join Date
    Nov 2007
    Location
    Uruguay
    Beans
    72
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wireless not working on ubuntu 8.10 ipw2200

    you can find ipw2200_rtap_fix.patch here

    be sure to read carefully the steps you have to follow in order to compile ipw2200.

  2. #32
    Join Date
    Feb 2009
    Beans
    22

    Re: wireless not working on ubuntu 8.10 ipw2200

    Thanks to the OP, this thread provided tons of information about how to get injection to work on ipw2200.


    I've had the same problem. Just FYI, if your wireless is screw up to a point where you don't care anymore if injection works(like me >_<), you can check my solution. Took me two days to figure out http://ubuntuforums.org/showthread.php?p=6920127

  3. #33
    Join Date
    Feb 2009
    Beans
    11

    Re: wireless not working on ubuntu 8.10 ipw2200

    dox@dox-laptop:~/wifi/patch/ipw2200-1.2.2$ sudo make SHELL=/bin/bash

    mkdir -p /home/dox/wifi/patch/ipw2200-1.2.2/tmp/.tmp_versions
    make -C /lib/modules/2.6.27-11-generic/build M=/home/dox/wifi/patch/ipw2200-1.2.2 MODVERDIR=/home/dox/wifi/patch/ipw2200-1.2.2/tmp/.tmp_versions modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
    CC [M] /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.o
    /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_net_set_mac_address’:
    /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.c:10697: error: ‘rtap_iface’ undeclared (first use in this function)
    /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.c:10697: error: (Each undeclared identifier is reported only once
    /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.c:10697: error: for each function it appears in.)
    /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.c:10698: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
    /home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.c:10698: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
    make[2]: *** [/home/dox/wifi/patch/ipw2200-1.2.2/ipw2200.o] Error 1
    make[1]: *** [_module_/home/dox/wifi/patch/ipw2200-1.2.2] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
    make: *** [modules] Error 2



    Ok so i took another whack at it. No luck. Now I am without wifi again. I really would like to play around with injection but I am just having no luck here.

  4. #34
    Join Date
    Nov 2007
    Location
    Uruguay
    Beans
    72
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wireless not working on ubuntu 8.10 ipw2200

    If you are simply interested in getting your wireless working again, you can just open a terminal and type:
    Code:
    sudo apt-get --reinstall install linux-image-2.6.27-11-generic
    The following is a guide on how to get injection, its basically a summarize of all my posts in this thread, i thought it was time to get them all in one organized guide so as to avoid confusion, here it goes.

    First of all open a terminal and enter:

    Code:
    sudo apt-get install build-essential linux-headers-`uname -r`
    create a directory called wireless in your home folder, just to keep it tidy.

    1)Download the zip attached to this post and extract its contents to the "wireless" folder you created. Also Download the ieee80211 subsystem, ieee80211-1.2.18, to the "wireless" folder.

    2) Open a terminal and enter:
    Code:
    cd /home/$USER/wireless
    tar -xzvf ieee80211-1.2.18.tgz
    patch ieee80211-1.2.18/ieee80211_tx.c ieee80211_inject-1.2.18.patch
    patch -p0 < ieee80211-1.2.18-2.6.24.patch
    Steps 3 and 4 have been dismissed, i have left them here only for future reference.

    3) Go inside the ieee80211-1.2.18 folder, you'll see a file called ieee80211_module.c, open it and look for every occurrence of 'proc_net' and change it for 'init_net.proc_net'. For example:
    Code:
    ieee80211_proc = proc_mkdir(DRV_NAME, proc_net);
    to
    Code:
    ieee80211_proc = proc_mkdir(DRV_NAME, init_net.proc_net);
    4) In the files ieee80211_crypt_wep.c and ieee80211_crypt_tkip.c
    substitute every occurrence of '.page' for '.page_link'
    For example:

    Code:
    sg.page = virt_to_page(pos);
    to
    Code:
    sg.page_link = virt_to_page(pos);
    5) In a terminal enter:
    Code:
    cd /home/$USER/wireless
    patch ieee80211-1.2.18/ieee80211_wx.c ieee80211_wx.c-2.6.27.patch
    *note: Thanks to arturosevilla for this patch, i found it on this post

    6)now type:
    Code:
    cd /home/$USER/wireless/ieee80211-1.2.18
    . remove-old
    sudo make SHELL=/bin/bash
    sudo make install SHELL=/bin/bash
    I dont know if it is necessary to use sudo, but i did it anyway.
    Good, now you have the ieee80211 subsystem installed, time to install the driver, for this you need to download the following:

    ipw2200-1.2.2.tgz
    and
    firmware v3.0

    save them in the "wireless folder"

    7) open a terminal and type:
    Code:
    cd /home/$USER/wireless
    tar -xzvf ipw2200-1.2.2.tgz
    patch ipw2200-1.2.2/ipw2200.c ipw2200-1.2.2-inject.patch
    patch ipw2200-1.2.2/Makefile ipw2200-1.2.2-make.patch
    patch ipw2200-1.2.2/ipw2200.h ipw2200-1.2.2-2.6.24.patch
    patch ipw2200-1.2.2/ipw2200.c ipw2200_rtap_fix.patch

    Now open ipw2200.c with gedit and look for this line(use Ctrl + F to look for it):

    memcpy(priv->mac_addr, addr->sa_data, ETH_ALEN);
    below that line we need to write this one:

    if (rtap_iface)
    memcpy(priv->prom_net_dev->dev_addr, addr->sa_data, ETH_ALEN);
    Important: do not erase the original line, simply paste the other one below it, so that it looks like this:
    memcpy(priv->mac_addr, addr->sa_data, ETH_ALEN);
    if (rtap_iface)
    memcpy(priv->prom_net_dev->dev_addr, addr->sa_data, ETH_ALEN);
    now open a terminal and enter:
    Code:
    cd /home/$USER/wireless
    cd ipw2200-1.2.2
    sudo ./remove-old
    sudo make SHELL=/bin/bash
    sudo make install SHELL=/bin/bash
    Now all is left to do is copy the firmware to the proper directory, open a terminal and type:

    Code:
    cd /home/$USER/wireless
    tar -xzvf ipw2200-fw-3.0.tgz
    sudo cp ipw2200-fw-3.0/* /lib/firmware/`uname -r`/
    reload the module:
    Code:
    rmmod ipw2200
    sudo modprobe ipw2200
    ifconfig eth1 up
    And that's it!

    If you have any problems while doing this just let me know.
    Attached Files Attached Files
    Last edited by sambita; July 20th, 2009 at 11:58 PM. Reason: commands missing in step 7

  5. #35
    Join Date
    Feb 2009
    Beans
    11

    Re: wireless not working on ubuntu 8.10 ipw2200

    How do I know which subsystem is correct?

  6. #36
    Join Date
    Nov 2007
    Location
    Uruguay
    Beans
    72
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wireless not working on ubuntu 8.10 ipw2200

    The link i provided (ieee80211-1.2.18 ) should work for you, when i said "in my case" i meant it in case there was a newer version when someone read the post, ill edit that now.
    Last edited by sambita; March 25th, 2009 at 10:56 AM.

  7. #37
    Join Date
    Sep 2007
    Beans
    5

    Re: wireless not working on ubuntu 8.10 ipw2200

    im having the same issue as dox here

    im getting the following

    Code:
    *****@laptop:~/wireless/ipw2200-1.2.1$ sudo ./remove-oldChecking in /lib/modules/2.6.27-11-generic/build/ for ipw2x00 components...
    *****@laptop:~/wireless/ipw2200-1.2.1$ sudo make SHELL=/bin/bashmkdir -p /home/*****/wireless/ipw2200-1.2.1/tmp/.tmp_versions
    make -C /lib/modules/2.6.27-11-generic/build M=/home/*****/wireless/ipw2200-1.2.1 MODVERDIR=/home/*****/wireless/ipw2200-1.2.1/tmp/.tmp_versions modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
      CC [M]  /home/*****/wireless/ipw2200-1.2.1/ipw2200.o
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c: In function ‘ipw_handle_mgmt_packet’:
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c:8346: error: ‘struct sk_buff’ has no member named ‘mac’
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c: In function ‘ipw_net_set_mac_address’:
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c:10645: error: ‘rtap_iface’ undeclared (first use in this function)
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c:10645: error: (Each undeclared identifier is reported only once
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c:10645: error: for each function it appears in.)
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c:10646: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
    /home/*****/wireless/ipw2200-1.2.1/ipw2200.c:10646: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
    make[2]: *** [/home/*****/wireless/ipw2200-1.2.1/ipw2200.o] Error 1
    make[1]: *** [_module_/home/*****/wireless/ipw2200-1.2.1] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
    make: *** [modules] Error 2
    would love to see somone help me get this resolved any help is apreciated

  8. #38
    Join Date
    Nov 2007
    Location
    Uruguay
    Beans
    72
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wireless not working on ubuntu 8.10 ipw2200

    @machinehead: You're using ipw2200-1.2.1, the patches i provide are for ipw2200-1.2.2
    The guide did well for me, but ill follow it once more tomorrow to double check in case somethings wrong in it, causing the mistakes you have.

    Sorry for the delay to answer

  9. #39
    Join Date
    Sep 2007
    Beans
    5

    Re: wireless not working on ubuntu 8.10 ipw2200

    i did retry with 1.2.2 drivers to no avail getting the same error messages will try agiain tomorrow after ive had more sleep

  10. #40
    Join Date
    Nov 2007
    Location
    Uruguay
    Beans
    72
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wireless not working on ubuntu 8.10 ipw2200

    im really sorry, i found two commands missing in the guide, i edited, the only thing that changed is step 7), The attached tar provides the files needed, it is only the patching of those files that was missing in the guide. Once again i apologize and hope this corrections make it work for you.

Page 4 of 9 FirstFirst ... 23456 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •