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