LinuxQuestions.org
Help answer threads with 0 replies.
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 11-07-2012, 12:06 AM   #1
dj_nexxus
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 169.254.167.157

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

Server IP 192.168.1.X
Mask: 255.255.255.0
Gateway: 192.168.1.1
Pool 192.168.1.10 192.168.1.99
 
Old 11-07-2012, 11:37 AM   #2
dj_nexxus
LQ Newbie
 
Registered: Nov 2012
Posts: 14

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

Original Poster
Rep: Reputation: Disabled
FIXED!!!

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 )

Added:

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

Last edited by dj_nexxus; 11-07-2012 at 07:33 PM.
 
Old 11-07-2012, 08:13 PM   #4
Fred-1.2.13
Member
 
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
Quote:
Originally Posted by dj_nexxus View Post
anyone?
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, 11:46 PM   #5
dj_nexxus
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....
 
  


Reply


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


All times are GMT -5. The time now is 08:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration