您尚未登录。

楼主 #1 2021-02-25 21:54:44

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

[荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

PS:我也是新人这是我在摸索路上探寻出来的经验,有些地方可能不对qw
-------------------------------
下面是r8723的食用方法 真的超级详细!!!

如果你使用的是网盘的的【官方镜像】,我可以很不负责任的告诉你,r8723肯定是不能正常使用的
经过亲测,所有镜像root目录下自带的r8723bs.ko文件都会出现【Invalid module format】错误
如果你也是使用的官方镜像,你可以去文末下载我测试过的r8723bs.ko

先别下滑,我还可以很不负责任的告诉你,如果你使用官方镜像和我的ko文件
也是有很大概率遇到【驱动正常】但是【不出wlan0】的情况
恭喜你,你的dtb文件是错误的,文末的链接里也会有正确的dtb,直接替换boot分区里的同名文件
(重启以后不要忘了insmod,insmod会在重启后失效

如果你的ko文件和dtb文件都已经准备完毕,我们就可以正式开始驱动配置啦~

首先,cd切换到r8723bs.ko所在的目录,输入指令:insmod r8723bs.ko

当你看到【module init ret =0】时代表驱动已经正常启动!
输入命令:ifconfig -a
再打印信息里看到【wlan0】就说明你已经可以继续下一步了!
这时候输入命令:vim /etc/wpa_supplicant.conf
弹出窗口以后按一下键盘上的i键,就可以编辑内容~
用键盘上的上下左右键来调整光标,先按住退格把所有内容删除,然后按照以下内容写上去:
--------------------------------------------------(分割线
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
    ssid="你的WIFI名字"
    scan_ssid=1
    key_mgmt=WPA-PSK
    pairwise=CCMP
    group=CCMP
    psk="你的WIFI密码"
    priority=5
}
--------------------------------------------------(分割线
检查一下你的WIFI名和WIFI密码是否输入正确,千万不要有多空格之类的东西
然后按住shift,再点一下键盘上的冒号键
松开shift,输入wq然后回车
这样子你的WIFI就配置好了!
先输入命令:ifconfig wlan0 up 来启动网口
没有报错的话进行下一步

现在cd /root 来切换到根目录,官方镜像在这里留有一个connect_wx.sh
因为是第一次执行,所以我们先给这个文件一个运行权限,只需要执行一次!以后就不用了!
命令为:chmod 777 connect_wx.sh
然后输入./connect_wx.sh 来连接到你的WIFI!
如果你像确认WIFI是否连接,就输入ping baidu.com
假如可以显示延迟的话就是成功了!
享受你的新wife(划掉)wifi吧!

当然小星星是不会只关心官方镜像的!
假如你使用的是4.14或者5.2这种高版本内核,是可以直接在menuconfig里编译r8723bs的!
具体请转到官网awa 或者看这篇文章:https://blog.csdn.net/u012577474/article/details/104678522
一般编译出来的ko文件都是可以直接使用的,假如出现这样的报错:
“Direct firmware load for rtlwifi/rtl8723bs_nic.bin failed with error -2”
你就需要手动把ko文件目录下的rtl8723bs_nic.bin,移动到 /lib/firmware/rtlwifi/
指令为:mv rtl8723bs_nic.bin /lib/firmware/rtlwifi/

问题来了,假如没有rtl8723bs_nic.bin这个文件怎么办呢?
没关系,我已经给你拿出来了!同样可以在文末下载,按照上面的命令转移以后重载模块就可以了!
解决掉报错以后就可以按照上文的方法正常使用惹

--------------------常见报错汇总----------------------------
1.疯狂打印【RTL8723BS: nolinked power save leave】
- /etc/wpa_supplicant.conf的配置不正确,确保WIFI名和密码都写对了!
2.驱动正常但是没有wlan0网口
- 你没有使用正确的dtb文件,请下载以后直接拷贝网盘内的sun8i-v3s-licheepi-zero.dtb到boot分区,就是有zlmage的那个文件夹
3.好像没了,如果你出现了奇奇怪怪的报错还原留言,我会抽时间看的!
--------------------------------------------------------------

对了,如果你不知道怎么把文件从电脑转移到板子上的话,我有个笨办法
把你的tf卡接上读卡器插在windows电脑上会出现两个设备,其中一个设备是可以被读到的
那个设备就是/boot分区!直接把文件丢到里面,在板子上的时候使用cd /boot然后ls就可以看到了!
mv 文件名 /root 来把文件转移到根分区~

下面是激动人心的资料链接!!!!!!!!
https://pan.baidu.com/s/1F216NrATxdIpgznlzn-rwQ 提取码:STAR
链接挂了请无比告诉我
这边顺便贴上荔枝派官方网盘的链接:
https://pan.baidu.com/s/1x75Uqnxl6bmBCYDN3NUdJg 提取码:ohzx
其中在根目录下的gz文件是文件系统,dd_ing文件夹下的就都是dd镜像了
dd镜像在windows下也可以通过Win32DiskImager烧录!
把文件筛选改成*就可以了
---------------------------------------------------------------
祝各位都能早日玩转自己的wife(划掉)wifi!
如果有什么不对的地方欢迎指出啊~也是第一次发教程帖

THE END~

最近编辑记录 linstar (2021-02-25 22:01:31)

离线

#2 2021-02-26 00:29:09

mmmage
会员
注册时间: 2021-02-22
已发帖子: 4
积分: 3

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

感谢分享. 原来用荔枝派nano时也是碰到类似的wifi的问题,搞得焦头烂额

离线

楼主 #3 2021-02-26 01:52:21

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

mmmage 说:

感谢分享. 原来用荔枝派nano时也是碰到类似的wifi的问题,搞得焦头烂额

大家都是这样子过来的,我这些内容也都是自己遇到过的坑awq

离线

#4 2021-03-05 23:03:58

dlxy
会员
注册时间: 2021-03-05
已发帖子: 7
积分: 4.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

感谢

离线

#5 2021-03-05 23:15:35

dlxy
会员
注册时间: 2021-03-05
已发帖子: 7
积分: 4.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

# cd /boot
-sh: cd: can't cd to /boot

离线

#6 2021-03-05 23:31:13

dlxy
会员
注册时间: 2021-03-05
已发帖子: 7
积分: 4.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

复制 .ko文件到boot的时候显示boot分区容量不足

离线

#7 2021-03-07 10:05:14

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

感谢分享   正准备使用这个wifi模块

离线

#8 2021-03-09 14:26:41

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

LZ,这是怎么回事呢?

# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 5
   id=0 ssid='Luxul1750_2.4G'
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 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xe12c8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
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
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
wlan0: Own MAC address: 3c:33:00:5a:84:02
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
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 56cc0996-a7ea-531b-8788-a5de502565ac
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 (DEAUTH_LEAVING) state=DISCONNECTED
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
HS20: Delete all stored icons
Remove interface wlan0 from radio phy0
Remove radio phy0
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x88869a41 (mode change)
wlan0: CTRL-EVENT-TERMINATING 
ifconfig -a
eth0      Link encap:Ethernet  HWaddr 26:D9:88:20:63:74  
          inet addr:192.168.6.100  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1104 (1.0 KiB)  TX bytes:726 (726.0 B)
          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: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)

wlan0     Link encap:Ethernet  HWaddr 3C:33:00:5A:84:02  
          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)

# 

离线

#9 2021-03-09 14:37:04

拉轰的脚踏车
会员
注册时间: 2020-03-20
已发帖子: 288
积分: 222

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

[    8.344512] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[    8.377909] RTL8723BS: module init start
[    8.381866] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[    8.389066] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[    8.397998] pnetdev = 94a12032
[    8.458378] RTL8723BS: rtw_ndev_init(wlan0)
[    8.465335] RTL8723BS: module init ret =0
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 0
   id=0 ssid='cube'
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 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1d79c8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79[    9.484053] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
c8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0409506f9a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1d79c8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
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
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED]
wlan0: Own MAC address: cc:d2:9b:4b:8e:a8
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
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 862b1fe5-386c-581d-a861-e1ca6ec113b3
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
udhcpc: started, v1.31.1
udhcpc: sending discover
[   13.389353] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
[   13.649836] RTL8723BS: start auth
[   13.657544] RTL8723BS: auth success, start assoc
[   13.691218] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[   13.698419] RTL8723BS: assoc success
[   13.753360] RTL8723BS: send eapol packet
[   13.786000] RTL8723BS: send eapol packet
[   13.793098] RTL8723BS: set pairwise key camid:4, addr:56:db:ea:42:af:c6, kid:0, type:AES
[   13.811423] RTL8723BS: set group key camid:5, addr:56:db:ea:42:af:c6, kid:1, type:AES
udhcpc: sending discover
udhcpc: sending select for 192.168.43.186
udhcpc: lease of 192.168.43.186 obtained, lease time 3599
deleting routers
adding dns 192.168.43.1

