A solution for frequent disconnection of PPPOE bandwidth dialing

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.