您尚未登录。

楼主 #1 2018-11-29 19:51:13

pqfeng
会员
注册时间: 2018-08-18
已发帖子: 129
积分: 129

晕哥,帮我看一下,为什么不支持Wlan0?

# cp /mnt/nfsroot/r8723bs.ko .
# insmod r8723bs.ko
[  158.179695] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[  158.196453] RTL8723BS: module init start
[  158.200559] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[  158.207627] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[  158.214255] RTL8723BS: module init ret =0
# sudo ifconfig wlan0 up
-sh: sudo: not found
#  ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device
# cd /etc/
# ls
fstab          init.d         mtab           passwd         random-seed
group          inittab        network        profile        resolv.conf
hostname       issue          nsswitch.conf  profile.d      services
hosts          mdev.conf      os-release     protocols      shadow
# cd ..
# ls
V3S      etc      linuxrc  opt      run      tmp
bin      lib      media    proc     sbin     usr
dev      lib32    mnt      root     sys      var
# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:00:FA:05:23:BB
          inet addr:192.168.1.134  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:793 errors:0 dropped:0 overruns:0 frame:0
          TX packets:313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:757125 (739.3 KiB)  TX bytes:24250 (23.6 KiB)
          Interrupt:37 Base address:0xd000

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)

#

离线

楼主 #2 2018-11-29 19:52:21

pqfeng
会员
注册时间: 2018-08-18
已发帖子: 129
积分: 129

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

内容上,看起来应该是支持的啊?是哪个没打开吗?

离线

#3 2018-11-29 19:54:19

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

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

https://whycan.cn/t_652.html

论坛有搜索功能,为什么不先搜索然后跟帖呢

离线

楼主 #4 2018-11-29 19:59:31

pqfeng
会员
注册时间: 2018-08-18
已发帖子: 129
积分: 129

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

他们的Wifi,ifconfig 一下就OK了,但我的,根本没有啊。。。。。有显示就没有问题了。
#  ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

离线

#5 2018-11-29 20:04:33

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

仔细看三楼朋友提供的链接,你应该是缺固件吧





离线

楼主 #6 2018-11-30 09:18:31

pqfeng
会员
注册时间: 2018-08-18
已发帖子: 129
积分: 129

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

加了那个固件,依然不行。然后我仔细看了你的行的Log
[   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

离线

#7 2018-11-30 09:20:51

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

这个看不出来问题,路过的大神帮忙一下





离线

#8 2018-11-30 09:36:00

basicdev
会员
注册时间: 2017-10-02
已发帖子: 159
积分: 159

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

我记得按照荔枝派教程,三下五除二搞定了wifi,很久不玩,基本忘记了流程

离线

楼主 #9 2018-12-01 12:51:50

pqfeng
会员
注册时间: 2018-08-18
已发帖子: 129
积分: 129

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

问题搞定了,最终结果是出在DTS上。我们的DTS有两个,一个是带dock 的,但带dock 包含了不带dock的

离线

#10 2022-04-10 09:48:49

11小白11
会员
注册时间: 2022-03-05
已发帖子: 10
积分: 0

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

pqfeng 说:

问题搞定了,最终结果是出在DTS上。我们的DTS有两个,一个是带dock 的,但带dock 包含了不带dock的

我也遇到了,现在用的带dock的dtb,大佬还记得怎么解决的吗

离线

#11 2022-04-10 09:49:26

11小白11
会员
注册时间: 2022-03-05
已发帖子: 10
积分: 0

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

# insmod r8723bs.ko
[   18.208228] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[   18.234538] RTL8723BS: module init start
[   18.238636] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[   18.245681] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[   18.252359] RTL8723BS: module init ret =0
# [   24.357352] random: crng init done
[   32.486635] vcc5v0: disabling

#
# ifconfig -a
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)

#

离线

#12 2022-04-10 09:53:09

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

@11小白11
可能是 wifi模块的使能脚没有拉高引起





离线

#13 2022-04-18 21:41:06

11小白11
会员
注册时间: 2022-03-05
已发帖子: 10
积分: 0

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

哇酷小二 说:

@11小白11
可能是 wifi模块的使能脚没有拉高引起

嗯嗯,确实是硬件问题,模块风枪吹下来12,13,14脚和晶振外壳短路不和地短路,焊上去12,13,14脚和地和晶振外壳短路,重复很多次都是这样,后来新的8723到了换上去,buildroot2017.02编译了wpa_supplicant指令后ping通百度了
# insmod /example/r8723bs.ko
[  240.077936] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[  240.105159] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
insmod: can't insert '/example/r8723bs.ko': File exists
# lsmod
Module                  Size  Used by    Tainted: G
r8723bs               483328  0
# ifconfig wlan0 up
# ifconfig -a
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 30:7B:C9:52:99:F8
          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)

# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.6
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'
ctrl_interface_group='0'
ap_scan=1
Priority group 5
   id=0 ssid='OPPO'
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 2 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1965d8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=2 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
wlan0: Own MAC address: 30:7b:c9:52:99:f8
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (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: 7ab56a61-072e-5097-aa49-081a01b33040
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
ctrl_interface_group=0
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=2 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# udpc[  316.258603] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
[  316.583314] RTL8723BS: start auth
[  316.590639] RTL8723BS: auth success, start assoc
[  316.609994] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[  316.617094] RTL8723BS: assoc success
[  316.675789] RTL8723BS: send eapol packet
[  316.689642] RTL8723BS: send eapol packet
[  316.694366] RTL8723BS: set pairwise key camid:4, addr:b8:37:65:cc:4f:cd, kid:0, type:AES
[  317.711418] RTL8723BS: send eapol packet
[  317.715919] RTL8723BS: set group key camid:5, addr:b8:37:65:cc:4f:cd, kid:1, type:TKIP

-sh: udpc: not found
# udhcpc -i wlan0
udhcpc: started, v1.26.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.43.238
udhcpc: lease of 192.168.43.238 obtained, lease time 3600
deleting routers
adding dns 192.168.43.1
# ping www.baidu.com
PING www.baidu.com (36.152.44.95): 56 data bytes
64 bytes from 36.152.44.95: seq=0 ttl=56 time=33.598 ms
64 bytes from 36.152.44.95: seq=1 ttl=56 time=44.777 ms
64 bytes from 36.152.44.95: seq=2 ttl=56 time=38.367 ms
^C
--- www.baidu.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 33.598/38.914/44.777 ms

离线

#14 2022-08-21 17:09:45

ldl212
会员
注册时间: 2018-04-16
已发帖子: 19
积分: 4

Re: 晕哥,帮我看一下,为什么不支持Wlan0?

我也遇到了 记录一下:
原因:
原来dock硬件默认开启MMC1,我嫌开启后LED绿灯一直闪烁,因此将MMC1 disable 了,需要重新打开MMC1
另外由于MMC1 使用PG0,1,2 所以在使用MMC1时需要将 LED disable掉

离线

页脚

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

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