LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-10-2003, 12:41 AM   #1
ksgill
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


Hi,
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?

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

Rep: Reputation: 48
You can add the necessary lines toward the end of startup. . .
I have, at the end of /etc/rc.d/rc.inet1:
Code:
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.
 
  


Reply


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 09:08 AM
Mandrake adds unwanted entry to resolv.conf kmasaryk Mandriva 8 11-27-2004 04:40 PM
Mandrake 9.2, 80.11b Wireless Card, resolv.conf file? ImpiousPunk Linux - Newbie 2 11-24-2003 06:31 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 01:00 PM
resolv.conf is evil! (Mandrake 9.1) Tom Bozack Linux - Networking 4 06-26-2003 01:33 PM


All times are GMT -5. The time now is 11:04 PM.

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