Menu

Problem enabling WEP with ndiswrapper v0.11

Help
touc
2004-10-14
2012-10-06
  • touc

    touc - 2004-10-14

    Hi,

    I've successfully enabled my Linksys WMP54G (rev 3 - Broadcom BCM4306 chip) to my Draytek 2600G access point - atm everything seems fine. However, I'm having problems trying to enable WEP.

    I enable WEP on the AP and then try to enable it in ifcfg-wlan0 (or indirectly using the GUI). After I make the change I restart the network with; /etc/init.d/network stop and /etc/init.d/network start - but it cannot connect to the AP. Using a seperate laptop I can connect to the AP using the WEP key, so both the key and signal are good. I'm inputting the key in hex. If I choose a very simple (64 bit) key such as FFFFFFFF on both the AP and in ifcfg-wlan0 it works but choosing any other key it fails. I've tried enclosing the key in quotes and this does not seem to make any difference.

    My ifcfg-wlan0 looks like:

    DEVICE=wlan0
    BOOTPROTO=static
    IPADDR=192.168.1.8
    NETMASK=255.255.255.0
    NETWORK=192.168.1.0
    BROADCAST=192.168.1.255
    ONBOOT=yes
    METRIC=10
    MII_NOT_SUPPORTED=yes
    WIRELESS_MODE=Managed
    WIRELESS_ESSID=SOUTHPARK_WIFI
    WIRELESS_ENC_KEY=FFFFFFFFFF

    [root@STAN network-scripts]# iwconfig --version
    iwconfig Wireless-Tools version 27
    Compatible with Wireless Extension v11 to v16.

    Kernel Currently compiled with Wireless Extension v16.

    wlan0 Recommend Wireless Extension v0 or later,
    Currently compiled with Wireless Extension v16.

    Using dmesg I see quite a lot of:

    ndiswrapper (iw_set_encr:712): adding encryption key 1 failed (C0010015)
    Disabled Privacy Extensions on device c0323b60(lo)

    I'm using Mandrake 10.1 Community

    Any ideas ?

     
    • gibus_92

      gibus_92 - 2004-10-15

      I already wrote the post " iwconfig rejects 4th WEP key with v0.11". Activating wlan0 makes a shell generates wireless-tools commands to set up WEP key.
      Try to use this one by hand :
      iwconfig wlan0 key FFFFFFFFFF

      and you will see that this command is rejected.
      I guess we've got a random bug that may reject this command in some cases. For me, the 4th 128 bits WEP key was rejected, for you, the first 64 bits one ?

      Back with v0.10 for me ...

       

Log in to post a comment.