Recently, when a large amount of network bandwidth is used for downloading or watching videos, the bandwidth PPPOE connection is unstable and often goes offline automatically, which seriously affects the download process and the fun of watching videos, for this reason, I refreshed the Openwrt firmware on the wireless route. Although some features were added and some bugs were fixed, the disconnection problem was still... bytes
However, because I saved the logs this time, I found some problems after I checked the logs.
Oct 14 15:55:10 OpenWrt daemon.info pppd [880]: No response to 5 echo-requests
Oct 14 15:55:10 OpenWrt daemon. notice pppd [880]: Serial link appears to be disconnected.
Oct 14 15:55:10 OpenWrt daemon.info pppd [880]: Connect time 15.4 minutes.
Oct 14 15:55:10 OpenWrt daemon.info pppd [880]: Sent 701691 bytes, received 1997292 bytes.
Oct 14 15:55:11 OpenWrt user.info firewall: removing wan (pppoe-wan) from zone wan
Oct 14 15:55:12 OpenWrt user. notice root: stopping ntpclient
Oct 14 15:55:16 OpenWrt daemon. notice pppd [880]: Connection terminated.
Oct 14 15:55:16 OpenWrt daemon. notice pppd [880]: Modem hangup
When the red part is displayed, the router considers the link to be broken because the echo response is returned for five times. 5 times it was normal for me to respond to massive bandwidth usage such as downloading, So I basically judged that this was a false positive =
Now that you have cheated on me, I am also deceiving you. I will change it to 10 thousand times for you. It is estimated that you will not be dropped. XD
Connect to the wireless route through SSH and use VIM to open the PPPOE configuration file. (If you have a third-party firmware, check the advanced options in the wireless route management panel, are there any options for the two parameters below)
Vim/etc/ppp/options
Then modify the relevant parameters:
Lcp-echo-interval 3600 # Sending interval seconds
Lcp-echo-failure 15000 #15000 unresponded disconnections
: Wq is saved and exited, and PPPOE is reconnected.
Of course, you don't need to change the number of times as exaggerated as I do. After the change in the afternoon, I have been disconnected so far.
Good luck.