Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-06-2012, 11:06 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 14

Rep: Reputation: Disabled
Help configuring DHCP in Slackware

Good Night everyone, I have been trying to setup a slackware DHCP server in my home network to remove the DHCP server from my wireless AP and to get more experience with Slackware and linux on a whole.

I have sucessfully configured the server

Installed the rc.dhcpd script
Made it Executable
Installed the dhcpd.conf in /etc/dhcp.conf

and got it to run
it shows my PID when I run ./rc.dhcpd status

however when any client tries to connnect to the network they send out the DHCP query broadcast, they detect the carrier etc...
BUT they are assigned the APIPA address

I'm not sure where I am going wrong? as the server has the following static assignment

Server IP 192.168.1.X
Old 11-07-2012, 10:37 AM   #2
LQ Newbie
Registered: Nov 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Old 11-07-2012, 06:31 PM   #3
LQ Newbie
Registered: Nov 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled

Do the following to create a lease log file and add it to the DHCP server configuration file. This file keeps a record of all the leases issued by the DHCP server.

create /var/lib/dhcp
create /var/lib/dhcp/dhcp.leases
Added lease-file-name "/var/lib/dhcp/dhcp.leases" to /etc/dhcp.conf

And to get it to start at boot time: (Figured this out with a little common sense as it was missing )


# Start DHCP daemon
if [ -x /etc/rc.d/rc.dhcpd ]; then
/etc/rc.d/dhcpd start

Last edited by dj_nexxus; 11-07-2012 at 06:33 PM.
Old 11-07-2012, 07:13 PM   #4
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware 14.2 RC 2. Also some FreeBSD.
Posts: 116

Rep: Reputation: 52
Originally Posted by dj_nexxus View Post
You would probably get a much faster and Slackware specific response in the Slackware sub-forum.

Great job getting it figured out! And super great job posting your solution! Nothing worse then someone figuring out their issue and then just posting "I got it fixed" with no details.

Good luck in your travels with Linux and with Slackware!
Old 11-07-2012, 10:46 PM   #5
LQ Newbie
Registered: Nov 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks a lot, actually was focusing so much on learning linux and using the system, I did not really nose around the site or realise there was a Slackware specific subsection...thanks for the heads up and the encouragement....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configuring DHCP Network with Slackware 12.1 oranyelik Slackware 5 08-02-2008 04:13 AM
Configuring 2 NICs on Slackware with DHCP pazkaw Linux - Networking 8 01-04-2006 01:23 PM
configuring dhcp eddie700 Fedora 2 10-09-2005 11:49 AM
Configuring DNS and DHCP plehman Linux - Networking 3 03-24-2005 05:21 PM
DHCP and DNS and configuring both... wlewis Linux - Networking 2 07-20-2002 02:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 PM.

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