Ubuntu network frequent off-line solution

Source: Internet
Author: User

At the end of the year, the laboratory finally to a computer (Ubuntu system), Bo Master ecstatic Ah, but installed to find that wireless network frequently dropped, restart the network after the normal internet for 2-3 minutes and then drop the line, and then restart the internet for 2-3 minutes and then drop the line, Bo Lord that uncomfortable ah, so all kinds of reasons, Looking for an afternoon finally let Bo Master solved, take out to share a bit for you.

1. Open the configuration file/etc/ppp/options

sudo vi/etc/ppp/options

2. Find the following two lines of code in the options file


3. Change Lcp-echo-failure 4 to Lcp-echo-failure 15

4, restart the network, the perfect solution.

Solve the course also need to know the reason, not good reading superficial understanding.

Found the relevant explanation on the Internet:

Many of the PPP options are default, where the number of lcp-echo-failure is set to 4, and Lcp-echo-interval is set to 30 seconds. That is, if within 120 seconds, the ADSL server does not give back the echo-reply signal, Ubuntu will think that the network has gone wrong, will disconnect the network, make people very uncomfortable. The crux found, the problem will be solved, open the configuration file/etc/ppp/options, set the number of lcp-echo-failure to a larger number on the line, I will change this value to 15, the Internet is more smooth after. Think of the foreign devil set to 4 can be used, they have to network really good mother, evil capitalism ah.

Ubuntu network frequent off-line solution

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.