LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DHCP Server (https://www.linuxquestions.org/questions/linux-newbie-8/dhcp-server-856236/)

rw3978748 01-14-2011 12:23 AM

DHCP Server
 
I have a box that i set up debian on. I nave it going from my linksys wirless router to my box. I would like to set up a DCHP server where I can hook up a switch to eth1 so i could rout everything through the switch throught the debian box out to the net. When i rty to set up the DCHP server I get permission denied. Here is the command.

/etc/dhcp3/dhclient.conf
bash: /etc/dhcp3/dhclient.conf: Permission denied

Please provide some help to a newbe. I am trying to learn this as much as I can.

Thanks

linuxlover.chaitanya 01-14-2011 12:34 AM

http://www.debianhelp.co.uk/dhcp.htm

This is how you configure dhcp server. You want to edit dhcpd.conf for server configuration.

rw3978748 01-17-2011 10:02 PM

I tried that link. This as far as I get:

pluto:/home/reggie# /etc/dhcp3/dhcpd.conf
bash: /etc/dhcp3/dhcpd.conf: Permission denied
pluto:/home/reggie#

linuxlover.chaitanya 01-17-2011 11:18 PM

You need to edit the file. And it seems you are trying to execute it. Open the file in an editor of your choice and you will need to do that as root. If you are not already logged in as root, use sudo for the purpose.


All times are GMT -5. The time now is 08:22 PM.