Bug#360360: [Linux-wlan-ng-devel] Bug#360360: fails to bring up my wlan interface

Bastian Venthur expires-2007 at venthur.de
Sat Apr 1 16:32:28 UTC 2006


Enrico Tassi wrote:
>> Please let me know if I can provide you with more detailed information.
> 
> I've no big ideas... except 
> 1) check that you used lwng keywords

Not sure what the right lwng keywords are (or where to find them, but
here the relevant excerpt from my interfaces:

---------
auto wlan0
iface wlan0 inet static
        address 192.168.2.1
        netmask 255.255.255.0
        network 192.168.2.0
        broadcast 192.168.2.255
        wireless_mode Ad-Hoc
        wireless_essid foobar
        wireless_channel 13
        wireless_key1 xxx
        wireless_key2 xxx
        wireless_key3 xxx
        wireless_key4 xxx

        wireless_defaultkey 1
        wireless_keymode open
---------

And this is the output of ifup wlan0:

---------
# ifup wlan0
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Operation not supported.
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not supported.
---------

The syslog says:

---------
Apr  1 18:16:13 hades kernel: usb 1-1: new full speed USB device using
uhci_hcd and address 9
Apr  1 18:16:14 hades kernel: prism2usb_init: prism2_usb.o: 0.2.4 Loaded
Apr  1 18:16:14 hades kernel: prism2usb_init: dev_info is: prism2_usb
Apr  1 18:16:14 hades kernel: usbcore: registered new driver prism2_usb
Apr  1 18:16:23 hades kernel: ident: nic h/w: id=0x8026 1.0.0
Apr  1 18:16:23 hades kernel: ident: pri f/w: id=0x15 1.1.4
Apr  1 18:16:23 hades kernel: ident: sta f/w: id=0x1f 1.7.0
Apr  1 18:16:23 hades kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
Apr  1 18:16:23 hades kernel: CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
Apr  1 18:16:23 hades kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
Apr  1 18:16:23 hades kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
Apr  1 18:16:23 hades kernel: PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Apr  1 18:16:23 hades kernel: STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Apr  1 18:16:24 hades kernel: STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Apr  1 18:16:24 hades kernel: Prism2 card SN:
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
---------

> 2) you may try to temporarily vome away the
>      network/if-(pre|post)/wireless-tools files
>    (to throw away some variables) and do a tail -f /ver/log/messages 
>    before plugging the device

This is interisting! I've unloaded the module, and removed the
if-pre-up.d/wireless-tools.

Now when inserting the stick and doing an ifup wlan0 I get *no* errors
anymore. The Interface is visible via iw- and ifconfig. *But* still not
configured. Looks like only the ESSID was set -- the rest is not (eg.
Encryption is off, no Key set, ...).

So the question is: How to set up the the stick in interfaces?


Kind regards,

Bastian






More information about the Linux-wlan-ng-devel mailing list