- Open profile /etc/ppp/options
sudo vi /etc/ppp/options
- stay options Find the following two lines of code in the file
lcp-echo-failure 4 lcp-echo-interval 30
3. hold lcp-echo-failure 4 Change it to lcp-echo-failure 15
4. Restart the network
service networking restart
among lcp-echo-failure The number of times is set to 4, and lcp-echo-interval Set to 30 second . in other words , If 120 Within seconds, ,ADSL The server didn't give back echo-reply The signal ,UBuntu I think there's something wrong with the Internet , You'll be disconnected from the network , It makes people very uncomfortable . The crux is found , The problem is about to be solved , Open profile /etc/ppp/options, take lcp-echo-failure Just set the number of times to a larger number , I changed the value to 15, The back of the Internet is relatively smooth .