kolio Posted October 29, 2017 Posted October 29, 2017 No nameserver in these files too /etc/resolvconf/run/resolv.conf /run/resolvconf/resolv.conf The nameserver is set in this file only /run/NetworkManager/resolv.conf This is the content of /etc/NetworkManager/NetworkManager.conf [main] dns=none plugins=ifupdown,keyfile [ifupdown] managed=true [keyfile] unmanaged-devices=interface-name:p2p0 These are relevant lines from systemd journal: Oct 29 21:47:24 orangepilite NetworkManager[507]: <info> [1509306444.9814] dhcp-init: Using DHCP client 'dhclient' Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.2421] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds) Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.2570] dhcp4 (wlan0): dhclient started with pid 771 Oct 29 21:47:29 orangepilite dhclient[771]: DHCPREQUEST of 192.168.143.42 on wlan0 to 255.255.255.255 port 67 Oct 29 21:47:29 orangepilite dhclient[771]: DHCPACK of 192.168.143.42 from 192.168.143.10 Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4358] dhcp4 (wlan0): address 192.168.143.42 Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4360] dhcp4 (wlan0): plen 24 (255.255.255.0) Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4361] dhcp4 (wlan0): gateway 192.168.143.10 Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4361] dhcp4 (wlan0): server identifier 192.168.143.10 Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4362] dhcp4 (wlan0): lease time 14400 Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4363] dhcp4 (wlan0): hostname 'orangepilite' Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4364] dhcp4 (wlan0): nameserver '192.168.143.10' Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4365] dhcp4 (wlan0): domain name 'lan' Oct 29 21:47:29 orangepilite NetworkManager[507]: <info> [1509306449.4366] dhcp4 (wlan0): state changed unknown -> bound IP address, netmask and default gateway are set as expected. Regards
pavel81 Posted December 5, 2017 Posted December 5, 2017 HI, If you want to get DNS IPs obtained from DHCP just add # before "dns=none" line in NetworkManager.conf file. It worked for me. 1
Larry Bank Posted January 19, 2018 Posted January 19, 2018 On 12/5/2017 at 2:41 AM, pavel81 said: HI, If you want to get DNS IPs obtained from DHCP just add # before "dns=none" line in NetworkManager.conf file. It worked for me. That worked - thanks. I just loaded the latest Armbian Next build and it's still messed up. Can someone please fix this?
Walker Posted June 20, 2018 Posted June 20, 2018 On 12/5/2017 at 8:41 AM, pavel81 said: HI, If you want to get DNS IPs obtained from DHCP just add # before "dns=none" line in NetworkManager.conf file. It worked for me. Thank you. This solved my nameserver issue in resolv.conf running Armbian_5.46.180602_Odroidxu4_Debian_stretch_dev_4.14.47
Recommended Posts