Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Lite - Debian Stretch next desktop - No nameserver in /etc/resolv.conf after connecting to WiFi

Featured Replies

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

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. 

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?

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  

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.