Public bug reported: Since upgrading to Ubuntu 21.04 (Hirsute), every time I suspend the system and then resume it later, my wired network connection (in my case, interface `enp4s0`) fails to connect and NetworkManager simply reports that activating the connection failed, even though the connection worked fine before the suspend.
Studying the NetworkManager logs shows the following lines multiple times: NetworkManager[114707]: <info> [1624027125.5781] device (enp4s0): Activation: starting connection 'Wired connection 1' (65460d17-322e-343a-90a6-1f00ac9c86b7) NetworkManager[114707]: <info> [1624027125.5785] device (enp4s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') NetworkManager[114707]: <info> [1624027125.5788] manager: NetworkManager state is now CONNECTING [114707]: <info> [1624027125.5790] device (enp4s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') [114707]: <info> [1624027125.5794] device (enp4s0): state change: config -> failed (reason 'config-failed', sys-iface-state: 'managed') [114707]: <info> [1624027125.5797] manager: NetworkManager state is now DISCONNECTED [114707]: <warn> [1624027125.5803] device (enp4s0): Activation: failed for connection 'Wired connection 1' I tried restarting NetworkManager but to no success. As far as I know, only rebooting the system solves the problem. `ifconfig` shows the interface with no ip address. I attached the full NetworkManager log to this report. At 16:03, the computer is suspended and it wakes up at 16:30. At 16:38 I tried manually restarting NetworkManager but to no success. ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: network-manager 1.30.0-1ubuntu3 ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17 Uname: Linux 5.11.0-18-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Jun 18 17:09:50 2021 InstallationDate: Installed on 2020-03-24 (450 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) IpRoute: default via 192.168.178.1 dev enp4s0 proto dhcp metric 100 169.254.0.0/16 dev enp4s0 scope link metric 1000 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 172.18.0.0/16 dev br-b2b3c83d858b proto kernel scope link src 172.18.0.1 192.168.178.0/24 dev enp4s0 proto kernel scope link src 192.168.178.13 metric 100 RfKill: 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no SourcePackage: network-manager UpgradeStatus: Upgraded to hirsute on 2021-06-03 (15 days ago) nmcli-nm: RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN running 1.30.0 connected started full enabled enabled disabled enabled enabled ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug hirsute ** Attachment added: "NetworkManager log showing the problem" https://bugs.launchpad.net/bugs/1932569/+attachment/5505586/+files/trimmed_networkmanager_log.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1932569 Title: NetworkManager fails to activate wired connection after resume from suspend Status in network-manager package in Ubuntu: New Bug description: Since upgrading to Ubuntu 21.04 (Hirsute), every time I suspend the system and then resume it later, my wired network connection (in my case, interface `enp4s0`) fails to connect and NetworkManager simply reports that activating the connection failed, even though the connection worked fine before the suspend. Studying the NetworkManager logs shows the following lines multiple times: NetworkManager[114707]: <info> [1624027125.5781] device (enp4s0): Activation: starting connection 'Wired connection 1' (65460d17-322e-343a-90a6-1f00ac9c86b7) NetworkManager[114707]: <info> [1624027125.5785] device (enp4s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') NetworkManager[114707]: <info> [1624027125.5788] manager: NetworkManager state is now CONNECTING [114707]: <info> [1624027125.5790] device (enp4s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') [114707]: <info> [1624027125.5794] device (enp4s0): state change: config -> failed (reason 'config-failed', sys-iface-state: 'managed') [114707]: <info> [1624027125.5797] manager: NetworkManager state is now DISCONNECTED [114707]: <warn> [1624027125.5803] device (enp4s0): Activation: failed for connection 'Wired connection 1' I tried restarting NetworkManager but to no success. As far as I know, only rebooting the system solves the problem. `ifconfig` shows the interface with no ip address. I attached the full NetworkManager log to this report. At 16:03, the computer is suspended and it wakes up at 16:30. At 16:38 I tried manually restarting NetworkManager but to no success. ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: network-manager 1.30.0-1ubuntu3 ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17 Uname: Linux 5.11.0-18-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Jun 18 17:09:50 2021 InstallationDate: Installed on 2020-03-24 (450 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) IpRoute: default via 192.168.178.1 dev enp4s0 proto dhcp metric 100 169.254.0.0/16 dev enp4s0 scope link metric 1000 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 172.18.0.0/16 dev br-b2b3c83d858b proto kernel scope link src 172.18.0.1 192.168.178.0/24 dev enp4s0 proto kernel scope link src 192.168.178.13 metric 100 RfKill: 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no SourcePackage: network-manager UpgradeStatus: Upgraded to hirsute on 2021-06-03 (15 days ago) nmcli-nm: RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN running 1.30.0 connected started full enabled enabled disabled enabled enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1932569/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp