LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-14-2011, 12:23 AM   #1
rw3978748
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
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
 
Old 01-14-2011, 12:34 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
http://www.debianhelp.co.uk/dhcp.htm

This is how you configure dhcp server. You want to edit dhcpd.conf for server configuration.
 
Old 01-17-2011, 10:02 PM   #3
rw3978748
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
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#
 
Old 01-17-2011, 11:18 PM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
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.
 
  


Reply



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
Baffling DNS from a DHCP server problem. Appears to be ignoring dhcp.conf royce2020 Linux - Networking 1 02-16-2010 12:40 PM
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 09:48 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration