调试环境:荔枝派zero
linux:zero-linux4.14-y
rootfs:debian9.9 Debian9.9制作
调试r8723BS连接wifi时出现如下错误。执行wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0后出现
[ 90.708558] RTL8723BS: nolinked power save leave
[ 92.916663] RTL8723BS: nolinked power save enter
[ 97.928597] RTL8723BS: nolinked power save leave
[ 100.136882] RTL8723BS: nolinked power save enter
[ 105.148540] RTL8723BS: nolinked power save leave
[ 107.346782] RTL8723BS: nolinked power save enter
Sending discover...
[ 112.348513] RTL8723BS: nolinked power save leave
[ 114.546821] RTL8723BS: nolinked power save enter
Sending discover.
本人操作步骤如下:
1、安装驱动
root@ubuntu:/# cd / ;insmod r8723bs.ko
[ 29.104243] r8723bs: module is from the staging directory, the quality is unk
nown, you have been warned.
[ 29.122015] RTL8723BS: module init start
[ 29.126115] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[ 29.133158] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[ 29.148730] pnetdev = c3bde000
[ 29.346349] RTL8723BS: rtw_ndev_init(wlan0)
[ 29.363866] RTL8723BS: module init ret =0
2、启动wlan0
root@ubuntu:/# ifconfig wlan0 up
[ 28.250324] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
[ 28.476287] random: crng init done
3、连接WIFI
root@ubuntu:/# wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0
Successfully initialized wpa_supplicant
root@ubuntu:/# [ 95.236643] RTL8723BS: nolinked power save enter
[ 100.248490] RTL8723BS: nolinked power save leave
[ 102.446737] RTL8723BS: nolinked power save enter
这里就一直循环出现下面这两条。。。
[ 100.248490] RTL8723BS: nolinked power save leave
[ 102.446737] RTL8723BS: nolinked power save enter
我的配置文件如下:
vi /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="TP-LINK_C166 "
scan_ssid=1
key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
pairwise=TKIP CCMP
group=CCMP TKIP WEP104 WEP40
psk="kormee88"
priority=5
}
离线
估计是密码配置不对, 导致wifi无事可做,睡觉去了: https://whycan.cn/t_1920.html#p12703
离线
也或者是板子有问题: https://whycan.cn/t_2738.html#p22040
离线
估计是密码配置不对, 导致wifi无事可做,睡觉去了: https://whycan.cn/t_1920.html#p12703
谢谢提醒,是用户名后多了空格。。。
最近编辑记录 杨飞武 (2020-03-07 11:16:20)
离线
也或者是板子有问题: https://whycan.cn/t_2738.html#p22040
不会这么衰把。。刚买的 荔枝派zero
离线
好像是犯了低级错误------ 现在可以了
WiFi名字后多了个空格。
root@ubuntu:/# wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0
Successfully initialized wpa_supplicant
root@ubuntu:/# [ 54.751545] RTL8723BS: rtw_set_802_11_connect(wlan0) fw_state
= 0x00000008
[ 54.984523] RTL8723BS: start auth
[ 54.990049] RTL8723BS: auth success, start assoc
[ 55.000233] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[ 55.007440] RTL8723BS: assoc success
[ 55.026198] RTL8723BS: send eapol packet
[ 55.037239] RTL8723BS: send eapol packet
[ 55.041820] RTL8723BS: set pairwise key camid:4, addr:cc:08:fb:76:c1:66, kid:
0, type:AES
[ 55.053800] RTL8723BS: set group key camid:5, addr:cc:08:fb:76:c1:66, kid:1,
type:AES
root@ubuntu:/# udhcpc -i wlan0
udhcpc (v1.22.1) started
Sending discover...
Sending select for 192.168.1.103...
Lease of 192.168.1.103 obtained, lease time 7200
最近编辑记录 杨飞武 (2020-03-07 11:10:00)
离线
围观,好消息噢,这样可以对你的wife为所欲为了, 不对,写错了,是wifi
离线