WRTnode 2P。apclinet模式故障。

 
  • 本人对OpenWRT及精致的小板有浓烈的兴趣,貌似有一点点网络基础,n年之前考取的CCNP,
  • 编程基础仅限shell(基础水平);

 
 

 
  • 将17页社区帖子翻遍,终于找到串口打印的连接方式,且自行科普了下“UART”的含义;

 
  • 之前购买过一个极1s路由器,对openwrt的编译环境有一点点的了解,取消了sdk中的ipv6;

 
  • 5月11日,首次将自己编译的固件刷入2P后,(万分激动!!!),使用“aps”扫描后、
  • “setwifi **** ****”,设定完成,且正常中继;
  • ​​后来,想切换上联wifi时,再次使用setwifi时(/etc/config/wireless内容已更改,
  • 证明脚本运行成功),无法正常连接至上联wifi,
  • 且串口持续打印异常信息:

 
[ 8096.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8098.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8100.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8102.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8104.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8106.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8108.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8110.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8112.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8114.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8116.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
[ 8118.500000] ApCliIfMonitor: IF(apcli0) - no Beacon is received from Root-AP.
 
 
  • 第一次尝试修复:
  • ifconfig apcli0 down;
  • ifconfig apcli0 up    //无效&&打印持续出现
  • 第二次
  • iwpriv apcli0 set ApCliEnable=0;
  • ···
  • iwpriv apcli0 set ApCliEnable=1;  
  • wifi               //无效&&打印持续出现

 
  • 第三次
  • /etc/init.d/network    //无效&&打印持续出现

 
  • 放大招!!!!!!!!!!!!!!!!!!
  • reboot             //重启后,无此打印&&且最后setwifi设定生效
  • 看起来是正常了,可再次使用setwifi 连接其他待中继的SSID,问题重现,只能reboot...
  • 无奈之举...

已邀请:

pp187002776

赞同来自: nothspec 改变世界

“五进制”: sdk 根目录下执行git revert ca2b0110680dd484266233c33c27f65bcbcef097 

pp187002776

赞同来自:

出厂自带的那个固件可以随时执行setwifi,无任何问题!
我该怎么编译sdk???是我选错了,还是驱动或者那个所谓的“ApCliIfMonitor”的问题呢????????

改变世界

赞同来自:

遇到同样的问题,使用官网上的那个固件可以随时执行setwifi,今天从https://github.com/WRTnode/openwrt上,git源码,更新编译后,只能在第一次setwifi,后来每次切换都要reboot,求解答。
 

要回复问题请先登录注册