您尚未登录。

楼主 #1 2017-12-25 11:29:52

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi,求写入门教程!

离线

#2 2017-12-25 11:35:19

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

是用荔枝派的RTL8723BS 模组吗?有空我用主线内核试一试。





离线

楼主 #3 2017-12-25 11:53:22

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

晕哥 说:

是用荔枝派的RTL8723BS 模组吗?有空我用主线内核试一试。

对,我是用:  git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y分支的内核

离线

#4 2017-12-25 14:21:52

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

QQ20171225142745.jpg

QQ20171225142034.png

/mnt/application1 #
/mnt/application1 # insmod /usr/lib/r8723bs.ko
[   16.211908] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[   16.228627] RTL8723BS: module init start
[   16.232570] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[   16.239703] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[   16.252467] pnetdev = c32a8000
[   16.290725] RTL8723BS: rtw_ndev_init(wlan0)
[   16.316665] RTL8723BS: module init ret =0
/mnt/application1 # ifconfig wlan0 up
[   20.521254] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
[   20.720639] random: crng init done
/mnt/application1 #
/mnt/application1 #

我试了一下可以, 一切正常,你应该是缺一个固件。
这些wifi蓝牙芯片都是固件外置的,或许是为了节省成本,也或者是为了更方便更新固件。

参考: TF WIFI 小白编





离线

#5 2017-12-25 15:52:57

daydayup
会员
注册时间: 2017-10-09
已发帖子: 343
积分: 343

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

哈,刚好有空, 我也试了一下 ifconfig wlan0 up 成功,谢谢 @晕哥

离线

楼主 #6 2017-12-25 20:56:16

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

晕哥 说:

https://whycan.cn/files/members/3/QQ20171225142745.jpg

https://whycan.cn/files/members/3/QQ20171225142034.png

/mnt/application1 #
/mnt/application1 # insmod /usr/lib/r8723bs.ko
[   16.211908] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[   16.228627] RTL8723BS: module init start
[   16.232570] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[   16.239703] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[   16.252467] pnetdev = c32a8000
[   16.290725] RTL8723BS: rtw_ndev_init(wlan0)
[   16.316665] RTL8723BS: module init ret =0
/mnt/application1 # ifconfig wlan0 up
[   20.521254] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
[   20.720639] random: crng init done
/mnt/application1 #
/mnt/application1 #

我试了一下可以, 一切正常,你应该是缺一个固件。
这些wifi蓝牙芯片都是固件外置的,或许是为了节省成本,也或者是为了更方便更新固件。

参考: TF WIFI 小白编



晕哥,rtlwifi/rtl8723bs_nic.bin在那里有,我在百度搜下到,能提供给我吗,然后这个固件要放到什么位置?是放到rtlwifi/下面吗

离线

#7 2017-12-25 22:14:03

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

明天一早回复





离线

#8 2017-12-26 08:19:40

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

拷贝 rtl8723bs_nic.bin 到根文件系统的 /lib/firmware/rtlwifi/ 目录下.





离线

#9 2017-12-27 16:47:08

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

buildroot
-> make menuconfig
    -> Target packages -> Networking applications
选中
wireless tools
wpa_supplicant

QQ20171227164732.png





离线

#10 2017-12-28 17:22:15

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

建立 /etc/wpa_supplicant.conf 文件:

ctrl_interface=/var/run/wpa_supplicant 
ctrl_interface_group=0 
ap_scan=1 
network={
    ssid="debugdump"       
    scan_ssid=1
    key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
    pairwise=TKIP CCMP
    group=CCMP TKIP WEP104 WEP40
    psk="13800138000" 
    priority=5             
}

依次执行下面的shell命令:

#安装驱动
#激活WIFI网卡
#加密连接无线WIFI热点
#DHCP获取IP
insmod /usr/lib/r8723bs.ko
ifconfig wlan0 up
wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
udhcpc -i wlan0





离线

楼主 #11 2017-12-29 18:54:19

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

晕哥 说:

buildroot
-> make menuconfig
    -> Target packages -> Networking applications
选中
wireless tools
wpa_supplicant

https://whycan.cn/files/members/3/QQ20171227164732.png

晕哥,配置上wpa_supplicant就出错
sae.c:(.text+0x1b58): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x1bdc): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0x1bec): undefined reference to `crypto_ec_point_from_bin'
sae.c:(.text+0x1c08): undefined reference to `crypto_ec_point_is_on_curve'
sae.c:(.text+0x1c2c): undefined reference to `crypto_bignum_cmp'
collect2: error: ld returned 1 exit status
make[1]: *** [wpa_supplicant] Error 1
make[1]: Leaving directory `/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant'

离线

#12 2018-01-13 13:40:16

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

zhuacai 说:
晕哥 说:

buildroot
-> make menuconfig
    -> Target packages -> Networking applications
选中
wireless tools
wpa_supplicant

https://whycan.cn/files/members/3/QQ20171227164732.png

晕哥,配置上wpa_supplicant就出错
sae.c:(.text+0x1b58): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x1bdc): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0x1bec): undefined reference to `crypto_ec_point_from_bin'
sae.c:(.text+0x1c08): undefined reference to `crypto_ec_point_is_on_curve'
sae.c:(.text+0x1c2c): undefined reference to `crypto_bignum_cmp'
collect2: error: ld returned 1 exit status
make[1]: *** [wpa_supplicant] Error 1
make[1]: Leaving directory `/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant'

openssl, libnl 也要编译进来。





离线

#13 2018-12-13 14:57:42

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

#insmod r8723bs.ko
[    2.343619] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[    2.355911] RTL8723BS: module init start
[    2.355948] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[    2.355958] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[    2.356111] RTL8723BS: module init ret =0


# wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf -B
wlan0: Unsupported driver 'nl80211'
# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface


啊,我的怎么会出现这种问题,没有生成 wlan0

离线

#14 2019-03-08 18:40:51

psst
会员
注册时间: 2019-01-22
已发帖子: 91
积分: 36.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

我的也没有wlan0

# insmod /home/r8723bs.ko
[  650.283158] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[  650.299916] RTL8723BS: module init start
[  650.303859] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[  650.310996] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[  650.317654] RTL8723BS: module init ret =0



# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:02:2A:F8:2B:EC
          inet addr:192.168.1.111  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:612 errors:0 dropped:0 overruns:0 frame:0
          TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:710841 (694.1 KiB)  TX bytes:30458 (29.7 KiB)
          Interrupt:38

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:638 errors:0 dropped:0 overruns:0 frame:0
          TX packets:638 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:47320 (46.2 KiB)  TX bytes:47320 (46.2 KiB)

usb0      Link encap:Ethernet  HWaddr 42:43:E9:07:73:5A
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

# lsmod
Module                  Size  Used by    Tainted: G
r8723bs               524288  0

驱动已经加载了,是系统编译的驱动,有没有适合新手的教程

离线

#15 2019-03-08 19:42:25

smartcar
会员
注册时间: 2018-02-19
已发帖子: 735
积分: 735

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

@psst
参考这两个帖子:

https://whycan.cn/t_2179.html
https://whycan.cn/t_2169.html

最近编辑记录 smartcar (2019-03-08 19:42:42)

离线

#16 2019-05-14 16:04:44

阿黄
会员
注册时间: 2018-10-03
已发帖子: 298
积分: 133

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

zhuacai 说:
晕哥 说:

buildroot
-> make menuconfig
    -> Target packages -> Networking applications
选中
wireless tools
wpa_supplicant

https://whycan.cn/files/members/3/QQ20171227164732.png

晕哥,配置上wpa_supplicant就出错
sae.c:(.text+0x1b58): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x1bdc): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0x1bec): undefined reference to `crypto_ec_point_from_bin'
sae.c:(.text+0x1c08): undefined reference to `crypto_ec_point_is_on_curve'
sae.c:(.text+0x1c2c): undefined reference to `crypto_bignum_cmp'
collect2: error: ld returned 1 exit status
make[1]: *** [wpa_supplicant] Error 1
make[1]: Leaving directory `/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant'


