目前使用了iwconfig来作设置工作,但是试了好多次都没能成功登入AP。:help
检查后发觉是key使用不对。AP使用的key是第三号,但是我不管如何设置都只使用第一号。。。
请问要如何解决?另外"SIOCADDRT: File exists"这讯息是什么意思,如何解决?
以下是启动时的返回讯息:
[root@localhost scripts]# ./start_net
wlan0: unknown interface: No such device
wlan0 deconfigured, module unloaded.
Module successfully inserted.
Setting rate to 11M.
Setting channel 1.
Trying to join or setup ESSID LSMNET.
Setting mode to Managed.
Setting key to 19570831ad, algorithm restricted.
Interface has been set up successfully.
SIOCADDRT: File exists
[root@localhost scripts]#
以下是iwconfig的返回讯息:
wlan0 IEEE 802.11b+ ESSID:"LSMNET" Nickname:"acx100 v0.2.0pre8"
Mode:Managed Channel:1 Access Point: 00:00:00:00:00:00
Bit Rate=11Mb/s Tx-Power:20 dBm Sensitivity=176/255
Retry min limit:5 RTS thr ff
Encryption key:1957-0831-AD Security mode:restricted
Power Management ff
Link Quality:100/100 Signal level:45/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
以下是使用iwlist返回的讯息:
[root@localhost scripts]# iwlist wlan0 encryption
wlan0 3 key sizes : 40, 104, 232bits
4 keys available :
[1]: 1957-0831-AD (40 bits)
[2]: 1957-0831-AD (40 bits)
[3]: 1957-0831-AD (40 bits)
[4]: 1957-0831-AD (40 bits)
Current Transmit Key: [1] <----目前最关键的就是这个换不到!
Security mode:restricted
[root@localhost scripts]#
###############################################
无线卡资料:Planet WL-3555 PCMCIA IEEE802.11b+
软驱程式: acx100-0.2.0pre8
############################################### |