dhcpcd-discuss

Re: blank resolv.conf

Jan Pohanka

Tue Nov 10 12:17:37 2020

> So you've already said where you should look.

Sorry for my misunderstanding, now I got it. You are absolutely right.
I have had eth0 interface specified in /network/interfaces with dhcp
option, I just haven't realized that this is the thing. ifup in
busybox is a binary not a script so it was not obvious at first for me
that it is starting dhcpcd.

Our application used a command ifdown eth0 && ifup eth0 to reload
configuration or restart the interface when needed. What would be a
correct alternative using dhcpcd? dhcpcd -n?
Can you also tell me what would be a correct approach to test if a
dhcp request failed and fallback static was used? I need to recheck
this periodically.

thanks
Jan

Follow-Ups:
Re: blank resolv.confRoy Marples
References:
blank resolv.confJan Pohanka
Re: blank resolv.confRoy Marples
Re: blank resolv.confJan Pohanka
Re: blank resolv.confRoy Marples
Re: blank resolv.confJan Pohanka
Re: blank resolv.confJan Pohanka
Re: blank resolv.confRoy Marples
Re: blank resolv.confJan Pohanka
Re: blank resolv.confRoy Marples
Re: blank resolv.confJan Pohanka
Re: blank resolv.confRoy Marples
Archive administrator: postmaster@marples.name