Help answer threads with 0 replies.
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 08-21-2013, 10:51 AM   #1
LQ Newbie
Registered: Jan 2012
Location: Kampala - Uganda
Distribution: Slackware 14.1
Posts: 21

Rep: Reputation: Disabled
editing resolv.conf

hi good people,

am trying to vi my nameservers in /etc/resolv.conf bu t keep getting this "Generated by dchpcd ...."" being inputed instead. by the way this is slackware 13.0 and am new to this stuff.
Old 08-21-2013, 11:05 AM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
DHCP is the program which automagically configures your internet connection every time you boot up. So when you configure /etc/resolv.conf then DHCP is overwriting what you entered the next time DHCP runs. You can modify how DHCP configures resolv.conf by modifying /lib/dhcpcd/dhcpcd-hooks.

You can learn how to modify what DHCP sets up by beginning at this web page:

Steve Stites

Last edited by jailbait; 08-21-2013 at 06:15 PM.
Old 08-21-2013, 01:42 PM   #3
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,345

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Take at a look at this about about halfway down under network configuration paramters. If your wanting the resolve.conf file to not change for dial-up then edit /etc/ppp/resolv.conf


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
How to change nameservers WITHOUT editing resolv.conf??? zeeple Linux - Newbie 3 12-02-2008 01:29 PM
Editing /etc/resolv.conf keysorsoze Red Hat 2 04-13-2007 10:49 PM
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 09:21 AM
resolv.conf Snump Mandriva 54 10-31-2004 04:16 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration