DHCP Server Configuration Problem

Simon Hobson dhcp1 at thehobsons.co.uk
Mon May 26 10:56:39 UTC 2008

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

More information about the dhcp-users mailing list