OpenWrt Forum Archive

Topic: dnsmasq removed + S50dnsmasq disabled = udhcpc still starts on bootup

The content of this topic has been archived on 1 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all!

I've deinstalled dnsmasq and disabled S50dnsmasq but after every bootup I have a new udhcpc process. Why? I can't find who starts udhcpc. If I search I'll found one line with udhcpc...

root@OpenWrt:/etc/init.d# cat * | grep udhcpc
udhcpc -n -q -R -s /bin/true -i $ifname >&- || {

That's the same as...

root@OpenWrt:/etc/init.d# cat S50dnsmasq | grep udhcpc
udhcpc -n -q -R -s /bin/true -i $ifname >&- || {

And S50dnsmasq is disabled. So, who starts udhcpc? Where can I disable it?

Thanks!

If you set wan_proto="static" and "ifup wan" or reboot than udhcpc (a DHCP client) is gone.

The discussion might have continued from here.