我的tiny200 + RTL8723BS 连手机WIFI热点OK

离线

#10 2021-03-09 15:26:17

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

我的可以搜索到WiFi 但是连接不上去,会出现

# wpa_supplicant -D wext -c  /etc/wpa_supplicant.conf -i wlan0 -B
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
# daemon: No such device
wlan0: CTRL-EVENT-TERMINATING

最近编辑记录 xfdr0805 (2021-03-10 10:50:57)

离线

楼主 #11 2021-03-10 19:42:24

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

dlxy 说:

# cd /boot
-sh: cd: can't cd to /boot

这,我是主线linux+uboot,tf文件系统应该是有boot分区的

离线

楼主 #12 2021-03-10 19:43:32

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

dlxy 说:

复制 .ko文件到boot的时候显示boot分区容量不足

建议压成zip

离线

楼主 #13 2021-03-10 19:47:32

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

xfdr0805 说:

我的可以搜索到WiFi 但是连接不上去,会出现

# wpa_supplicant -D wext -c  /etc/wpa_supplicant.conf -i wlan0 -B
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
# daemon: No such device
wlan0: CTRL-EVENT-TERMINATING

内核里有关RFKILL的项全部打开试一试

离线

楼主 #14 2021-03-10 19:54:30

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

xfdr0805 说:

