执行wifi -s 扫描异常
1.提示wifi deamon server服务问题
root@TinaLinux:/# wifi -s
Cannot connect to the wifi deamon server: No such file or directory
解决办法:
手动输入:
wifi_daemon
2 .wifi 获取状态报错
root@TinaLinux:/# wifi -s
root@TinaLinux:/# 1970-01-01 00:05:14:000: WMG_DEBUG [wifi_daemon.c:cmd_handle_thread:702]: get cmd: s
1970-01-01 00:05:14:000: WMG_DEBUG [wifi_daemon.c:cmd_handle_s:196]: cmd handle s:
1970-01-01 00:05:14:000: WMG_ERROR [src/wifimg.c:__wifi_get_scan_results:448]: wifi manager is not running
1970-01-01 00:05:14:001: WMG_WARNG [wifi_daemon.c:cmd_handle_s:225]: ===Wi-Fi scan failed, time 0.000000 ms===
解决办法:输入
wifi -o sta
3.其他异常问题
重新获取最新的BSP补丁包
git clone https://gitee.com/GloomyGhost/Yuzukilizard
将获取的补丁包拷贝到tina-v853-open目录下
cp Yuzukilizard/Software/BSP/* tina-v853-open/ -rfvd
wifi启动问题
需按顺序执行如下命令:
ifconfig wlan0 up
wifi_daemon
wifi -o sta
wifi -s