Review your favorite Linux distribution.
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 03-21-2005, 09:03 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
Cant find dhcpcd.conf in \etc\.

I m new to Linux, I am trying to run DHCP server. I have installed dhcpd package (rpm) from CD Redhat 8.0, it was installed properly but i cant find dhcpd.conf file anywhere for modification. Pls help me. dhcpd and dhcpd relay serives are running fine.
Old 03-21-2005, 10:04 AM   #2
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Try locate dhcpd.conf ( as root )

Otherwise just create your own.

mah dhcpd.conf might be of help too.
Old 03-21-2005, 02:33 PM   #3
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
I had the same question. The answer is simple, it isn't created by default, I had to create it on my own.
Old 03-21-2005, 08:25 PM   #4
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Did you look in /etc/confd/ ?
Old 03-21-2005, 10:58 PM   #5
LQ Newbie
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for reply. I am working as root but could not find in any directory. For creating from scratch is there any sample?or i'll have to write all the things? if anyone can send me sample file.
Old 03-22-2005, 01:38 AM   #6
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
Sample dhcpd.conf

Sure. Here's mine
ddns-update-style none;
subnet netmask
option domain-name-servers my.dns.server.1, my.dns.server.2;
option routers;
option subnet-mask;
default-lease-time 86400;
max-lease-time 604800;
It's quite a simple setup, which allocates IP's from, set's their DNS and gateway (option routers) and a lease time (86400=1day). If you need something more complicated, I suggest you read the man for dhcpd.conf and dhcpd.
Old 03-22-2005, 01:45 AM   #7
Red Hat India
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
hi guys,
please use the sample file in /usr/share/doc/dhcp/dhcpd.conf.sample. copy it to /etc/dhcpd.conf and configure it to your needs.


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
can't find modules.conf under /etc 1sciroccofahrer Linux - Newbie 7 04-20-2005 06:01 PM
resolv.conf ifup dhcpcd not working together andrewguy9 Linux - Wireless Networking 1 03-19-2005 02:43 PM
resetting dhcpcd to find ip on another network chuck_notorious Linux - Networking 0 11-03-2004 05:33 AM
Why can't I find dhcpcd ? ozstar Linux - Networking 4 11-03-2003 05:22 AM
dhcp.conf can't find in rh 7.1 xtian500 Linux - Software 1 11-09-2001 12:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 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