LinuxQuestions.org
Visit Jeremy's Blog.
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 08-21-2013, 11:51 AM   #1
qweyu
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, 12:05 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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:

http://www.linuxfromscratch.org/blfs...et/dhcpcd.html

---------------------------
Steve Stites

Last edited by jailbait; 08-21-2013 at 07:15 PM.
 
Old 08-21-2013, 02:42 PM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,906

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


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


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

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