DHCP Server Configuration Problem

y vasavi y_vasavi at yahoo.com
Mon May 26 12:20:11 UTC 2008

give the command 

locate dhcpd

find the path of the dhcpd, let us suppose it is /usr/sbin/dhcpd


locate dhcpd.conf

find the path of the dhcpd.conf, if you dont find one then create a configuration file

lets suppose it is /etc/dhcpd.conf

then give the command

/usr/sbin/dhcpd  -cf /etc/dhcpd.conf 

hope this helps


--- On Mon, 5/26/08, DÔ Phan-Cam-Thach <dophancamthach at yahoo.co.uk> wrote:
From: DÔ Phan-Cam-Thach <dophancamthach at yahoo.co.uk>
Subject: Re: DHCP Server Configuration Problem
To: dhcp-users at isc.org
Date: Monday, May 26, 2008, 5:20 PM

Firstly, thanks for your answer.
My distribution est Ubuntu 8.04. I installed dhcpd from source sur le site de isc. And i have tried with sudo, so i was in the root mode.
I haven't found the file dhcpd.conf in /etc/init.d either.
For more info. Hope that this infos will help you to find out a solution. Thanks so much.
DO Phan Cam Thach
email: dophancamthach at yahoo.co.uk

----- Original Message ----
From: Simon Hobson <dhcp1 at thehobsons.co.uk>
To: dhcp-users at isc.org
Sent: Monday, 26 May, 2008 12:56:39 PM
Subject: Re: DHCP Server Configuration Problem

DÔ Phan-Cam-Thach wrote:

>i now have a server configuration problem. There 
>is no problem when i try to modify the 
>configuration infos in the file dhcpd.conf for 
>configuring the server. But when i execute the 
>server by the command:
>there is a warning : unable to create icmp socket: operation not permitted
>                                    /etc/dhcpd.conf not found
>So that i creat un file whose name is dhcpd.conf in /etc
>But i can not modify the content of this file, even can
 not use this command:
>cat /dhcp/server/dhcpd.conf  > /etc/dhcpd.conf
>I know this question is very simple. But i'm a 
>beginner in Linux. So hope that someone will 
>help me with his answer.

You need to provide some information !

What OS/Distribution are you running ?
How did you install DHCPD - from source, from package for your OS ?
Are you logged in as a regular user or root ?

Many distributions put the config files in 
different places - for example Debian Etch puts 
the config files in /etc/dhcp3/. Similarly, most 
packaged installations also provide scripts for 
starting/stopping the service and applying config 
options - again for Debian this would be 
/etc/init.d/dhcpd [start | stop | restart ] for 
control and defaults for command line options 
would be specified in /etc/default/dhcpd

Sent from Yahoo! Mail.

A Smarter Email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080526/177e1b18/attachment.html>

More information about the dhcp-users mailing list