dhcpcd-discuss

Re: Possible race condition in acquiring IP address results in no IP address acquired

Amit Uttamchandani

Mon Sep 15 01:51:35 2014

On Sun, Sep 14, 2014 at 04:05:23PM +0100, Roy Marples wrote:

[snip]

> > With dhcpcd's carrier management, the daemon itself is spawned for eth0
> > and then times out and exits (30s I think). So you're saying to set
> > dhcpcd timeout to 0 so that the daemon never exits and thus handles
> > carrier detection?
> 
> It's because you started it with zero flags and an interface.
> Try using the -M flag or not specifying an interface.
> If you wish to restrict interfaces, another option is to use the 
> allowinterface / denyinterface options in dhcpcd.conf

The manual says -M is master mode, couldn't find any other references to
master mode in the man pages, what does this do?

Yes, currently no interfaces are specified, dhcpcd is started up on
startup by /etc/init.d/dhcpcd which pretty much just launches
/sbin/dhcpcd without any options.

Thanks,
Amit

Follow-Ups:
Re: Possible race condition in acquiring IP address results in no IP address acquiredRoy Marples
References:
Possible race condition in acquiring IP address results in no IP address acquiredAmit Uttamchandani
Re: Possible race condition in acquiring IP address results in no IP address acquiredRoy Marples
Re: Possible race condition in acquiring IP address results in no IP address acquiredAmit Uttamchandani
Re: Possible race condition in acquiring IP address results in no IP address acquiredRoy Marples
Archive administrator: postmaster@marples.name