LZ,这是怎么回事呢?

# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 5
   id=0 ssid='Luxul1750_2.4G'
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 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xe12c8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
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
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
wlan0: Own MAC address: 3c:33:00:5a:84:02
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
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 56cc0996-a7ea-531b-8788-a5de502565ac
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 (DEAUTH_LEAVING) state=DISCONNECTED
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
HS20: Delete all stored icons
Remove interface wlan0 from radio phy0
Remove radio phy0
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x88869a41 (mode change)
wlan0: CTRL-EVENT-TERMINATING 
ifconfig -a
eth0      Link encap:Ethernet  HWaddr 26:D9:88:20:63:74  
          inet addr:192.168.6.100  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1104 (1.0 KiB)  TX bytes:726 (726.0 B)
          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: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)

wlan0     Link encap:Ethernet  HWaddr 3C:33:00:5A:84:02  
          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)

# 

应该也是RFKILL的锅,把内核选项里CONFIG_RFKILL的还有子项都打开试一试

离线

#15 2021-03-11 15:28:00

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

RFKILL 的错误已经没有了,但是还是不行

linstar 说:
xfdr0805 说:

LZ,这是怎么回事呢?

# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 5
   id=0 ssid='Luxul1750_2.4G'
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 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xe12c8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
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
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
wlan0: Own MAC address: 3c:33:00:5a:84:02
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
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 56cc0996-a7ea-531b-8788-a5de502565ac
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 (DEAUTH_LEAVING) state=DISCONNECTED
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
HS20: Delete all stored icons
Remove interface wlan0 from radio phy0
Remove radio phy0
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x88869a41 (mode change)
wlan0: CTRL-EVENT-TERMINATING 
ifconfig -a
eth0      Link encap:Ethernet  HWaddr 26:D9:88:20:63:74  
          inet addr:192.168.6.100  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1104 (1.0 KiB)  TX bytes:726 (726.0 B)
          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: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)

