[Pkg-utopia-maintainers] Bug#755202: network-manager: Bug also present in Raspbian Jessie
Jan Heitkoetter
jan at heitkoetter.net
Tue Jan 26 22:17:33 UTC 2016
Package: network-manager
Version: 0.9.10.0-7
Followup-For: Bug #755202
Dear Maintainer,
It occours to me that this bug is still present in Raspbian Jessie.
I'm trying to set up eth0 with static IP.
/etc/network/interfaces:
# Please note that this file is written to be used with dhcpcd.
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'.
auto lo
iface lo inet loopback
#auto eth0
#iface eth0 inet dhcp
#auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
Rebooting after installing network-manager, network-manager has automatically created a connection 16a3... using device eth0 and DHCP:
root at himbeere2:/home/jan# nmcli c s
NAME UUID TYP GERÄT
eth0 16a38f40-3cd1-4794-a7b3-e86c318546ca 802-3-ethernet eth0
Now editing this connection:
root at himbeere2:/home/jan# nmcli c e eth0
===| nmcli interaktiver Verbindungs-Editor |===
Bestehende Verbindung »802-3-ethernet« wird bearbeitet: »eth0«
[setting static IP etc.]
nmcli> save
Saving the connection with 'autoconnect=yes'. That might result in an immediate activation of the connection.
Do you still want to save? (ja/nein) [ja]
Verbindung »eth0« (16a38f40-3cd1-4794-a7b3-e86c318546ca) erfolgreich aktualisiert.
nmcli> quit
Reboot and see what happens:
root at himbeere2:/home/jan# reboot
[...]
jan at himbeere2:~$ sudo nmcli c s
[sudo] password for jan:
NAME UUID TYP GERÄT
eth0 84150a4e-91b0-446d-b324-4298ff3b1d77 802-3-ethernet eth0
eth0 16a38f40-3cd1-4794-a7b3-e86c318546ca 802-3-ethernet --
network-manager has created another connection 8415... claiming device eth0 and using DHCP. It does so after each reboot. I would expect network-manager to use the existing connection 16a3...
No conffile for 8415...:
jan at himbeere2:~$ ls -l /etc/NetworkManager/system-connections/
insgesamt 4
-rw------- 1 root root 267 Jan 26 22:52 eth0
Conffile for 16a3... is there (contents OK):
jan at himbeere2:~$ sudo grep uuid /etc/NetworkManager/system-connections/eth0
uuid=16a38f40-3cd1-4794-a7b3-e86c318546ca
/etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
Regards
Jan
P.S. Does nobody take care about all those spam replies?
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Architecture: armv7l
Kernel: Linux 4.1.15-v7+ (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages network-manager depends on:
ii adduser 3.113+nmu3
ii dbus 1.8.20-0+deb8u1
ii init-system-helpers 1.22
ii isc-dhcp-client 4.3.1-6+deb8u2
ii libc6 2.19-18+deb8u2
ii libdbus-1-3 1.8.20-0+deb8u1
ii libdbus-glib-1-2 0.102-1
ii libgcrypt20 1.6.3-2
ii libglib2.0-0 2.42.1-1
ii libgnutls-deb0-28 3.3.8-6+deb8u3
ii libgudev-1.0-0 215-17+deb8u3
ii libmm-glib0 1.4.0-1
ii libndp0 1.4-2
ii libnewt0.52 0.52.17-1
ii libnl-3-200 3.2.24-2
ii libnl-genl-3-200 3.2.24-2
ii libnl-route-3-200 3.2.24-2
ii libnm-glib4 0.9.10.0-7
ii libnm-util2 0.9.10.0-7
ii libpam-systemd 215-17+deb8u3
ii libpolkit-gobject-1-0 0.105-8
ii libreadline6 6.3-8
ii libsoup2.4-1 2.48.0-1
ii libsystemd0 215-17+deb8u3
ii libteamdctl0 1.12-2
ii libuuid1 2.25.2-6
ii lsb-base 4.1+Debian13+rpi1+nmu1
ii policykit-1 0.105-8
ii udev 215-17+deb8u3
ii wpasupplicant 2.3-1+deb8u3
Versions of packages network-manager recommends:
ii crda 3.13-1
ii dnsmasq-base 2.72-3+deb8u1
ii iptables 1.4.21-2
ii iputils-arping 3:20121221-5
ii modemmanager 1.4.0-1
ii ppp 2.4.6-3.1
Versions of packages network-manager suggests:
pn avahi-autoipd <none>
pn libteam-utils <none>
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list