[Lubuntu 17.04] Network configuration not migrated to systemd

All questions and problems regarding the installation and upgrades of LXDE from USB Stick, Live CD or Web.
Locked
jman
Posts: 1
Joined: Sat Apr 15, 2017 8:28 am

[Lubuntu 17.04] Network configuration not migrated to systemd

Post by jman »

Hello,

I've just updated to Ubuntu 17.04 and noticed that the network configuration is now managed by systemd-resolver.
However - on my workstation - the network configuration was not properly migrated; I had to manually fiddle with systemd config files to have it working again.

Namely, I diagnosed that the DNS management was passed into systemd hands by reading 127.0.0.53 in /etc/resolf.conf.
I added a config file for my eth0 that looks like this:

Code: Select all

$ sudo cat /lib/systemd/network/80-container-eth.network
[Match]
Name=eth*
[Network]
DHCP=yes
[DHCP]
DNS=8.8.8.8
Gateway=192.168.0.1
(192.168.0.1 is my router, adjust as needed)

Then I've restarted the network service with

Code: Select all

sudo service network-manager restart
And everything was fine again.

Hope this saves some time to anyone that may be experiencing this issue.

p.s. LXPanel's network applet seems that in Ubuntu 17.04 does not manage anymore the network configuration (maybe due to the above).

Locked