Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-09-2003, 11:41 PM   #1
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Mandrake changes my /etc/resolv.conf

Everytime I reboot my machine, mandrake changes the /etc/resolv.conf file so I have problems connecting to my new dialup connection (It changes it to my broadband configuration). Does anyone know how I can stop it from doing that?

Old 07-10-2003, 12:05 AM   #2
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
You can add the necessary lines toward the end of startup. . .
I have, at the end of /etc/rc.d/rc.inet1:
echo nameserver XXX.XXX.XXX.XXX >> /etc/resolv.conf
/etc/rc.d/rc.inet1 is the shell script which sets up the networking devices. You won't find this file on MDK, but there is a similar config file somewhere under /etc.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who changes /etc/resolv.conf? lmp Debian 4 11-29-2005 08:08 AM
Mandrake adds unwanted entry to resolv.conf kmasaryk Mandriva 8 11-27-2004 03:40 PM
Mandrake 9.2, 80.11b Wireless Card, resolv.conf file? ImpiousPunk Linux - Newbie 2 11-24-2003 05:31 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
resolv.conf is evil! (Mandrake 9.1) Tom Bozack Linux - Networking 4 06-26-2003 12:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration