找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 20672|回复: 220

[k3] K3 OPENWRT v1.5,使用中出现的问题探讨

 火... [复制链接]
发表于 2020-4-29 09:47 | 显示全部楼层 |阅读模式
本帖最后由 tiger-aa 于 2020-6-7 17:22 编辑

1,路由重启1-2天后,CPU使用率飙升到50%以上,原因及解决方案如下:
ssh下运行htop指令
发现有一个CPU核心跑100%不变,是执行下边的指令造成的。
- /usr/sbin/nlbwmon -o /var/lib/nlbwmon -i 24h -r 30s -p /user/share//nlbwon/protocols -g 10 -i 1 -l 1000 -z -s  192.168.0.0/16 -s 172.16.0.0/12 -s 10.0.0.0/8-s 192.168.1.1/

同时在系统日志里出现
daemon.err nlbwmon[30625]: Unable to dump conntrack: No buffer space available

应该和带宽监控相关。
系统--启动项--nlbwmon重启,可使CPU使用率恢复正常。
解决方案:
一,nlbwmon版本由2019-06-06升级为2020-04-11。
系统--软件包--更新列表--查找软件包“nlbwmon”--可用软件包--安装
二,
https://forum.openwrt.org/t/nlbwmon-100-cpu-usage/10639/7帖子里提供了解决方案。

Automatic restart of nlbwmon process:
Since nlbwmon is frequently going wild and consuming all available processing power from at least one core I've put together some workarounds to be placed in /etc/rc.local file before exit 0 line.

(while true; do (NLB_T=45; sleep 15m; NLB_A=$(top -b -n 1 | grep nlbwmon | grep -v grep | awk '{print (int($7))}' | head -1); [ $NLB_A -ge $NLB_T ] && ( sleep 5m; NLB_B=$(top -b -n 1 | grep nlbwmon | grep -v grep | awk '{print (int($7))}' | head -1); [ $NLB_B -ge $NLB_T ] && ( /etc/init.d/nlbwmon restart; logger "WARNING: nlbwmon restarted due to process runaway, proc% was $NLB_A then $NLB_B" ))); done) &

三,我做了如下更改后,跑了几天,也没出现问题。
带宽监控---配置---本地子网全部删除。
高级设置,提交间隔改为24h,刷新间隔改为5m。
我还把统计周期改为固定周期-周期5天。


2,DHCP-自定义挟持域名,路由重启后设置失效,需重新点保存&应用才行。
     路由重启后,带宽监控不能监控IPV6的流量,需:系统--启动项--nlbwmon重启。

     以上有解决方案吗?请大佬写个延迟执行或自动重新执行的指令

3,Lan口接群晖NAS,局域网内复制文件一般只能到40-60M。
     NAS中关IPV6,速度能稳定在80M左右,有时可以100+。
     路由上删除多拨mwan3,关FULLCONE NAT加速似乎也能增加稳定性。
     把电脑、NAS接在交换机上,不连路由,速度100+,连上路由,就掉到80M,问题待解决。

4,问题已解决,我把s s r plau+误删后已恢复,方法见15楼。
    实测v2瑞+passwall要明显好于plus+,passwall下载安装见https://www.right.com.cn/forum/thread-2899184-1-1.html

    v2瑞,通过S h a d o w S o c k s R Plus+能设置成功吗?我试了下,没成功,删了v贰瑞-core后装的官方版,Plus+菜单也消失了,官方版没有订阅一键导入,如何恢复Plus+菜单?

    已解决问题,感谢 badcrazy 大神解答,方法见15楼。

5,只显示cpu温度,wifi温度如何查询?
65楼的解答:无法查看,开源驱动不支持

6,如软件源连不上,无法刷新软件列表,可以将https://openwrt.proxy.ustclug.org替换为https://downloads.openwrt.org
     或北京外国语大学开源软件镜像站https://mirrors.bfsu.edu.cn/openwrt

    系统-软件包-配置-发行版软件源

7,添加访客网络,见https://www.right.com.cn/forum/thread-4034794-1-1.html

8,在系统日志里出现大量类似如下信息,是路由器wifi被攻击了吗?已设置mac白名单,隐藏SSID,如何解决?或在系统日志里不记录此信息。
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA a2:d9:f7:ef:95:3f IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA a2:d9:f7:ef:95:3f IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA a2:d9:f7:ef:95:3f IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA a2:d9:f7:ef:95:3f IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA a2:d9:f7:ef:95:3f IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:48:52 2020 daemon.info hostapd: wlan1: STA 86:a4:7a:ba:2e:92 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA fa:7b:69:9f:1d:9f IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA fa:7b:69:9f:1d:9f IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA fa:7b:69:9f:1d:9f IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA fa:7b:69:9f:1d:9f IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA fa:7b:69:9f:1d:9f IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA fa:7b:69:9f:1d:9f IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
Mon Apr 20 21:50:39 2020 daemon.info hostapd: wlan1: STA f2:0b:81:c0:17:e9 IEEE 802.11: disassociated
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-4-29 09:48 | 显示全部楼层
看看 学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 09:52 | 显示全部楼层
好复杂我去。

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 09:59 | 显示全部楼层
CPU没问题呀。我没装什么应用。。都在10%这样。。大多数路由器都要保存应用的吧。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:04 | 显示全部楼层
学前教育
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:15 | 显示全部楼层
CPU使用率飙升到50%以上
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:18 | 显示全部楼层
感谢分享?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:27 | 显示全部楼层
看看。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:30 | 显示全部楼层
kankan        
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:33 来自手机 | 显示全部楼层
看看啥原因
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:37 来自手机 | 显示全部楼层
看看。谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:46 | 显示全部楼层
本帖最后由 badcrazy 于 2020-4-29 10:48 编辑

不可描述普拉斯你可以搜我帖子用我编译的插件再装一遍,v2肯定是没问题的,我也用v2,订阅,导入都正常,不过那个固件编译的是不是有问题我就不知道了

点评

非常感谢大神,已按教程恢复了plus+菜单,并成功设置了V2瑞,plus+确实好用简单。 在下边帖子中下载ipk.zip,按教程安装即可。 https://www.right.com.cn/forum/thread-2562416-1-1.html  详情 回复 发表于 2020-4-29 15:24
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 10:48 | 显示全部楼层
cpu果然是blwm的锅,这货最近升级后不知道怎么就疯了,官方op下占用也明显比以前高
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-29 14:36 | 显示全部楼层
学习一下   
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-4-29 15:24 | 显示全部楼层
badcrazy 发表于 2020-4-29 10:46
不可描述普拉斯你可以搜我帖子用我编译的插件再装一遍,v2肯定是没问题的,我也用v2,订阅,导入都正常,不 ...

非常感谢大神,已按教程恢复了plus+菜单,并成功设置了V2瑞,plus+确实好用简单。

在下边帖子中下载ipk.zip,按教程安装即可。
https://www.right.com.cn/forum/thread-2562416-1-1.html
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 08:01

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表