I recently upgraded to Ubuntu 24.10 from 24.04 and everything appears to be working well with the exception of one thing: Upon resuming from suspend the network card is completely off. The lights on the card are completely out. This is a cabled adapter, not a wifi.
Thus far nothing I have done except a reboot has caused the network card to restart, such as restarting the network manager. The network card in "ip a" shows state down.
2: enp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether c8:7f:54:cf:f6:44 brd ff:ff:ff:ff:ff:ff
I have not found any way to reactivate it. I have tried systemctl restart NetworkManager as well as some other commands and I have tried fiddling with it in the UI.
Thus far only a reboot causes the card to reactivate and function normally.
lshw -C network identifies my network card as this:
[ 1.615681] Intel(R) 2.5G Ethernet Linux Driver
*-network
description: Ethernet interface
product: Ethernet Controller I225-V
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: enp6s0
version: 01
My belief is that the suspend operation sent a command to suspend the power to the network adapter and then on resume there is no resuming of power to the adapter. But I am currently lost because I think this is some kind of hardware setting.
I have tried the following suggestions from AI to try to power it up from this state:
sudo ethtool -r enp6s0
Cannot restart autonegotiation: No such device
sudo ip link set enp6s0 up
RTNETLINK answers: No such device
sudo service udev restart
But all thus far to no avail.
Update
After some online research, I found a way to restart the network adapter.
modprobe -r igc
modprobe igc
systemctl restart NetworkManager
That brought the interface back up and made the network usable. But I had some VirtualBox Ubuntu VMs running. And they didn't seem to recover from the process.
I believe that suspend is powering down the network card completely, but I would like it not to do that.