No more IPv4 address after boot up since NM 0.9.10



Since Network Manager 0.9.10, up to current version 1.0, I have the
problem that I don't get an IPv4 address on my Debian Jessie system. I
only have an IPv6 address which I receive through SLAAC. Network Manager
appears to create a broken connection "eth0" every time I boot up my
system, and selects this by default. I have to manually select "Wired
Connection 1" to get an IPv4 address. I can delete this broken eth0
connection, but at the next boot, it's back again and selected by
default. Also enabling IPv4 in this eth0 connection does not work: it is
disabled again at the next boot.

Some other people are seeing this as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755202

This is what I see right after boot up:
# nmcli c show
NAME                UUID                                  TYPE            DEVICE 
eth0                07ecf73d-d060-48a0-8e71-c0838bdd02c5  802-3-ethernet  eth0   
Wired connection 1  0934013f-82d4-48e4-9f5e-7b75074ace83  802-3-ethernet  --     

# nmcli c show eth0
connection.id:                          eth0
connection.uuid:                        07ecf73d-d060-48a0-8e71-c0838bdd02c5
connection.interface-name:              eth0
connection.type:                        802-3-ethernet
connection.autoconnect:                 no
connection.autoconnect-priority:        0
connection.timestamp:                   1425321997
connection.read-only:                   no
connection.permissions:                 
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.secondaries:                 
connection.gateway-ping-timeout:        0
802-3-ethernet.port:                    --
802-3-ethernet.speed:                   0
802-3-ethernet.duplex:                  --
802-3-ethernet.auto-negotiate:          yes
802-3-ethernet.mac-address:             BC:5F:F4:38:BE:84
802-3-ethernet.cloned-mac-address:      --
802-3-ethernet.mac-address-blacklist:   
802-3-ethernet.mtu:                     auto
802-3-ethernet.s390-subchannels:        
802-3-ethernet.s390-nettype:            --
802-3-ethernet.s390-options:            
ipv4.method:                            disabled
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.addresses:                         
ipv4.gateway:                           --
ipv4.routes:                            
ipv4.route-metric:                      -1
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv6.method:                            auto
ipv6.dns:                               
ipv6.dns-search:                        
ipv6.addresses:                         
ipv6.gateway:                           --
ipv6.routes:                            
ipv6.route-metric:                      -1
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
GENERAL.NAME:                           eth0
GENERAL.UUID:                           07ecf73d-d060-48a0-8e71-c0838bdd02c5
GENERAL.DEVICES:                        eth0
GENERAL.STATE:                          activated
GENERAL.DEFAULT:                        no
GENERAL.DEFAULT6:                       yes
GENERAL.VPN:                            no
GENERAL.ZONE:                           --
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/1
GENERAL.SPEC-OBJECT:                    /
GENERAL.MASTER-PATH:                    --
IP4.GATEWAY:                            
IP6.ADDRESS[1]:                         2a02:1812:1710:b900:be5f:f4ff:fe38:be84/64
IP6.ADDRESS[2]:                         fe80::be5f:f4ff:fe38:be84/64
IP6.GATEWAY:                            fe80::5e35:3bff:fe9a:aad2

The logs contain this:
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  update_system_hostname
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>        interface-parser: parsing file 
/etc/network/interfaces
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>        interface-parser: finished parsing file 
/etc/network/interfaces
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  management mode: unmanaged
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  devices added (path: 
/sys/devices/pci0000:00/0000:00:1c.5/0000:05:00.0/net/eth0, iface: eth0)
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  device added (path: 
/sys/devices/pci0000:00/0000:00:1c.5/0000:05:00.0/net/eth0, iface: eth0): no ifupdown configuration found.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  devices added (path: /sys/devices/virtual/net/lo, 
iface: lo)
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  device added (path: /sys/devices/virtual/net/lo, iface: 
lo): no ifupdown configuration found.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  end _init.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To 
report bugs please use the NetworkManager mailing list.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded plugin keyfile: (c) 2007 - 2013 Red Hat, Inc.  
To report bugs please use the NetworkManager mailing list.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  new connection 
/etc/NetworkManager/system-connections/Wired connection 1
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  get unmanaged devices count: 0
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  monitoring kernel firmware directory '/lib/firmware'.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  monitoring ifupdown state file '/run/network/ifstate'.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded device plugin: 
/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded device plugin: 
/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded device plugin: 
/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded device plugin: 
/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Loaded device plugin: 
/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-team.so
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  WiFi enabled by radio killswitch; enabled by state file
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  WWAN enabled by radio killswitch; enabled by state file
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  WiMAX enabled by radio killswitch; enabled by state file
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  Networking is enabled by state file
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (lo): link connected
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (lo): carrier is ON
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (lo): new Generic device (driver: 'unknown' ifindex: 1)
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (lo): exported as 
/org/freedesktop/NetworkManager/Devices/0
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): link connected
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): carrier is ON
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): exported as 
/org/freedesktop/NetworkManager/Devices/1
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): device state change: unmanaged -> unavailable 
(reason 'connection-assumed') [10 20 41]
Mar  2 19:46:37 piranha systemd[1]: Started Network Manager.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): device state change: unavailable -> 
disconnected (reason 'connection-assumed') [20 30 41]
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  startup complete
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: starting connection 'eth0'
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 1 of 5 (Device Prepare) 
scheduled...
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 1 of 5 (Device Prepare) 
started...
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): device state change: disconnected -> prepare 
(reason 'none') [30 40 0]
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 2 of 5 (Device Configure) 
scheduled...
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 1 of 5 (Device Prepare) 
complete.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 2 of 5 (Device Configure) 
starting...
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): device state change: prepare -> config (reason 
'none') [40 50 0]
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 2 of 5 (Device Configure) 
successful.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 3 of 5 (IP Configure Start) 
scheduled.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 2 of 5 (Device Configure) 
complete.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 3 of 5 (IP Configure Start) 
started...
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): device state change: config -> ip-config 
(reason 'none') [50 70 0]
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 5 of 5 (IPv6 Commit) 
scheduled...
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: Stage 3 of 5 (IP Configure Start) 
complete.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  (eth0): Activation: successful, device activated.
Mar  2 19:46:37 piranha systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar  2 19:46:37 piranha systemd[1]: Started Network Manager Script Dispatcher Service.
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  ModemManager disappeared from bus
Mar  2 19:46:37 piranha NetworkManager[9612]: <info>  ModemManager available in the bus
Mar  2 19:46:39 piranha NetworkManager[9612]: <info>  NetworkManager state is now CONNECTED_GLOBAL
Mar  2 19:46:39 piranha NetworkManager[9612]: <info>  Policy set 'eth0' (eth0) as default for IPv6 routing 
and DNS.
Mar  2 19:46:39 piranha NetworkManager[9612]: <info>  wpa_supplicant started

/etc/network/interfaces does not contain any entry for eth0.

# cat /etc/NetworkManager/NetworkManager.conf 
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

This problem did not occur with versions older than 0.9.10.

Is there more information needed to debug this problem?

-- 
Frederik Himpe <frederik frehi be>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]