Re: Using openresolv with udhcpc?
Roy Marples
Wed Jul 17 14:57:36 2019
On 17/07/2019 15:10, Einar Jón wrote:
4) I need to borrow the /etc/network/if-down.d/resolvconf
/etc/network/if-up.d/000resolvconf files from the ubuntu package.
It's possible that the comment bug you are seeing is here.
What is the output of:
resolvconf -l
$ grep name /etc/network/interfaces.d/wwan0
dns-nameservers 8.8.8.8 #/etc/network/interfaces.d/wwan0 more text
$ resolvconf -l
# resolv.conf from lo.inet
# resolv.conf from eth0.udhcpc
search xxxxxx.com # eth0
nameserver 192.168.2.xx # eth0
# resolv.conf from eth1.inet
# resolv.conf from eth1.inet6
# resolv.conf from eth1:1.inet
# resolv.conf from eth1:2.inet
# resolv.conf from wwan0.udhcpc
nameserver 62.140.138.233 # wwan0
nameserver 62.140.140.251 # wwan0
# resolv.conf from wwan0.inet
nameserver 8.8.8.8
nameserver #/etc/network/interfaces.d/wwan0
nameserver more
nameserver text
# resolv.conf from eth0.inet
Bingo!!!
Looks like the error is from /etc/network/if-up.d/000resolvconf
So this is NOT a resolvconf bug, rather something that is calling
resolvconf.
Roy
Archive administrator: postmaster@marples.name