But it doesn't work. I played around with a couple of things (removed the "restricted" from wireless-key there, changed opensystem to sharedkey in the ifup script), but no dice. The card just won't associate, and dmesg shows:
[ 857.786485] ident: nic h/w: id=0x8026 1.0.0
[ 857.788489] ident: pri f/w: id=0x15 1.1.3
[ 857.790483] ident: sta f/w: id=0x1f 1.7.1
[ 857.792475] MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
[ 857.794479] CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
[ 857.796475] PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
[ 857.798652] STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
[ 857.800485] PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
[ 857.802482] STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
[ 857.804475] STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
[ 857.806474] Prism2 card SN: 000000000000
[ 858.028217] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 858.385504] linkstatus=ASSOCFAIL (unhandled)
Do you have it working on a real network with WEP?
Tormod,
I'm afraid this patch doesn't work for me. Without your patch, I have a working setup with the following in my interfaces file:
iface wlan0 inet static 4f:00:00: f8:7e:dd: 00:4c:18: ce
address 192.168.1.223
netmask 255.255.255.0
gateway 192.168.1.254
wireless-essid ann-sco
wireless-enc on
wlan-ng-key0 34:4b:0f:
wireless-mode managed
wlan-ng-authtype sharedkey
wlan-ng-hostwep true
After deleting this, patching the ifup script, and setting up the interface through GNOME, it looks like:
iface wlan0 inet static edd004c18ce
address 192.168.1.223
netmask 255.255.255.0
gateway 192.168.1.254
wireless-essid ann-sco
wireless-key restricted 344b0f4f0000f87
But it doesn't work. I played around with a couple of things (removed the "restricted" from wireless-key there, changed opensystem to sharedkey in the ifup script), but no dice. The card just won't associate, and dmesg shows:
[ 857.786485] ident: nic h/w: id=0x8026 1.0.0 role=0x00: id=0x01: var=0x01: b/t=1/1 role=0x00: id=0x02: var=0x02: b/t=1/1 role=0x00: id=0x03: var=0x01: b/t=1/4 role=0x00: id=0x04: var=0x01: b/t=1/12 ACT:role= 0x01:id= 0x02:var= 0x02:b/ t=1/1 ACT:role= 0x01:id= 0x02:var= 0x02:b/ t=1/1 ACT:role= 0x01:id= 0x01:var= 0x01:b/ t=1/1 NETDEV_ UP): wlan0: link is not ready ASSOCFAIL (unhandled)
[ 857.788489] ident: pri f/w: id=0x15 1.1.3
[ 857.790483] ident: sta f/w: id=0x1f 1.7.1
[ 857.792475] MFI:SUP:
[ 857.794479] CFI:SUP:
[ 857.796475] PRI:SUP:
[ 857.798652] STA:SUP:
[ 857.800485] PRI-CFI:
[ 857.802482] STA-CFI:
[ 857.804475] STA-MFI:
[ 857.806474] Prism2 card SN: 000000000000
[ 858.028217] ADDRCONF(
[ 858.385504] linkstatus=
Do you have it working on a real network with WEP?