Showing results for 
Search instead for 
Did you mean: 

Boot server linux instalation

      Hi all!

      I installing a boot server linux, but i can't configure a new dhcp server in my network, does have some way to configure a linux boot server without configure the dhcpd deamon?

2 Replies

Re: Boot server linux instalation

   It is not importnant that dhcp should be running Just the presence of dhcpd and the configuration file is enough. Even if you try to start dhcp and if it errors out its not an issue.

Re: Boot server linux instalation

In fact, you need to have a correct /etc/dhcpd.conf file because when you do a "prepare to restore" on the master server, it try to start the DHCP service on the boot server. And if it fails, the "prepare to restore" returns an error. Here is the workaround I found.

I put a correct "content" in the /etc/dhcpd.conf :
log-facility local7;ddns-update-style none;ignore unknown-clients;subnet netmask { default-lease-time 600; max-lease-time 7200; option domain-name ""; option broadcast-address; option domain-name-servers,; option routers;}


And I did some modification to the /etc/init.d/dhcpd file in "start" section like the following :
start() { return 0 # Start daemons.# echo -n $"Starting $prog: "# daemon /usr/sbin/dhcpd ${DHCPDARGS}# RETVAL=$—# echo# [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd # return $RETVAL}

 I think it's possible to not use the /etc/dhcpd.conf file by doing others modification in /etc/init.d/dhcpd file but I don't have time to do this.