Comments (14)
我找时间看看吧,其实我有时候也会遇到,但也是概率性的。
我也就只能调调配置,不知道能不能修复。
from friendlywrt-nanopi-r2s.
https://github.com/fanck0605/nanopi-r2s/releases/tag/20200429
这是我自己电脑上编译的,你先试一下吧。我这边稍微测试了一下,没啥大问题。
from friendlywrt-nanopi-r2s.
嗯,我再测试两天看看
from friendlywrt-nanopi-r2s.
实测问题依旧
from friendlywrt-nanopi-r2s.
@lsl330 经过两天测试,最新版已修复该问题!以下为自动重连的效果图!Enjoy it!
from friendlywrt-nanopi-r2s.
目前仍然有概率奔溃,看您的脚本是用的 ifup wan
,实测可以解决问题。
但是系统日志中也有显示,ifup wan
还会导致防火墙的 reload
,
所以可以考虑一下单纯 reload
防火墙是否可以恢复网络,
因为我主要发现 wan
的确会正常的重连,而且可以获取 IP,很有可能只是 NAT 出现了问题。
@lsl330 如果有空的话,能否帮我一起做一下测试。
具体内容就是 PPPoE 断线后只 reload
防火墙是否可以恢复网络问题,方便我具体优化脚本。
毕竟我这里复现的概率也不大,而且每两天才被踢下线一次,这一个礼拜都不一定等的到,还是很需要有人帮忙。
您需要做的步骤。
- 关闭带 ifup wan 的守护脚本,并等待 PPPoE 重连后断网
- /etc/init.d/firewall reload 并查看网络是否恢复
- /etc/init.d/firewall restart 并查看网络是否恢复
- ifup wan 执行完这个网络肯定恢复了
另附上一个获取 PPPoE 的 interface 的代码,也许对你的脚本有帮助,
主要参考了 wireguard_watchdog#L54,jsonfilter 内置,无需安装
ubus -S call network.interface dump | jsonfilter -e '@.interface[@.up=true]' | jsonfilter -a -e '@[@.proto="pppoe"].interface'
from friendlywrt-nanopi-r2s.
我也来帮忙测试
from friendlywrt-nanopi-r2s.
9.1.1 FriendlyWrt更新说明:
内核升至5.4.40内核, 增强防火墙稳定性
官方更新内核后是否有解决问题呢?
from friendlywrt-nanopi-r2s.
9.1.1 FriendlyWrt更新说明:
内核升至5.4.40内核, 增强防火墙稳定性官方更新内核后是否有解决问题呢?
@ft5555 早就已经基本稳定了,你可以自己测试。
from friendlywrt-nanopi-r2s.
我这边测试目前没有问题。之前被T后无法重连的部分情况目前没有发生。
from friendlywrt-nanopi-r2s.
@CWZ7605 我也是偶尔,很难遇到,但确实会遇到。
from friendlywrt-nanopi-r2s.
@fanck0605 我再继续带着试试。辛苦老哥
from friendlywrt-nanopi-r2s.
@CWZ7605 就算复现了,也很难修,我也不一定有能力修,就这样吧
from friendlywrt-nanopi-r2s.
@jsenetkx klever1988的lean版pppoe拨号全部有问题,4月以后版本特别严重。尤其是开启ipv6后几乎是必然拨号失败。
minimal版就能正常开ipv6
我现在用5.4.40内核minimal版,自动重连上真的稳定太多。
from friendlywrt-nanopi-r2s.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from friendlywrt-nanopi-r2s.