You are not logged in.
I am setting up a PXE boot server so I can boot my netbook. I finished the part of guide setting up a tftpd server, but I am stuck with configuring my /etc/dhcpcd.conf
Right now my setup looks like this:
Router 192.168.0.1
'--> PXE server 192.168.0.125 (I made this a static IP)
'--> Netbook 192.168.0.100 (Random IP somewhere between 192.168.0.100 and 192.168.0.149)
'--> Computer 192.168.0.101
'--> Computer 192.168.0.102
Here is what I currently have for me /etc/dhcpcd.conf
# /etc/dhcpd.conf
option domain-name-servers 8.8.8.8, 8.8.4.4;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.49;
filename "pxelinux.0"; # the PXELinux boot agent
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}
Here is my router setup:
[root@localhost archie]# /etc/rc.d/dhcpd restart
:: Stopping DHCP Server [DONE]
:: Starting DHCP Server [FAIL]
What is wrong with my conf?
Offline
Usually on archlinux, you can find the log from the ISC DHCP server in /var/log/daemon.log, except if you have a custom syslog configuration. You can also start the ISC DHCP server in foreground with the -f option, that's always helpful when trying to troubleshoot something.
That said, your config looks fine on a syntax point of view, so I guess this has to do with your network configuration, i.e. you do not have any address in the 192.168.0.0/24 subnet on your host, or something alike, check the log.
Also, don't run two DHCP server on the same network segment, this is generally a bad idea, except if you want your DHCP clients to get random configuration.
Offline