Trouble with Cisco Airo MPI350 and kernel-2.6.1+
IBM Thinkpad T41
Cisco Airo MPI350 802.11b Wireless
PCIID: 0x14b9 0xa504
Kernel: Fedora rawhide 2.6.1-1.57 (Based on 2.6.2-rc1)
http://bellet.info/~bellet/laptop/t40.html#wireless
http://bellet.info/~bellet/laptop/airo.c-2.6.1-mm2.diff
airo.ko does not support this Airo device, but with the addition of this patch it recognizes the device.
airo: MAC enabled eth1 0:2:8a:df:50:fc
airo: Finished probing for PCI adapters
[root@ibmlaptop root]# iwconfig
eth0 IEEE 802.11-DS ESSID:"tsunami"
Mode:Managed Frequency:2.442GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:176/0 Signal level:-105 dBm Noise level:-100 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:416 Missed beacon:0
<SNIP>
[root@ibmlaptop root]# iwconfig eth0 key 8208435e17
airo: Max tries exceeded waiting for commandPC4500_writerid: Write rid Error 65535PC4500_writerid: Cmd=0121
airo: WEP_PERM set ffff
[root@ibmlaptop root]# iwconfig
<SNIP>
eth0 IEEE 802.11-DS ESSID:"tsunami"
Mode:Managed Frequency:2.442GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-** Security mode:open
Power Management:off
Link Quality:176/0 Signal level:-105 dBm Noise level:-100 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:488 Missed beacon:0
I am guessing that the *'s rather than hex characters displayed are because it is unable to read the key from the card. The card itself appears to be completely inoperative. It was suggested to me to try both "open" and "restricted" mode, both seem to not help the situation.
Any suggestions?
Warren Togami
[email protected]
Quoted 9 lines · Fabrice Bellet
Hi Warren,
Quoted 5 lines · Warren Togami
IBM Thinkpad T41
Cisco Airo MPI350 802.11b Wireless
PCIID:0x14b90xa504
Kernel: Fedora rawhide 2.6.1-1.57 (Based on 2.6.2-rc1)
Quoted 6 lines
Quoted 3 lines
http://bellet.info/~bellet/laptop/t40.html#wireless
http://bellet.info/~bellet/laptop/airo.c-2.6.1-mm2.diff
airo.ko does not support this Airo device, but with the addition of this patch it recognizes the device.What is the firmware version (in
/proc/driver/aironet/eth0/Status) ?
5.20.17
Quoted 2 lines
Currently, only versions 5[b].00.xx are supported by this patch. More recent
firmwares changed the card's behaviour in a way that prevents it to associate to the access point. But, I'm a bit surprised by this kind of error, because, even with an unsupported firmware, I can set the WEP key without error with iwconfig.
I tested the following firmware versions and all failed identically to set the WEP key in Linux.
5.30.17
5.20.17
5.02.20
Quoted 5 lines
You may want to downgrade the firmware, if needed, with the ACU tool under Windows _only_. You also can try to set the WEP key with ACU too. A linux version of this tool is available for linux, from :
http://www.cisco.com/pcgi-bin/tablebuild.pl/aironet-utils-linux
This version works with the linux cisco driver, and also with airo.
Used the ACU tool under Windows XP for flashing the firmware. The newest firmware version that operates with your driver is:
5.00.03
Perhaps mention within a comment and/or config Help of your patch that the newest supported firmware is 5.00.03? That would save people like me a lot of time in the future...
Quoted 4 lines
Maybe this error occurs because no wep key has ever been stored in the card's non-volatile memory. The cisco card has two locations to store the wep keys : a volatile, and a non-volatile memory. The linux driver sets the key in both places in
writeWepKeyRid(), when perm=1. You seem to have a problem to store the key in the non-volatile
location (WEP_PERM). The ACU program gives the possibility to choose this location.
Tested this theory. It seems that airo is unable to set the WEP key after ACU has done so.
So your airo driver is working with the 5.00.03 firmware, but there is this one remaining issue. [email protected] mentioned it is failing to "rename" something but I cannot remember the details.
During bootup it fails to recognize the airo device exists. iwconfig shows some weird "devXXXXX" device that is not associated with an ethX name. rmmod airo gets rid of it, and afterward ifup works. The "Set Mode" error is harmless. It subsequently works. Any ideas?
Bringing up interface eth1: airo device eth1 does not seem to be present, delaying initialization
[root@ibmlaptop root]# iwconfig eth1
Warning: Driver for device dev13905 has been compiled with version 16 of Wireless Extension, while this program is using version 15. Some things may be broken...
dev13905 IEEE 802.11-DS ESSID:"tsunami"
Mode:Managed Frequency:2.442GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:176/0 Signal level:-105 dBm Noise level:-105 dBm Rx invalid nwid:154 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:171 Missed beacon:0
[root@ibmlaptop root]# rmmod airo
airo: Unregistering dev13905
divert: freeing divert_blk for dev13905
[root@ibmlaptop root]# ifup eth1
Error for wireless request "Set Mode" (8B06) :
SET failed on device eth1 ; Invalid argument.
[root@ibmlaptop root]# iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 16 of Wireless Extension, while this program is using version 15. Some things may be broken...
eth1 IEEE 802.11-DS ESSID:"apophis" Nickname:"blah"
Mode:Managed Frequency:2.412GHz Access Point: 00:0C:41:75:D4:02
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-** Security mode:open
Power Management:off
Link Quality:49/0 Signal level:-84 dBm Noise level:-98 dBm Rx invalid nwid:5 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:253 Missed beacon:0
Warren Togami
[email protected]
Quoted 17 lines · Warren Togami
Quoted 15 lines · Fabrice Bellet
Hi Warren,
Quoted 8 lines · Warren Togami
IBM Thinkpad T41
Cisco Airo MPI350 802.11b Wireless
PCIID:0x14b90xa504
Kernel: Fedora rawhide 2.6.1-1.57 (Based on 2.6.2-rc1)http://bellet.info/~bellet/laptop/t40.html#wireless
http://bellet.info/~bellet/laptop/airo.c-2.6.1-mm2.diff
airo.ko does not support this Airo device, but with the addition of this patch it recognizes the device.
Quoted 6 lines
[SNIP]
Used the ACU tool under Windows XP for flashing the firmware. The newest firmware version that operates with your driver is:
5.00.03Perhaps mention within a comment and/or config Help of your patch that the newest supported firmware is 5.00.03? That would save people like me a lot of time in the future...
Are these many errors normal?
[root@ibmlaptop etc]# iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 16 of Wireless Extension, while this program is using version 15. Some things may be broken...
eth1 IEEE 802.11-DS ESSID:"apophis" Nickname:"ibmlaptop"
Mode:Managed Frequency:2.412GHz Access Point: 00:0C:41:75:D4:02
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-** Security mode:open
Power Management:off
Link Quality:30/0 Signal level:-70 dBm Noise level:-98 dBm Rx invalid nwid:59 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:4900 Missed beacon:3
[root@ibmlaptop etc]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:02:8A:DF:50:FC
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::202:8aff:fedf:50fc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:905 errors:655 dropped:0 overruns:0 frame:655
TX packets:699 errors:33 dropped:0 overruns:0 carrier:0
collisions:30 txqueuelen:1000
RX bytes:439321 (429.0 Kb) TX bytes:118979 (116.1 Kb)
Interrupt:11 Base address:0x8000Quoted 7 lines · Warren Togami
Are these many errors normal?
[root@ibmlaptop etc]# iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 16 of Wireless Extension, while this program is using version 15. Some things may be broken...
Quoted 9 lines
eth1 IEEE 802.11-DS ESSID:"apophis" Nickname:"ibmlaptop"
Mode:Managed Frequency:2.412GHz Access Point: 00:0C:41:75:D4:02
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-** Security mode:open
Power Management:off
Link Quality:30/0 Signal level:-70 dBm Noise level:-98 dBm Rx invalid nwid:59 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:4900 Missed beacon:3
It seems like if you have bunch of rx invalid nwids... it could be due to interference from another wireless network in the area?
Regards,
.lzs
Quoted 21 lines · Lai Zit Seng
Quoted 7 lines · Warren Togami
Are these many errors normal?
[root@ibmlaptop etc]# iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 16 of Wireless Extension, while this program is using version 15. Some things may be broken...Quoted 9 lines
eth1 IEEE 802.11-DS ESSID:"apophis" Nickname:"ibmlaptop"
Mode:Managed Frequency:2.412GHz Access Point: 00:0C:41:75:D4:02
Bit Rate:11Mb/s Tx-Power=20 dBm Sensitivity=0/0
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-** Security mode:open
Power Management:off
Link Quality:30/0 Signal level:-70 dBm Noise level:-98 dBm Rx invalid nwid:59 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:4900 Missed beacon:3
Quoted 5 lines
It seems like if you have bunch of rx invalid nwids... it could be due to interference from another wireless network in the area?
Regards,
.lzs
Unlikely, it is extremely clean when I use my orinoco_cs card.
Warren
Hi,
Quoted 26 lines · Warren Togami
Quoted 14 lines
Quoted 7 lines · Warren Togami
Quoted 6 lines
IBM Thinkpad T41
Cisco Airo MPI350 802.11b Wireless
PCIID:0x14b90xa504
Kernel: Fedora rawhide 2.6.1-1.57 (Based on 2.6.2-rc1)Quoted 7 lines
Quoted 4 lines
http://bellet.info/~bellet/laptop/t40.html#wireless
http://bellet.info/~bellet/laptop/airo.c-2.6.1-mm2.diff
airo.ko does not support this Airo device, but with the addition of this patch it recognizes the device.Quoted 9 lines
[SNIP]
Used the ACU tool under Windows XP for flashing the firmware. The newest firmware version that operates with your driver is:
5.00.03Perhaps mention within a comment and/or config Help of your patch that the newest supported firmware is 5.00.03? That would save people like me a lot of time in the future...
Are these many errors normal?
[snip]
Quoted 11 lines
[root@ibmlaptop etc]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:02:8A:DF:50:FCinet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::202:8aff:fedf:50fc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:905 errors:655 dropped:0 overruns:0 frame:655 TX packets:699 errors:33 dropped:0 overruns:0 carrier:0 collisions:30 txqueuelen:1000 RX bytes:439321 (429.0 Kb) TX bytes:118979 (116.1 Kb) Interrupt:11 Base address:0x8000
The "rx errors" value is generated by summing 4 error counters from the card internal stats structure in airo_read_stats() :
RxOverrun, RxPlcpFormatErr, RxPlcpLengthErr and RxMacCrcErr.
Altough my connection is up and running, I also observe a high rate of RxMacCrcErr errors :
% grep MacCrc /proc/driver/aironet/eth1/Stats
RxMacCrcErr: 7688
RxMacCrcOk: 11399
I think that these errors are probably just related to the quality of the radio link, and do not reflect something bad, that would occur in the driver itself.
Best wishes,
Signature · 1 line
fabrice