[Pkg-utopia-maintainers] Bug#771077: changes mac address of eth0 of every disconnect

Martin Steigerwald ms at teamix.de
Wed Nov 26 15:25:03 UTC 2014


Package: network-manager
Version: 0.9.10.0-3
Severity: important

Hello!

On disconnecting from eth0 via KDE/Plasma network manager applet something
changes the MAC address of the interface. And on reconnecting is uses that
changed MAC address.

I don´t know whether it is Network Manager or Systemd or something, and while
this may be a nice privacy feature I want this to stop. On company network,
various work related networks and home network the laptop is recognized by
its MAC address and thus I want it to be persistent.

Its a disruptive change I totally did not ask for.


merkaba:~> ip link set dev eth0  address aa:bb:cc:dd:ee:ff
merkaba:~> ip link show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

[where aa:bb:cc:dd:ee:ff stands for original MAC address]

merkaba:~> echo Going online via applet
Going online via applet
merkaba:~> ip link show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

merkaba:~> echo Going offline via applet
Going offline via applet
merkaba:~> ip link show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 00:0c:52:32:2f:c6 brd ff:ff:ff:ff:ff:ff


I don´t know who added

no-auto-default=aa:bb:cc:dd:ee:ff,

in /etc/NetworkManager/NetworkManager.conf as I just dpkg --force-all --purge
and reinstalled it and verified the configuration did not contain this line.

Other probably related configuration files:

merkaba:/lib/systemd> cat network/99-default.link 
[Link]
NamePolicy=database onboard slot path
MACAddressPolicy=persistent

This seems to be the right setting.

I also verified that no MAC address change happens when cycling through

- killall dhclient
- ip link set eth0 down
- ip link set eth0 up
- dhclient eth0


The bug

#755202 network-manager: keeps creating and using new connection "eth0" that does not work

may be related. I also see some "eth0" network in the applet in addition to my
"Kabel" (wired) network.

merkaba:~> cat /etc/NetworkManager/system-connections/Kabel
[ethernet]
mac-address=AA:BB:CC:DD:EE:FF

[connection]
id=Kabel
uuid=[some UUID]
type=ethernet

[ipv6]
method=ignore

[ipv4]
method=auto
dhcp-client-id=merkaba


I really have no idea on how to debug as I do not understand where to look.

Thanks,
Martin

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-rc6-tp520 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.8.12-1
ii  init-system-helpers    1.22
ii  isc-dhcp-client        4.3.1-5
ii  libc6                  2.19-13
ii  libdbus-1-3            1.8.12-1
ii  libdbus-glib-1-2       0.102-1
ii  libgcrypt20            1.6.2-4
ii  libglib2.0-0           2.42.1-1
ii  libgnutls-deb0-28      3.3.8-5
ii  libgudev-1.0-0         215-6
ii  libmm-glib0            1.4.0-1
ii  libndp0                1.4-2
ii  libnewt0.52            0.52.17-1+b1
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-3
ii  libnm-util2            0.9.10.0-3
ii  libpam-systemd         215-6
ii  libpolkit-gobject-1-0  0.105-7
ii  libreadline6           6.3-8+b1
ii  libsoup2.4-1           2.48.0-1
ii  libsystemd0            215-6
ii  libteamdctl0           1.12-1
ii  libuuid1               2.25.2-3
ii  lsb-base               4.1+Debian13+nmu1
ii  policykit-1            0.105-7
ii  udev                   215-6
ii  wpasupplicant          2.3-1

Versions of packages network-manager recommends:
ii  crda          3.13-1
ii  dnsmasq-base  2.72-2
ii  iptables      1.4.21-2+b1
ii  modemmanager  1.4.0-1
ii  ppp           2.4.6-3

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-4+b1
pn  libteam-utils  <none>

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
no-auto-default=f0:de:f1:5b:15:44,
[ifupdown]
managed=false


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list