记录一下 https://forum.archive.openwrt.org/viewtopic.php?id=62012
移除output/build/wpa_supplicant文件夹 重新编译

离线

#17 2019-09-20 16:24:05

yili9374
会员
注册时间: 2019-09-20
已发帖子: 1
积分: 1

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

各路大神:请问一下rtl8723bs ap模式,采用wpa加密认证出错,不能连接, 不加密就没有问题,是什么原因?
hostapd debug 信息如下:

ngz@x96pro:~/ngaze/setup$ sudo hostapd -d wifi/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: wifi/hostapd.conf
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=1 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0xaaaabbb42680 (device SME)
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=04
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 04
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=0501
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=0503
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=0504
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=06
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=08
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 08
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=09
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=0a
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=11
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaabbb42680 match=7f
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 7f
nl80211: Failed to subscribe for mgmt frames from SME driver - trying to run without it
nl80211: Enable Probe Request reporting nl_preq=0xaaaabbb42680
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xaaaabbb42680 match=
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
nl80211: Add own interface ifindex 3 (ifidx_reason -1)
nl80211: if_indices[16]: 3(-1)
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
Completing interface initialization
Mode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz
DFS 0 channels required radar detection
nl80211: Set freq 2437 (ht_enabled=1, vht_enabled=0, bandwidth=20 MHz, cf1=2437 MHz, cf2=0 MHz)
  * freq=2437
  * vht_enabled=0
  * ht_enabled=1
  * sec_channel_offset=0
  * channel_type=1
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
hostapd_setup_bss(hapd=0xaaaabbb3bef0 (wlan0), first=1)
wlan0: Flushing old station entries
nl80211: flush -> DEL_STATION wlan0 (all)
wlan0: Deauthenticate all stations
nl80211: sta_remove -> DEL_STATION wlan0 ff:ff:ff:ff:ff:ff --> -22 (Invalid argument)
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:0b:6a:32:4d:68 and ssid "RPI3X"
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=5):
     52 50 49 33 58                                    RPI3X           
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
random: Got 20/20 bytes from /dev/random
GMK - hexdump(len=32): [REMOVED]
Key Counter - hexdump(len=32): [REMOVED]
WPA: Delay group state machine start until Beacon frames have been configured
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=56): 80 00 00 00 ff ff ff ff ff ff 00 0b 6a 32 4d 68 00 0b 6a 32 4d 68 00 00 00 00 00 00 00 00 00 00 64 00 11 04 00 05 52 50 49 33 58 01 08 82 84 8b 96 0c 12 18 24 03 01 06
nl80211: Beacon tail - hexdump(len=133): 2a 01 04 32 04 30 48 60 6c 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 2d 1a 6c 00 1f ff 00 00 00 01 00 00 00 00 00 96 00 01 00 00 00 00 00 00 00 00 00 00 3d 16 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=3
nl80211: beacon_int=100
nl80211: beacon_rate=0
nl80211: rate_type=0
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=5):
     52 50 49 33 58                                    RPI3X           
  * beacon_int=100
  * dtim_period=2
nl80211: hidden SSID not in use
nl80211: privacy=1
nl80211: auth_algs=0x1
nl80211: wpa_version=0x3
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x10
nl80211: group_cipher=0x10
nl80211: SMPS mode - off
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=3 addr=0xaaaab8b6dd30 key_idx=1 set_tx=1 seq_len=0 key_len=16
nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
   broadcast key
nl80211: Set wlan0 operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
nl80211: TX queue param set: queue=0 aifs=1 cw_min=3 cw_max=7 burst_time=15 --> res=-95
Failed to set TX queue parameters for queue 0.
nl80211: TX queue param set: queue=1 aifs=1 cw_min=7 cw_max=15 burst_time=30 --> res=-95
Failed to set TX queue parameters for queue 1.
nl80211: TX queue param set: queue=2 aifs=3 cw_min=15 cw_max=63 burst_time=0 --> res=-95
Failed to set TX queue parameters for queue 2.
nl80211: TX queue param set: queue=3 aifs=7 cw_min=15 cw_max=1023 burst_time=0 --> res=-95
Failed to set TX queue parameters for queue 3.
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED 
wlan0: Setup of interface done.
ctrl_iface not configured!
RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (46) received
Unknown event 46
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
wlan0: Event SCAN_RESULTS (3) received
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])


nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (46) received
Unknown event 46
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
wlan0: Event SCAN_RESULTS (3) received
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (46) received
Unknown event 46
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
wlan0: Event SCAN_RESULTS (3) received
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])



Message from syslogd@x96pro at Sep 19 18:57:23 ...
 kernel:[  476.181608] Internal error: Oops: 96000007 [#1] PREEMPT SMP

Message from syslogd@x96pro at Sep 19 18:57:23 ...
 kernel:[  476.381902] Code: 9b007c20 11000421 a90a03a2 8b00005c (b8606840) 
nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlan0
nl80211: Delete station 6c:8d:c1:db:7b:0c
wlan0: Event DISASSOC (1) received
wlan0: STA 6c:8d:c1:db:7b:0c IEEE 802.11: disassociated
Disassociation notification for unknown STA 6c:8d:c1:db:7b:0c
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (46) received
Unknown event 46
nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
wlan0: nl80211: Scan aborted
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
wlan0: Event SCAN_RESULTS (3) received

nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (46) received
Unknown event 46
nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlan0
wlan0: nl80211: Scan aborted
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
wlan0: Event SCAN_RESULTS (3) received

离线

#18 2019-09-20 16:27:46

我思故我在
会员
注册时间: 2019-09-03
已发帖子: 244
积分: 243.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

奇怪, 我用hostapd + ap6212 加密没有问题。

离线

#19 2020-05-30 15:38:23

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

lilo 说:

#insmod r8723bs.ko
[    2.343619] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[    2.355911] RTL8723BS: module init start
[    2.355948] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[    2.355958] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[    2.356111] RTL8723BS: module init ret =0


# wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf -B
wlan0: Unsupported driver 'nl80211'
# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface


啊,我的怎么会出现这种问题,没有生成 wlan0


你好问下  你当时这个问题是怎么解决的啊

离线

#20 2020-06-21 09:18:00

asdfwyg
会员
注册时间: 2020-04-10
已发帖子: 26
积分: 26

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

啊,我的怎么会出现这种问题,没有生成 wlan0

离线

#21 2020-08-25 09:15:43

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

# ifconfig wlan1 192.168.0.10 netmask 255.255.255.0
# udhcpd -f /root/etc/udhcpd.conf
udhcpd: started, v1.27.1
udhcpd: can't bind to interface wlan1: Protocol not available
协议不可用滴

离线

#22 2020-08-25 09:16:08

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

luciferseva 说:

# ifconfig wlan1 192.168.0.10 netmask 255.255.255.0
# udhcpd -f /root/etc/udhcpd.conf
udhcpd: started, v1.27.1
udhcpd: can't bind to interface wlan1: Protocol not available
协议不可用滴

这个是why啊

离线

#23 2021-06-01 23:40:57

enterpriseZ
会员
注册时间: 2021-05-17
已发帖子: 5
积分: 6.5

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

晕哥 说:

拷贝 rtl8723bs_nic.bin 到根文件系统的 /lib/firmware/rtlwifi/ 目录下.

这个文件链接现在下不了了,能帮忙发一下最新的下载链接么?

离线

#24 2022-01-23 14:45:18

如花*莫
会员
注册时间: 2022-01-23
已发帖子: 2
积分: 2

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

我也想下载.bin文件

离线

#25 2023-03-10 20:55:31

Jome
会员
注册时间: 2022-12-16
已发帖子: 3
积分: 3

Re: 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程!

enterpriseZ 说:
晕哥 说:

拷贝 rtl8723bs_nic.bin 到根文件系统的 /lib/firmware/rtlwifi/ 目录下.

这个文件链接现在下不了了,能帮忙发一下最新的下载链接么?

可以下载,github下载可能不稳定,挂代理试试

离线

页脚

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

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