手上有块mt7688开发板,刷WIDORA1664固件,前几次启动可以正常启动WIFI,但是设置APSTA模式在设置回来后,WIFI死活启动不了,刷机也没有用。这个是什么情况。
固件时github上最新的。
ifconfig: apcli0: error fetching interface information: Device not found
手上有块mt7688开发板,刷WIDORA1664固件,前几次启动可以正常启动WIFI,但是设置APSTA模式在设置回来后,WIFI死活启动不了,刷机也没有用。这个是什么情况。
固件时github上最新的。
ifconfig: apcli0: error fetching interface information: Device not found
重新关注了下wifimode脚本,发现前面有个wifi down操作。
root@Widora:~# ia
apcli0 Link encap:Ethernet HWaddr 0E:EF:AF:00:49:96
inet addr:192.168.123.104 Bcast:192.168.123.255 Mask:255.255.255.0
inet6 addr: fe80::cef:afff:fe00:4996/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:73 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12933 (12.6 KiB) TX bytes:9468 (9.2 KiB)
root@Widora:~# wifimode ap
[ 132.150000] br-lan: port 2(ra0) entered disabled state
[ 132.190000] WLAN:STA d4:5f:25:fd:07:34(dev:ra0 rate:150Mbps singnal:-28dBm) disconnect
[ 132.200000] APCLI LINK DOWN - IF(apcli0)
[ 132.740000] device ra0 left promiscuous mode
[ 132.740000] br-lan: port 2(ra0) entered disabled state
[ 133.200000] br-lan: port 1(eth0) entered disabled state
[ 133.210000] device eth0 left promiscuous mode
[ 133.210000] br-lan: port 1(eth0) entered disabled state
[ 133.220000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@Widora:~# [ 135.240000] device eth0 entered promiscuous mode
[ 135.260000] br-lan: port 1(eth0) entered forwarding state
[ 135.260000] br-lan: port 1(eth0) entered forwarding state
[ 137.260000] br-lan: port 1(eth0) entered forwarding state
[ 138.410000] =====================================================
[ 138.410000] Channel 1 : Busy Time = 12738, Skip Channel = FALSE
[ 138.420000] Channel 2 : Busy Time = 11108, Skip Channel = FALSE
[ 138.420000] Channel 3 : Busy Time = 10898, Skip Channel = FALSE
[ 138.430000] Channel 4 : Busy Time = 10751, Skip Channel = FALSE
[ 138.440000] Channel 5 : Busy Time = 10935, Skip Channel = FALSE
[ 138.440000] Channel 6 : Busy Time = 10630, Skip Channel = FALSE
[ 138.450000] Channel 7 : Busy Time = 10863, Skip Channel = FALSE
[ 138.450000] Channel 8 : Busy Time = 11175, Skip Channel = FALSE
[ 138.460000] Channel 9 : Busy Time = 11548, Skip Channel = FALSE
[ 138.470000] Channel 10 : Busy Time = 11012, Skip Channel = FALSE
[ 138.470000] Channel 11 : Busy Time = 10439, Skip Channel = FALSE
[ 138.480000] Channel 12 : Busy Time = 10553, Skip Channel = TRUE
[ 138.480000] Channel 13 : Busy Time = 10389, Skip Channel = TRUE
[ 138.490000] =====================================================
[ 138.500000] Rule 3 Channel Busy time value : Min Channel Busy ==> Select Channel 11
[ 138.500000] Min Channel Busy = 10439
[ 138.510000] BW = 40
[ 138.540000] |--------------------------------------------------------|
[ 138.540000] |------------Widora wifi driver--version:1.3-------------|
[ 138.550000] |Copyright 2016-2018 by YuanChenMang. All rights reserved|
[ 138.560000] | This Driver licensing-only runs on Widora! |
[ 138.560000] | Found bug? Please contact widora@qq.com , thanks! |
[ 138.570000] |--------------------------------------------------------|
[ 138.840000] device ra0 entered promiscuous mode
[ 138.840000] br-lan: port 2(ra0) entered forwarding state
[ 138.850000] br-lan: port 2(ra0) entered forwarding state
[ 140.850000] br-lan: port 2(ra0) entered forwarding state
root@Widora:~# ps | grep ap_client
2634 root 1484 S grep ap_client
root@Widora:~# ia
apcli0 Link encap:Ethernet HWaddr 0E:EF:AF:00:49:96
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:73 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12933 (12.6 KiB) TX bytes:10196 (9.9 KiB)
root@Widora:~#
我稍后查一下这个问题
一样的结果,ap_client进程还运行者。STA还运行着
[ 2246.930000] |--------------------------------------------------------|
[ 2249.750000] APCLI LINK UP - IF(apcli0) AuthMode(7)=WPA2PSK, WepStatus(6)=AES!
@mango 后面这个问题,有解决办法吗?
@mango 在WIKI找到了
测试出来一个新问题:
我直接修改wireless配置文件,使其使用APSTA模式,连接到指定的路由,然后使用命令重启network,接着我直接修改wireless,关闭sta模式,只使能ap模式,然后在使用命令重启网络,此时发现,STA还是正常的进行连接,sta模式并没有关闭,但是wireless配置文件里确实disable了。ap_client进程无法杀死
[ 998.960000] WLAN:STA 8c:ab:8e:dd:96:c0(dev:ra0 rate:65Mbps singnal:-17dBm) disconnect
[ 998.980000] APCLI LINK DOWN - IF(apcli0)
[ 1001.190000] APCLI LINK UP - IF(apcli0) AuthMode(7)=WPA2PSK, WepStatus(6)=AES!
NEO 板子
发现整个断电重启就可以了!使用reboot复位没有用。