DHCP Server Configuration Problem

y vasavi y_vasavi at yahoo.com
Mon May 26 12:47:03 UTC 2008


cd  /etc

sudo vi dhcpd.conf 

or

su

vi dhcpd.conf

should do

--- 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, 6:07 PM

The problem is that when i do like that, the system read the file /etc/dhcpd.conf. And now, i can not modify the content of this file (as i have just written in the last email) 


 
DO Phan Cam Thach
email: dophancamthach at yahoo.co.uk



----- Original Message ----
From: Glenn Satchell <Glenn.Satchell at uniq.com.au>
To: dhcp-users at isc.org
Sent: Monday, 26 May, 2008 1:47:35 PM
Subject: Re: DHCP Server Configuration Problem


>Date: Mon, 26 May 2008 10:35:53 +0000 (GMT)
>From: DÔ Phan-Cam-Thach <dophancamthach at yahoo.co.uk>
>Subject: DHCP Server Configuration Problem
>To: dhcp-users at isc.org
>X-Spam-Level: ***
>X-archive-position: 6410
>X-ecartis-version: Ecartis v1.0.0
>X-original-sender: dophancamthach at yahoo.co.uk
>List-software: Ecartis version 1.0.0
>X-List-ID:
 <dhcp-users.isc.org>
>X-list: dhcp-users
>
>Hello all,
>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:
>./dhcpd.conf
>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.
>Thanks in advance.
>

Hi

You need to be root to start dhcpd, so two ways to do this on most
versions of Linux:

sudo service dhcpd start

su -
service dhcpd start

regards,
-glenn







      
Sent from Yahoo! Mail.


A Smarter Email.


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


More information about the dhcp-users mailing list