大家好 我最近在用atmel sama5d2 的样板在做WiF移植时,直接把.ko移植过来 然后利用wpa_supplicant工具连接WiFi。虽然WiFi连接上了 也可以用 但是提示有错误信息,如图片。哪位大神知道 知道下 谢谢。
连接命令:
insmod /lib/modules/4.9.52-linux4sam_5.7/kernel/drivers/staging/wilc1000/wilc1000.ko
insmod /lib/modules/4.9.52-linux4sam_5.7/kernel/drivers/staging/wilc1000/wilc1000-sdio.ko
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
wpa_cli -p/var/run/wpa_supplicant ap_scan 1
wpa_cli -p/var/run/wpa_supplicant add_network
wpa_cli -p/var/run/wpa_supplicant set_network 0 ssid '"HET_DATA"'
wpa_cli -p/var/run/wpa_supplicant set_network 0 key_mgmt WPA-PSK
wpa_cli -p/var/run/wpa_supplicant set_network 0 psk '"hanenergy1212data"'
wpa_cli -p/var/run/wpa_supplicant select_network 0
ifup wlan0
wpa_supplicant.conf内容如下:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
|