最近在板子上搞usb无线网卡
系统内核是2.6.35
移植了支持RA3070的驱动,编译,加载驱动等等系列工作后
我执行命令,进行连接,整个过程如下:
# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 14:E6:E4:32:01:AC
Protocol:802.11b/g/n
ESSID:"s5_test"
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality=100/100 Signal level=-27 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:54 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD0E0050F204104A0001101044000102
# ifconfig wlan0 down
# iwconfig wlan0 mode Managed
# iwconfig wlan0 essid "s5_test"
# iwconfig wlan0 channel 6
==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=6)
# iwconfig wlan0 key s:12345678
# ifconfig wlan0 192.168.1.123
# ifconfig wlan0 up
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wlan0 Ralink STA ESSID:"" Nickname:"RT2870STA"
Mode:Auto Frequency=2.437 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig
wlan0 Link encap:Ethernet HWaddr 00:22:C0:00:04:17
inet addr:192.168.1.123 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:142627 (139.2 KiB) TX bytes:4200 (4.1 KiB)
没有连接上无线路由器,感觉好像就是连接通道的那一步出问题了
网上找了半天,没找到相关的说明
请做过这方面工作的童鞋指点一下,非常感谢。
------解决方案--------------------
Access Point: Not-Associated
没连接到AP
------解决方案--------------------
wireless tools不支持wpa貌似,建议楼主用wpa_supplicant工具试试。。