您尚未登录。

楼主 # 2023-05-06 16:46:01

Manastorm
会员
注册时间: 2022-06-21
已发帖子: 6
积分: 6

使用v3s和RTL8723BS,wifi连接时失败

这里会报错不知道是什么原因ioctl[SIOCSIWAP]: Operation not permitted

# insmod r8723bs.ko
[   34.556894] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[   34.585537] RTL8723BS: module init start
[   34.589622] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[   34.596665] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[   34.604569] pnetdev = (ptrval)
[   34.669939] RTL8723BS: rtw_ndev_init(wlan0)
[   34.675706] RTL8723BS: module init ret =0
# ifconfig wlan0 up
[   39.447109] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
[   39.587274] random: crng init done
# wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0
Successfully initialized wpa_supplicant
[   48.786074] RTL8723BS: set bssid:00:00:00:00:00:00
ioctl[SIOCSIWAP]: Operation not permitted
# [   59.350527] RTL8723BS: set bssid:f4:2a:7d:cd:f2:f7
[   59.355480] RTL8723BS: set ssid [216-3] fw_state = 0x00000088
[   59.386570] RTL8723BS: start auth
[   59.391807] RTL8723BS: auth success, start assoc
[   59.400822] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[   59.407913] RTL8723BS: assoc success
[   59.411722] ------------[ cut here ]------------
[   59.416367] WARNING: CPU: 0 PID: 7 at net/wireless/sme.c:756 cfg80211_process_wdev_events+0xf4/0x150
[   59.425525] Modules linked in: r8723bs(C)
[   59.429564] CPU: 0 PID: 7 Comm: kworker/u2:0 Tainted: G        WC        5.2.0-licheepi-zero #16
[   59.438334] Hardware name: Allwinner sun8i Family
[   59.443044] Workqueue: cfg80211 cfg80211_event_work
[   59.447939] [<c010ed14>] (unwind_backtrace) from [<c010b72c>] (show_stack+0x10/0x14)
[   59.455681] [<c010b72c>] (show_stack) from [<c071aaf0>] (dump_stack+0x84/0x98)
[   59.462901] [<c071aaf0>] (dump_stack) from [<c011db98>] (__warn+0xfc/0x114)
[   59.469857] [<c011db98>] (__warn) from [<c011dcc4>] (warn_slowpath_null+0x40/0x48)
[   59.477420] [<c011dcc4>] (warn_slowpath_null) from [<c06a09ec>] (cfg80211_process_wdev_events+0xf4/0x150)
[   59.486977] [<c06a09ec>] (cfg80211_process_wdev_events) from [<c06a0a80>] (cfg80211_process_rdev_events+0x38/0x90)
[   59.497312] [<c06a0a80>] (cfg80211_process_rdev_events) from [<c069b078>] (cfg80211_event_work+0x14/0x1c)
[   59.506871] [<c069b078>] (cfg80211_event_work) from [<c01359ac>] (process_one_work+0x204/0x420)
[   59.515560] [<c01359ac>] (process_one_work) from [<c0136e90>] (worker_thread+0x30/0x5a0)
[   59.523646] [<c0136e90>] (worker_thread) from [<c013ba3c>] (kthread+0x11c/0x14c)
[   59.531037] [<c013ba3c>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   59.538247] Exception stack(0xc3849fb0 to 0xc3849ff8)
[   59.543286] 9fa0:                                     00000000 00000000 00000000 00000000
[   59.551454] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   59.559619] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   59.566292] ---[ end trace 223667a0c2384595 ]---
[   69.365377] RTL8723BS: set bssid:00:00:00:00:00:00
[   79.920481] RTL8723BS: set bssid:f4:2a:7d:cd:f2:f7
[   79.925436] RTL8723BS: set ssid [216-3] fw_state = 0x00000088
[   79.970557] RTL8723BS: start auth
[   79.975710] RTL8723BS: auth success, start assoc
[   79.983842] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[   79.990997] RTL8723BS: assoc success
[   79.994724] ------------[ cut here ]------------
[   79.999425] WARNING: CPU: 0 PID: 7 at net/wireless/sme.c:756 cfg80211_process_wdev_events+0xf4/0x150
[   80.008557] Modules linked in: r8723bs(C)
[   80.012575] CPU: 0 PID: 7 Comm: kworker/u2:0 Tainted: G        WC        5.2.0-licheepi-zero #16
[   80.021345] Hardware name: Allwinner sun8i Family
[   80.026056] Workqueue: cfg80211 cfg80211_event_work
[   80.030951] [<c010ed14>] (unwind_backtrace) from [<c010b72c>] (show_stack+0x10/0x14)
[   80.038693] [<c010b72c>] (show_stack) from [<c071aaf0>] (dump_stack+0x84/0x98)
[   80.045915] [<c071aaf0>] (dump_stack) from [<c011db98>] (__warn+0xfc/0x114)
[   80.052871] [<c011db98>] (__warn) from [<c011dcc4>] (warn_slowpath_null+0x40/0x48)
[   80.060433] [<c011dcc4>] (warn_slowpath_null) from [<c06a09ec>] (cfg80211_process_wdev_events+0xf4/0x150)
[   80.069990] [<c06a09ec>] (cfg80211_process_wdev_events) from [<c06a0a80>] (cfg80211_process_rdev_events+0x38/0x90)
[   80.080325] [<c06a0a80>] (cfg80211_process_rdev_events) from [<c069b078>] (cfg80211_event_work+0x14/0x1c)
[   80.089884] [<c069b078>] (cfg80211_event_work) from [<c01359ac>] (process_one_work+0x204/0x420)
[   80.098574] [<c01359ac>] (process_one_work) from [<c0136e90>] (worker_thread+0x30/0x5a0)
[   80.106659] [<c0136e90>] (worker_thread) from [<c013ba3c>] (kthread+0x11c/0x14c)
[   80.114050] [<c013ba3c>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   80.121260] Exception stack(0xc3849fb0 to 0xc3849ff8)
[   80.126307] 9fa0:                                     00000000 00000000 00000000 00000000
[   80.134475] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   80.142642] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   80.149313] ---[ end trace 223667a0c2384596 ]---
[   89.935349] RTL8723BS: set bssid:00:00:00:00:00:00
[  100.490558] RTL8723BS: set bssid:f4:2a:7d:cd:f2:f7
[  100.495518] RTL8723BS: set ssid [216-3] fw_state = 0x00000088
[  100.555711] RTL8723BS: start auth
[  100.561912] RTL8723BS: auth success, start assoc
[  100.569597] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[  100.576689] RTL8723BS: assoc success
[  100.580486] ------------[ cut here ]------------




后续网络状态也显示未连接wifi

# wpa_cli -iwlan0 status
wpa_state=SCANNING
address=60:fb:00:4f:93:d0
uuid=8ab4c287-4f8f-5bc9-9c9e-44009ba15c44

离线

楼主 #1 2023-05-08 16:02:19

Manastorm
会员
注册时间: 2022-06-21
已发帖子: 6
积分: 6

Re: 使用v3s和RTL8723BS,wifi连接时失败

问题解决了,buildroot里面wpa有个选项忘记开了

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn