天嵌 ARM开发社区

 找回密码
 注册
查看: 1333|回复: 0

关于wifi模块 TQ2440 wpw_supplicnt配置问题请教

[复制链接]
铁牛 发表于 2014-3-11 15:44:21 | 显示全部楼层 |阅读模式
我想请教一下我的wpa_supplicant 的设置问题
我用的是TQ2440最新文件系统 rt5370wifi模块 以下是我执行的一些操作
[root@EmbedSky /]# ifconfig wlan0 down
[root@EmbedSky /]# ifconfig wlan0 up
MacValue1=2
MacValue2=0
0x1300 = 00064300
[root@EmbedSky /]# iwlist wlan0 scanning         
Cell 04 - Address: 22:00:4E:1F:D5:1A                                 
                    Protocol:802.11b/g/n                                       
                    ESSID:"brave"                                               
                    Mode:Managed                                                
                    Frequency:2.462 GHz (Channel 11)                           
                    Quality=31/100  Signal level=-77 dBm  Noise level=-72 dBm   
                    Encryption key:on                                          
                    Bit Rates:54 Mb/s                                          
                    IE: IEEE 802.11i/WPA2 Version 1                             
                        Group Cipher : CCMP                                    
                        Pairwise Ciphers (1) : CCMP                             
                        Authentication Suites (1) : PSK
然后我的配置文件设置如下:fast_reauth=1
ctrl_interface=wlan0
update_config=1
ap_scan=1

network={
        ssid="brave"
        scan_ssid=1
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=TKIP
        group=TKIP
        psk="12341234"
}

执行wpa_supplicant  -Dwext -iwlan0 -c/etc/wpa_supplicant.conf  -dd& 命令后串口一直没完没了打印以下信息:
MacValue1=e
MacValue2=c
Scan SSID - hexdump_ascii(len=5):
     62 72 61 76 65                                    brave           
wlan0: Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
wlan0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
wlan0: BSS: Start scan result update 37
wlan0: New scan results available
wlan0: Selecting BSS from priority group 0
wlan0: No suitable network found
wlan0: Setting scan request: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
wlan0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
wlan0: BSS: Start scan result update 38
wlan0: New scan results available
wlan0: Selecting BSS from priority group 0
wlan0: No suitable network found
wlan0: Not rescheduling scan to ensure that specific SSID scans occur

请教大神们我具体该怎么设置我的wpa_supplicant.conf?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-28 07:27 , Processed in 1.021524 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表