How do I restart ethernet after waking my Ubuntu 20.04 computer from sleep mode?
If I reboot, ethernet works fine, but I want to get ethernet working without rebooting.
"sudo service network-manager restart" doesn't restart ethernet. I get something saying there's a configuration error.
Thanks.
From sudo lshw -C network:
*-network DISABLED
description: Ethernet interface
product: QCA8171 Gigabit Ethernet
vendor: Qualcomm Atheros
From sudo lspci:
08:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
From sudo /etc/init.d/network-manager status:
Aug 13 20:34:28 IdeaPad NetworkManager[640]: <info> [1628908468.8532] device (enp8s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
/var/log/syslog
that point to an issue with the ethernet device? Could you also [edit] your question to include the output ofsudo lshw -C network
andsudo lspci
? This will contain specific information about the network device, making it easier to offer a specific solution – matigo Aug 13 '21 at 23:38rfkill list
and confirm nothing is disabled. – heynnema Aug 14 '21 at 21:15ifup eth0
? Change eth0 with your ethernet interface, you can find the interface name by executing the commandifconfig
– CrazyTux Aug 15 '21 at 17:45