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 |
anyone? :(
|
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 |
Quote:
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! :) |
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....:)
|
All times are GMT -5. The time now is 07:42 PM. |