Disable ppp automatic cleanup and DNS modification when accessing the Internet through ADSL in ubuntu
Source: Internet
Author: User
File Location:/etc/ppp/peers/dsl-provider original content: # TrytogetthenameserveraddressesfromtheISP. usepeerdns: # TrytogetthenameserveraddressesfromtheISP. # usepeerdns prevents ppp from automatically clearing/file location after establishing an ADSL connection:/etc/ppp/peers/dsl-provider
Original content:
# Try to get the name server addresses from the ISP.
Usepeerdns
To:
# Try to get the name server addresses from the ISP.
# Usepeerdns
This prevents the ppp from automatically clearing the namservers in/etc/resolv. conf after establishing an ADSL connection and updating the DNS obtained from the ISP to the file.
Note: I tried to solve this problem by using sysv-rc-conf. It didn't work. I used 6.06. Check the shell file and configuration file of ppp. After modification, it is tested to be valid and shared here.
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