[Pkg-utopia-maintainers] Bug#961951: network-manager: MAC address is not assigned automatically to Ethernet over USB interface
alfa omega
temporadis at mail.com
Sun May 31 23:13:37 BST 2020
Package: network-manager
Version: 1.14.6-2+deb10u1
Severity: important
Tags: a11y upstream
Dear Maintainer,
When I connect Ethernet over USB interface (Cellphone Tethering) the connection is not available in NetworkManager. Then I need to assign manull MAC address and then the connection becomes automatically.
To make useful the connection I need to run the following command as root:
root#link set dev enp0s20f0u1 address 00:00:00:00:00:01
The MAC address (00:00:00:00:00:01) can be a random value.
/var/log/messages
May 30 12:02:55 nameofpc kernel: rndis_host 1-1:1.0 eth0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, 00:00:00:00:00:00
May 30 12:02:55 nameofpc NetworkManager[1317]: <info> [1590832975.9829] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/10)
May 30 12:02:55 nameofpc mtp-probe[22190]: checking bus 1, device 24: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 30 12:02:57 nameofpc systemd-udevd[11330]: Using default interface naming scheme 'v240'.
May 30 12:02:57 nameofpc systemd-udevd[11330]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May 30 12:02:57 nameofpc kernel: rndis_host 1-1:1.0 enp0s20f0u1: renamed from eth0
May 30 12:02:57 nameofpc NetworkManager[1317]: <info> [1590832977.8099] device (eth0): interface index 10 renamed iface from 'eth0' to 'enp0s20f0u1'
May 30 12:02:57 nameofpc NetworkManager[1317]: <info> [1590832977.8192] device (enp0s20f0u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
May 30 12:02:57 nameofpc NetworkManager[1317]: <warn> [1590832977.8196] platform-linux: do-change-link[10]: failure changing link: failure 99 (Requested address cannot be assigned)
May 30 12:02:57 nameofpc kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u1: link is not ready
May 30 12:02:57 nameofpc mtp-probe[31016]: checking bus 1, device 24: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 30 12:02:57 nameofpc mtp-probe[31016]: bus: 1, device: 24 was not an MTP device
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9337] device (enp0s20f0u1): carrier: link connected
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9344] device (enp0s20f0u1): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9392] keyfile: add connection /run/NetworkManager/system-connections/Wired conection 2.nmconnection (267b823d-d35a-3de0-a5db-3a47f5a88258,"Wired conection 2")
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9397] settings: (enp0s20f0u1): created default wired connection 'Wired conection 2'
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9400] policy: auto-activating connection 'Wired conection 2' (267b823d-d35a-3de0-a5db-3a47f5a88258)
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9405] device (enp0s20f0u1): Activation: starting connection 'Wired conection 2' (267b823d-d35a-3de0-a5db-3a47f5a88258)
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9480] device (enp0s20f0u1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9486] device (enp0s20f0u1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9492] device (enp0s20f0u1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9495] dhcp4 (enp0s20f0u1): activation: beginning transaction (timeout in 45 seconds)
May 30 12:02:59 nameofpc NetworkManager[1317]: <info> [1590832979.9506] dhcp4 (enp0s20f0u1): dhclient started with pid 31019
May 30 12:02:59 nameofpc avahi-daemon[1331]: Joining mDNS multicast group on interface enp0s20f0u1.IPv6 with address fe80::853b:382:134e:8753.
May 30 12:02:59 nameofpc avahi-daemon[1331]: New relevant interface enp0s20f0u1.IPv6 for mDNS.
May 30 12:02:59 nameofpc avahi-daemon[1331]: Registering new address record for fe80::853b:382:134e:8753 on enp0s20f0u1.*.
May 30 12:02:59 nameofpc dhclient[31019]: DHCPREQUEST for 192.168.42.15 on enp0s20f0u1 to 255.255.255.255 port 67
May 30 12:03:00 nameofpc dhclient[31019]: DHCPACK of 192.168.42.15 from 192.168.42.129
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0326] dhcp4 (enp0s20f0u1): address 192.168.42.15
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0326] dhcp4 (enp0s20f0u1): plen 24 (255.255.255.0)
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0326] dhcp4 (enp0s20f0u1): gateway 192.168.42.129
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0326] dhcp4 (enp0s20f0u1): lease time 3600
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0326] dhcp4 (enp0s20f0u1): hostname 'nameofpc'
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0327] dhcp4 (enp0s20f0u1): nameserver '192.168.42.129'
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0327] dhcp4 (enp0s20f0u1): state changed unknown -> bound
May 30 12:03:00 nameofpc avahi-daemon[1331]: Joining mDNS multicast group on interface enp0s20f0u1.IPv4 with address 192.168.42.15.
May 30 12:03:00 nameofpc avahi-daemon[1331]: New relevant interface enp0s20f0u1.IPv4 for mDNS.
May 30 12:03:00 nameofpc avahi-daemon[1331]: Registering new address record for 192.168.42.15 on enp0s20f0u1.IPv4.
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0336] device (enp0s20f0u1): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0344] device (enp0s20f0u1): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0347] device (enp0s20f0u1): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
May 30 12:03:00 nameofpc dhclient[31019]: bound to 192.168.42.15 -- renewal in 1551 seconds.
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0449] policy: set 'Wired conection 2' (enp0s20f0u1) as default for IPv4 routing and DNS
May 30 12:03:00 nameofpc NetworkManager[1317]: <info> [1590832980.0544] device (enp0s20f0u1): Activation: successful, device activated.
May 30 12:03:00 nameofpc dbus-daemon[1311]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=1317 comm="/usr/sbin/NetworkManager --no-daemon ")
May 30 12:03:00 nameofpc systemd[1]: Starting Network Manager Script Dispatcher Service...
May 30 12:03:00 nameofpc dbus-daemon[1311]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 30 12:03:00 nameofpc systemd[1]: Started Network Manager Script Dispatcher Service.
May 30 12:03:00 nameofpc nm-dispatcher[31028]: req:1 'up' [enp0s20f0u1]: new request (1 scripts)
May 30 12:03:00 nameofpc nm-dispatcher[31028]: req:1 'up' [enp0s20f0u1]: start running ordered scripts...
May 30 12:03:00 nameofpc ModemManager[1300]: <info> Couldn't check support for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1': not supported by any plugin
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 10.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_DO.UTF-8, LC_CTYPE=es_DO.UTF-8 (charmap=UTF-8), LANGUAGE=es_DO:es (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages network-manager depends on:
ii adduser 3.118
ii dbus 1.12.16-1
ii init-system-helpers 1.56+nmu1
ii libaudit1 1:2.8.4-3
ii libbluetooth3 5.50-1.2~deb10u1
ii libc6 2.30-4
ii libcurl3-gnutls 7.68.0-1
ii libglib2.0-0 2.58.3-2+deb10u2
ii libgnutls30 3.6.13-2
ii libjansson4 2.12-1
ii libmm-glib0 1.10.0-1
ii libndp0 1.6-1+b1
ii libnewt0.52 0.52.21-4+b1
ii libnm0 1.14.6-2+deb10u1
ii libpam-systemd 241-7~deb10u4
ii libpolkit-agent-1-0 0.105-25
ii libpolkit-gobject-1-0 0.105-25
ii libpsl5 0.20.2-2
ii libreadline7 7.0-5
ii libselinux1 2.8-1+b1
ii libsystemd0 241-7~deb10u4
ii libteamdctl0 1.28-1
ii libudev1 241-7~deb10u4
ii libuuid1 2.33.1-0.1
ii lsb-base 10.2019051400
ii policykit-1 0.105-25
ii udev 241-7~deb10u4
ii wpasupplicant 2:2.7+git20190128+0c1e29f-6+deb10u2
Versions of packages network-manager recommends:
ii crda 3.18-1
ii dnsmasq-base [dnsmasq-base] 2.80-1
ii iptables 1.8.2-4
ii isc-dhcp-client 4.4.1-2
ii modemmanager 1.10.0-1
ii ppp 2.4.7-2+4.1+deb10u1
Versions of packages network-manager suggests:
pn libteam-utils <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network-manager-bug
Type: application/octet-stream
Size: 9571 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20200601/498f6e7e/attachment.obj>
More information about the Pkg-utopia-maintainers
mailing list