Restarting ethernet/network drivers on arch/omarchy linux
If you're running Arch Linux (or an Arch-based distro like Omarchy) and your wired connection suddenly drops—especially with an Intel I225-V controller, then you know the pain.
While the easy fix is a reboot, that's not always an option. If your igc driver is loaded but the interface is stuck saying "No such device" or DOWN, the underlying hardware state is corrupt. Restarting networkd won't cut it either.
Here is the PCI Rescan workaround to force the Ethernet card to reset, bringing your connection back online.
PCI Bus Rescan
This method tells the Linux kernel to manually remove and re-detect the faulty hardware, forcing the driver to re-initialize the card and clearing its bad state.
1. Find the Hardware Address
First, identify the full PCI address of your Intel I225-V card. If you have a different one you can use grep -i net instead
# Find the address (e.g., 05:00.0)
lspci | grep -i 'I225-V'
Example Address: 05:00.0 (Use your actual address for the next steps!)
2. Detach and Rescan the Device
Execute these two commands sequentially, replacing XX:XX.X with your address from the previous step (e.g., 05:00.0).
# A. Remove/Detach the Device (Crucial step)
sudo bash -c "echo 1 > /sys/bus/pci/devices/0000:XX:XX.X/remove"
# B. Force a Bus Rescan to Re-discover the Card
sudo bash -c "echo 1 > /sys/bus/pci/rescan"
3. Restart the Network Service
The hardware should now be correctly initialized. The last step is to get your network manager (in this case, systemd-networkd) to request a new IP address.
# Bring the interface up (use your actual interface name, like eno1 or enp5s0)
sudo ip link set eno1 up
# Restart systemd-networkd to request an IP (DHCP)
sudo systemctl restart systemd-networkd
4. Confirm
Your connection should be instantly restored! Verify it:
ip a
ping 8.8.8.8
This trick is a lifesaver for this specific Intel controller and should get you back online without sacrificing uptime