Page 47 of 66 FirstFirst ... 37454647484957 ... LastLast
Results 461 to 470 of 654

Thread: HOWTO: ipw2200 + wpa

  1. #461
    Join Date
    Oct 2004
    Location
    Trailer Park
    Beans
    345
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by Magneto
    im using breezy and previously was fine with wpa working great in hoary but now everytime I attempt to send data like request a webpage or access a mounted network drive etc the wireless connection is lost then reconnects
    anyone else see this?

    I found it mentioned by some other people as an ipw2200 firmware bug
    found the answer

    the crypto support in the driver causes this disconnect on transmit and disconnects every so often - to disable the hardware crypto
    create a file in /etc/modprobe.d/ I made one called ipw2200 and add this line to it

    options ipw2200 hwcrypto=0



    sorry if this is a repost

  2. #462
    Join Date
    Oct 2005
    Location
    Hamburg, the north
    Beans
    10
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by Magneto
    found the answer

    the crypto support in the driver causes this disconnect on transmit and disconnects every so often - to disable the hardware crypto
    create a file in /etc/modprobe.d/ I made one called ipw2200 and add this line to it

    options ipw2200 hwcrypto=0
    Hi!

    Just get this straight:

    Which version of the ipw2200 driver do you use?

    I switched to ipw2200-1.0.8 and removed the line mentioned above from /etc/modprobe.d/ipw2200.
    I did not experience any problems so far (using WPA, did not test with WEP). So I think that this issue is closed in the current driver.

    Cheers
    Carsten

  3. #463
    Join Date
    Aug 2005
    Beans
    12
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: ipw2200 + wpa



    This is what I've managed to do so far after the upgrade to Breezy. It seems like, I gotta wait. |=

  4. #464
    Join Date
    Oct 2004
    Location
    Trailer Park
    Beans
    345
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: ipw2200 + wpa

    Quote Originally Posted by ZaphodX
    Hi!

    Just get this straight:

    Which version of the ipw2200 driver do you use?

    I switched to ipw2200-1.0.8 and removed the line mentioned above from /etc/modprobe.d/ipw2200.
    I did not experience any problems so far (using WPA, did not test with WEP). So I think that this issue is closed in the current driver.

    Cheers
    Carsten
    although i added gcc-3.4 trying to build 1.0.8 keeps shooting me errors so that is not gonna be an option for me now

  5. #465
    Join Date
    Nov 2005
    Beans
    1

    Re: HOWTO: ipw2200 + wpa

    hi luca_linux, i used your fine script and it works great with my wpa network at home. but now when i am at the university we have an open access point wlan. problem: i have to disable wpa_supplicant config file to use the wireless network there. is there an easier way to use all types of networks (wep, open, wpa) at the same time?
    greetz
    alex

  6. #466
    Join Date
    Nov 2005
    Beans
    24

    Re: HOWTO: ipw2200 + wpa

    Hi,

    thanks for the guide.

    i am trying with ieee80211-1.1.6 , ipw2200-1.0.8, and ipw2200-fw-2.4.

    I successfully get this with dmesg:
    [4296316.590000] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8
    [4296316.590000] ipw2200: Copyright(c) 2003-2005 Intel Corporation

    when I run sudo wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w -dd

    i get:

    Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
    Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
    Reading configuration file '/etc/wpa_supplicant.conf'
    ctrl_interface='/var/run/wpa_supplicant'
    Line: 4 - start of a new network block
    ssid - hexdump_ascii(len=14):
    62 69 6c 6c 79 20 61 6e 64 20 62 65 61 72 billy and bear
    scan_ssid=1 (0x1)
    proto: 0x1
    key_mgmt: 0x2
    PSK - hexdump(len=32): [REMOVED]
    Priority group 0
    id=0 ssid='billy and bear'
    Daemonize..


    and dmesg shows:

    [4296316.590000] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8
    [4296316.590000] ipw2200: Copyright(c) 2003-2005 Intel Corporation
    [4296316.594000] ipw2200: Detected Intel PRO/Wireless 2915ABG Network Connection[4296316.930000] ipw2200: Can't set TKIP countermeasures: crypt not set!
    [4296324.669000] ipw2200: Can't set TKIP countermeasures: crypt not set!
    [4296324.670000] ipw2200: Can't set TKIP countermeasures: crypt not set!


    can someone help me with the problem?

    many thanks.

  7. #467
    Join Date
    Nov 2005
    Beans
    2

    Cool Re: HOWTO: ipw2200 + wpa

    After fighting with my Breezy install for the past few hours I found an issue that might be something someone else is having. I am working with the following updates

    ieee80211-1.1.6
    ipw2200-1.0.8
    ipw2200-fw-2.4.tgz

    All of the latest packages as of this posting.

    In my situtation, after having just updated from 5.04 (Hoary Hedgehog) it looks like there were some changes to some of the file locations. I had unloaded ipw and it's associated dependancies on ieee80211 using the unload script in the ipw directory.

    Code:
    sh unload
    When you're in the ipw2200-1.x.x directory

    You can check that neither ipw or ieee80211 is running by using

    Code:
    lsmod | grep ipw
    You can then run your "make; make install" per the instructions on the first page. Compiling ieee80211 first is best.

    When running modprobe ieee80211 you might get success like I did. The problem is you may be loading an older driver. Untill I did a date check, it looks like the make install puts the ieee80211 files into /lib/modules/2.6.12-9-386/net/ieee80211 and does not overwrite the files in /lib/modules/2.6.12-9-386/kernel/drivers/net/wireless/ieee80211/ which is where they are loaded from.

    Notice the dates on the files...

    NEWER FILES WERE ADDED HERE

    Code:
    # ls /lib/modules/2.6.12-9-386/net/ieee80211
    total 968K
    drwxr-xr-x  3 root root 4.0K Nov  5 21:42 .
    drwxr-xr-x  3 root root 4.0K Nov  5 17:05 ..
    drwxr-xr-x  2 root root 4.0K Nov  5 21:42 .tmp_versions
    -rw-r--r--  1 root root 575K Nov  5 21:42 ieee80211.ko
    -rw-r--r--  1 root root  91K Nov  5 21:42 ieee80211_crypt.ko
    -rw-r--r--  1 root root  87K Nov  5 21:42 ieee80211_crypt_ccmp.ko
    -rw-r--r--  1 root root  95K Nov  5 21:42 ieee80211_crypt_tkip.ko
    -rw-r--r--  1 root root  82K Nov  5 21:42 ieee80211_crypt_wep.ko
    THEY SHOULD HAVE BEEN HERE

    Code:
    # ls /lib/modules/2.6.12-9-386/kernel/drivers/net/wireless/ieee80211/
    total 80K
    drwxr-xr-x   2 root root 4.0K Nov  5 15:25 .
    drwxr-xr-x  13 root root 4.0K Nov  5 21:51 ..
    -rw-r--r--   1 root root  31K Oct 10 06:16 ieee80211.ko
    -rw-r--r--   1 root root 7.8K Oct 10 06:16 ieee80211_crypt.ko
    -rw-r--r--   1 root root 8.3K Oct 10 06:16 ieee80211_crypt_ccmp.ko
    -rw-r--r--   1 root root  12K Oct 10 06:16 ieee80211_crypt_tkip.ko
    -rw-r--r--   1 root root 6.4K Oct 10 06:16 ieee80211_crypt_wep.ko
    If your dmesg output shows you anything like like this.

    Code:
    ipw2200: disagrees about version of symbol ieee80211*....
    Then it means your ipw2200 is newer and does not like your ieee80211 - probably because it's older and doesn't include the newer stuff required. Which was my case. As soon as I did a

    Code:
    cp /lib/modules/2.6.12-9-386/net/ieee80211/ieee80211* /lib/modules/2.6.12-9-386/kernel/drivers/net/wireless/ieee80211/
    I got a successful load of both ieee80211 and ipw2200 with modprobe and therefore no more problems.



    Oh, and if your connection keeps dropping after all this work make sure and run the following

    Code:
    ps aux | grep wpa
    And make sure you don't have two wpa_supplicant processes running. I had rebooted and forgot to kill my startup of wpa_supplicant, so my further testing of running a second one caused the connection to associate then disconnect every few seconds.

    I hope this helps someone else out. It took me more than a few hours to get this one solved. Thanks go out to everyone who posted help on this topic. This was my lesson on how modules are loaded in linux. Prior to this I never knew.

  8. #468
    Join Date
    Nov 2005
    Beans
    2

    Spoke too soon

    Well, it looks like I might have spoken too soon. My interface is connecting to the wireless network but I'm not able to get the DNS working. After unplugging my wired connection and trying the wireless, it connects to the AP but I loose any DNS services.

    I tried editing resolv.conf with some fixed IP's but that is getting reset - by dhclient?

    Anyone know how to troubleshoot dns issues with wpa_supplicant? Here is my iwconfig output it it helps.

    Code:
    # iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    eth1      IEEE 802.11g  ESSID:"home"
              Mode:Managed  Frequency:2.462 GHz  Access Point: 00:00:00:00:00:00
              Bit Rate=54 Mb/s   Tx-Power=20 dBm
              Retry limit:7   RTS thr:off   Fragment thr:off
              Encryption key:1234-69D5-5432-7654-EBA3-SDFE-1235-XCFR-8634-BD56-9864-9DCC-GHTY-2C4C-8DBF-4018   Security mode:open
              Power Management:off
              Link Quality=89/100  Signal level=-41 dBm  Noise level=-85 dBm
              Rx invalid nwid:0  Rx invalid crypt:1  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:16   Missed beacon:0
    
    sit0      no wireless extensions.

  9. #469
    Join Date
    Nov 2005
    Location
    Purdue
    Beans
    79

    Re: HOWTO: ipw2200 + wpa

    Can I use this guide for Ubuntu 5.10? I'd like to get WPA working, and just wondered if this guide would work okay if I was going to use 5.10 along with the latest ipw2200 drives & firmware.

  10. #470
    Join Date
    Nov 2005
    Location
    London, UK
    Beans
    107

    Re: HOWTO: ipw2200 + wpa

    Can anyone help? I'm fairly new to Linux, and I'm having some problems. I have followed everything in this guide, but when I try to make in the ieee80211-1.1.6 directory, I get:

    Code:
    Checking in /lib/modules/2.6.12-9-386/build/ for ieee80211 components...
    
    make -C /lib/modules/2.6.12-9-386/build M=/home/sebby/ieee80211-1.1.6 MODVERDIR=/home/sebby/ieee80211-1.1.6 modules
    /usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
    /usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
    make[1]: gcc-3.4: Command not found
    make[1]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
      CC [M]  /home/sebby/ieee80211-1.1.6/ieee80211_module.o
    /bin/sh: gcc-3.4: command not found
    make[2]: *** [/home/sebby/ieee80211-1.1.6/ieee80211_module.o] Error 127
    make[1]: *** [_module_/home/sebby/ieee80211-1.1.6] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
    make: *** [modules] Error 2
    When I make install:

    Code:
    Checking in /lib/modules/2.6.12-9-386/build/ for ieee80211 components...
    
    make -C /lib/modules/2.6.12-9-386/build M=/home/sebby/ieee80211-1.1.6 MODVERDIR=/home/sebby/ieee80211-1.1.6 modules
    /usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
    /usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
    make[1]: gcc-3.4: Command not found
    make[1]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
      CC [M]  /home/sebby/ieee80211-1.1.6/ieee80211_module.o
    /bin/sh: gcc-3.4: command not found
    make[2]: *** [/home/sebby/ieee80211-1.1.6/ieee80211_module.o] Error 127
    make[1]: *** [_module_/home/sebby/ieee80211-1.1.6] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
    make: *** [modules] Error 2
    sebby@ubuntu:~/ieee80211-1.1.6$ make install
    make -C /lib/modules/2.6.12-9-386/build M=/home/sebby/ieee80211-1.1.6 MODVERDIR=/home/sebby/ieee80211-1.1.6 modules
    /usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
    /usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
    make[1]: gcc-3.4: Command not found
    make[1]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
      CC [M]  /home/sebby/ieee80211-1.1.6/ieee80211_module.o
    /bin/sh: gcc-3.4: command not found
    make[2]: *** [/home/sebby/ieee80211-1.1.6/ieee80211_module.o] Error 127
    make[1]: *** [_module_/home/sebby/ieee80211-1.1.6] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
    make: *** [modules] Error 2
    As I say, I've followed everything, including install gcc, etc.

    Any help would be grately appreciated.

Page 47 of 66 FirstFirst ... 37454647484957 ... LastLast

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
  •