文件位置:/etc/ppp/peers/dsl-provider
原始内容:
# Try to get the name server addresses from the ISP.
usepeerdns
修改为:
# Try to get the name server addresses from the ISP.
# usepeerdns
这样可以禁止ppp在建立ADSL连接后,自动清除/etc/resolv.conf中的namservers,并将从ISP处得到的DNS更新到该文件中。
注:看很多对此问题通过sysv-rc-conf的解决方法,试了一下,没起作用,我用的是6.06。查了一下ppp的shell文件和配置文件,照此修改后,经测试有效,在此分享。

Linux桌面:Xfce也可
简单易学 手把手教你
我的四个Linux桌面:G
Google Gadgets FOR L
Ubuntu 8.10开启3D养
Vista 下安装 Ubuntu
全面超越Vista的Ubunt
Fedora 10下开启绚目