wlan0     Link encap:Ethernet  HWaddr 3C:33:00:5A:84:02  
          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)

# 

应该也是RFKILL的锅,把内核选项里CONFIG_RFKILL的还有子项都打开试一试

离线

#16 2021-03-11 15:28:56

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

这里的错误是怎么回事?

netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0

离线

#17 2021-03-11 15:51:44

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

不放后台 看起来可以连接上,但是程序好像退不出,一按ctrl + C  就不行了 
这样没法获取IP啊

# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf                           
Successfully initialized wpa_supplicant                                         
wlan0: Trying to associate with a4:13:4e:42:0c:71 (SSID='Luxul17[ 3882.005097] 8
50_2.4G' freq=2437 MHz)                                                         
[ 3882.338925] RTL8723BS: start auth                                            
[ 3882.345736] RTL8723BS: auth success, start assoc                             
[ 3882.356145] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !! 
[ 3882.363293] RTL8723BS: assoc success                                         
wlan0: Associated with a4:13:4e:42:0c:71                                        
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0                                 
[ 3882.372172] RTL8723BS: send eapol packet                                     
[ 3882.388799] RTL8723BS: send eapol packet                                     
[ 3882.393400] RTL8723BS: set pairwise key camid:4, addr:a4:13:4e:42:0c:71, kidS
[ 3882.404705] RTL8723BS: send eapol packet                                     
[ 3882.409502] RTL8723BS: set group key camid:5, addr:a4:13:4e:42:0c:71, kid:1,S
wlan0: WPA: Key negotiation completed with a4:13:4e:42:0c:71 [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to a4:13:4e:42:0c:71 completed [id=0 i]
udhcpc -i wlan0

^Cwlan0: CTRL-EVENT-DISCONNECTED bssid=a4:13:4e:42:0c:71 reason=3 locally_gener1
nl80211: deinit ifname=wlan0 disabled_11b_rates=0                               
wlan0: CTRL-EVENT-TERMINATING 

最近编辑记录 xfdr0805 (2021-03-11 16:15:05)

离线

#18 2021-03-11 16:37:16

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

加一个 -B 参数

离线

#19 2021-03-11 18:53:31

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 291
积分: 344

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

raspberryman 说:

加一个 -B 参数

加-B 直接退出
wlan0: CTRL-EVENT-TERMINATING

最近编辑记录 xfdr0805 (2021-03-11 18:56:07)

离线

楼主 #20 2021-03-13 11:27:55

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

xfdr0805 说:

这里的错误是怎么回事?

netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0

网络配置好像炸了?

离线

#21 2021-03-27 11:51:57

拍打323
封禁
注册时间: 2021-02-19
已发帖子: 39
积分: 33.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

吃了会上瘾,为伊消得人憔悴,绵卷西风,人比黄花瘦!

离线

#22 2021-03-28 11:11:38

dlxy
会员
注册时间: 2021-03-05
已发帖子: 7
积分: 4.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

楼主能不能分享下你用的哪一个官方镜像文件

最近编辑记录 dlxy (2021-03-28 11:11:53)

离线

#23 2021-03-28 11:13:23

dlxy
会员
注册时间: 2021-03-05
已发帖子: 7
积分: 4.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
[  301.847511] RTL8723BS: nolinked power save enter
一直显示这样的信息

离线

#24 2021-03-28 12:07:39

mysteryli
会员
注册时间: 2020-03-05
已发帖子: 481
积分: 386
个人网站

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

DTS放出来一下呀

离线

#25 2021-03-29 00:57:20

dlxy
会员
注册时间: 2021-03-05
已发帖子: 7
积分: 4.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

你这个正确的dtb文件是哪儿来的呢,为什么用它就可以呢

离线

#26 2021-03-30 15:25:20

whyabc666
封禁
注册时间: 2019-12-12
已发帖子: 378
积分: 365

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

真遗憾,GitHub的驱动删除了,要不啥平台都能用这WiFi加蓝牙,摆飘……

离线

楼主 #27 2021-03-31 17:41:46

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

mysteryli 说:

DTS放出来一下呀

是编译好的,你可以试试反编译,dts这边我也没有

离线

楼主 #28 2021-03-31 17:42:21

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

dlxy 说:

你这个正确的dtb文件是哪儿来的呢,为什么用它就可以呢

荔枝派的外网官网上搞来的,里面加了设备树

离线

楼主 #29 2021-04-06 22:03:41

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

dlxy 说:

udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
[  301.847511] RTL8723BS: nolinked power save enter
一直显示这样的信息

检查一下配置有没有写对,wifi名称,密码啥的

离线

楼主 #30 2021-04-06 22:05:46

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

dlxy 说:

楼主能不能分享下你用的哪一个官方镜像文件

带python和gcc的Debian
rootfs-mindb

离线

楼主 #31 2021-04-06 22:06:26

linstar
会员
注册时间: 2020-12-21
已发帖子: 24
积分: 10.5

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

拍打323 说:

吃了会上瘾,为伊消得人憔悴,绵卷西风,人比黄花瘦!

好湿好湿

离线

#32 2022-02-07 17:39:15

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

我用主线内核就遇到了驱动正常但没有wlan0的问题。不知道正确的dts怎么写。

离线

#33 2022-02-07 21:06:15

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

Fomalhaut 说:

我用主线内核就遇到了驱动正常但没有wlan0的问题。不知道正确的dts怎么写。

原来是mmc1和LED冲突,把LED设置成disabled就能识别wlan0了。

但现在遇到了一个奇怪的问题:wlan0用udhcpc能分配到IP,但是ping不通(即使在开发板上ping也不行),也无法传输数据。用ip addr命令可以看到wlan0确实分配了IP。

离线

#34 2022-02-16 16:36:49

rainman
会员
注册时间: 2022-01-20
已发帖子: 4
积分: 4

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

@Fomalhaut
rootfs -->Networking applications配置好了吗?

离线

#35 2022-02-17 15:18:53

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

rainman 说:

@Fomalhaut
rootfs -->Networking applications配置好了吗?

我没用buildroot。

离线

#36 2022-03-02 10:46:33

lvchacha
会员
注册时间: 2022-02-26
已发帖子: 6
积分: 6

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

调了半天,知道为啥没有wlan0了,是因为mmc1没有打开。找不到wlan0的,可以打开文件 sun8i-v3s-licheepi-zero.dts  ,然后添上:
&mmc1 {
        broken-cd;
        bus-width = <4>;
        vmmc-supply = <&reg_vcc3v3>;
        status = "okay";
};

只要内核里相关的配置打开了,按照上面的操作,基本就没啥问题了。可以愉快的用自己编的设备树了~~~~~~

离线

#37 2023-05-13 20:50:52

lfs911
会员
注册时间: 2020-09-24
已发帖子: 37
积分: 22

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

wifi的部分很头疼的,试过好几个内核,要么出错要么直接不能加载WiFi

离线

#38 2023-08-30 21:18:21

砍柴少年
会员
注册时间: 2023-08-30
已发帖子: 6
积分: 6

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

我按照楼主说的方法成功了,镜像选用的是官方的lichee_zero-mindb.dd

离线

#39 2024-02-09 13:16:46

SUPER_CRJ
会员
注册时间: 2024-01-07
已发帖子: 13
积分: 13

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

砍柴少年 说:

我按照楼主说的方法成功了,镜像选用的是官方的lichee_zero-mindb.dd

为什么我在官网下载的固件中没有这个名字的固件?

离线

#40 2024-03-16 23:17:05

rf
会员
注册时间: 2019-05-21
已发帖子: 27
积分: 2

Re: [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing

我加载r8723.ko模块后,就没下文了,也没出现wlan0,好久没能解决,不是主线内核版本呢,是4点几的版本,内核自带rt8723的源码,编译出来了r8723.ko
# insmod r8723bs.ko
[  239.781722] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[  239.798738] RTL8723BS: module init start
[  239.802677] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[  239.809819] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[  239.816464] RTL8723BS: module init ret =0

求助啊

离线

页脚

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

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