Moving towards NetworkManager

Rashkae ubuntu at tigershaunt.com
Tue Jul 26 22:19:23 UTC 2016


On 16-07-26 06:09 PM, Josef Wolf wrote:
> Here's what I see:
>
> 0. First of all, NM is not available on the server install CD. So I need a
>     working network to install NM. Somewhat ugly this bootstrap situation. I
>     decide to ignore this for now.
>
> 1. When the system is booted without ethernet-cable connected, it hangs for
>     about 6 minutes. After this time this routing information is added:
>
>    Dest            Router          Genmask         Flags Metric Ref    Use Iface
>    0.0.0.0         0.0.0.0         0.0.0.0         U     1002   0        0 enp0s25
>    169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 enp0s25
>
>    If I plug the ethernet cable later, the routing table won't be updated. I
>    need to manually do an ifdown/ifup cycle to get a working routing table:
>
>    Dest            Router          Genmask         Flags Metric Ref    Use Iface
>    0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 enp0s25
>    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp0s25
>    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 enp0s25
>
>    with my previous setup, I used ifplugd to change network configurations when
>    a cable is plugged. Won't NM take care of that?
>

It looks as though you bootrapped your network by adding your interface 
to the /etc/network/interfaces file
(This might have been done for your by the server install, which is the 
default behaviour, but is not meant to be used on conjection with Nework 
manager.  Network manager will deliberately ignore interfaces configured 
via interfaces)

Backup and edit your Interfaces file to remove everything except:

auto lo
iface lo inet loopback







More information about the ubuntu-users mailing list