![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2007
Beans: 1
|
resolv.conf getting overwritten
I use PPPOEConf for configuring my internet connection. Once my internet connection is configured, the resolv.conf gets updated with proper DNS values but once i reboot my system the resolv.conf gets overwritten with 192.168.1.1 and i dont want my resolv.conf from being modified. I need the values which i configured using pppoeconf to be preserved even after the system is rebooted. How do i stop this resolv.conf from being overwritten ?.
Due to this problem everytime i am made to run pppoeconf after every reboot and configure my internet connection again. Thanks Regards, Balaji |
|
|
|
|
|
#2 |
|
Iced Blended Vanilla Crème Ubuntu
![]() Join Date: Apr 2005
Location: Finland
My beans are hidden!
Hardy Heron (Ubuntu Development)
|
Re: resolv.conf getting overwritten
Possible work-around, remove write permissions:
Code:
sudo chmod a-w /etc/resolv.conf |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2006
Location: Bengaluru
Beans: 119
Ubuntu 8.04 Hardy Heron
|
Re: resolv.conf getting overwritten
The resolv.conf file will be overwritten by dhclient.conf. Make the changes you want in the latter file and it will be preserved over reboots
I changed the following two lines in the file dhclient.conf supersede domain-name "mydomain.com" prepend domain-name-server xxx.xxx.xxx.1, xxx.xxx.xxx.2 Girish
__________________
Shiny aroma black VAIO running minty Elyssa |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|