You are not logged in.
Hi guys,
for some time now, my dhcp client daemon forks to background before it actually gets the ip address from the server. This speeds up the boot process but other daemons depending on a established network connection won't start correctly. (For example ddclient, samba and ntpd) Stopping and starting these services manually usually solves the problem, but it would be better if they would work right from the start.
It is the default configuration, i did not make any chances to it. I tried to add -B to /etc/conf.d/dhcpd but then it will stop on 'Starting network…' because it seems to never go to background, even after getting the ip. Is there an option to wait only for the successful ip lease?
My daemons array looks like this
DAEMONS=(syslog-ng network crond ntpd ddclient sshd samba)
I'm using dhcpcd 5.6.0-1 and initscripts 2012.08.2-1.
Thank you! ![]()
Edit: Marked as solved and changed dhcpd to dhcpcd.
Last edited by silentsnake (2012-08-22 23:41:57)
Offline
Your post title and text mix dhcpd and dhcpcd. Pretty sure you just mean the later. The option you ask for is "--waitip" then. Not sure it will help though as other users struggle with it also currently. Give it a go.
Offline
You are perfectly right, I ment the client daemon. Sorry! Tried --waitip and it looks like that this has solved the problem.
Thanks a lot for your help! ![]()
Offline