一直无法连接wep shared key的加密方式, 我测试时用的是DLINK DI-624A
iwconfig eth1 essid any
iwconfig eth1 key 1234567890 restricted
iwconfig eth1 essid xxx
第二步执行后,要确保iwconfig eth1的输出信息中的Security mode 为 restricted
eth1 AR6000 802.11g Mode:Managed Bit Rate:12 Mb/s Tx-Power=14 dBm
Sensitivity=0/3
Retry:on
Encryption key:1234-5678-90 :restricted
Link Quality:160/94 Signal level:-191 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:0 Missed beacon:4
试验过用wpa_supplicant来连接wep shared key 但是失败了。但在ubuntu下是没有问题的,为什么呢,我写的wpa_supplicant.conf如下,错在那里?:
1 ctrl_interface=/var/run/wpa_supplicant
2
3 network={
4 ssid="dlink_624"
5 key_mgmt=NONE
6 wep_key0="1234567890"
7 wep_tx_keyidx=0
8 priority=5
9 auth_alg=SHARED
10 }
阅读(2225) | 评论(0) | 转发(0) |