Skip to content
Contents
GuidesOpenWrt

D2500HN Ethernet missing after an OpenWrt upgrade. Do you need kmod-e1000e?

Check which driver owns the controller. Both SSH screenshots show an emulated 8086:10d3 adapter in an OpenWrt 25.12.6 x86/64 VM. Check the actual D2500HN and its 32-bit image separately.

Check which driver owns the controller. Both SSH screenshots show an emulated 8086:10d3 adapter in an OpenWrt 25.12.6 x86/64 VM. Check the actual D2500HN and its 32-bit image separately.

Find the Ethernet controller

Use the local console if disconnected. Look for a class starting with 0x0200 in the first listing. Substitute its PCI address in the second block. If the device is absent, check board settings. Note any missing driver or net entry.

for p in /sys/bus/pci/devices/*; do
    echo "$p $(cat "$p/class")"
done
p=/sys/bus/pci/devices/0000:00:04.0
cat "$p/vendor" "$p/device" "$p/modalias"
readlink "$p/driver"
ls "$p/net"

OpenWrt 25.12.6 · 8086:10d3 → e1000e → eth1

Match the driver to a port

Here driver points to e1000e and net contains eth1. A loaded stmmac module alone tells you nothing about this binding. Replace eth1 with an active non-management port. Read the value before disconnecting, while disconnected and after reconnecting. We toggled a virtual link.

ip link show eth1
cat /sys/class/net/eth1/carrier

eth1 · 1 → 0 → 1

When to add a module

A carrier sequence of 1, 0, 1 confirms link detection. Check addresses and routes if traffic still fails. With no binding, look up the PCI address in kernel logs and match modalias against the running kernel’s module aliases. Only if it matches and is missing, try kmod-e1000e from the same build on a spare disk. Reboot, verify binding and management access, and revert to the original disk if needed.

dmesg | grep -F "${p##*/}"
alias_file=/lib/modules/$(uname -r)/modules.alias
if [ -r "$alias_file" ]; then
    id=$(cat "$p/modalias")
    while read -r kind pattern module; do
        [ "$kind" = alias ] || continue
        case "$id" in $pattern) echo "$module" ;; esac
    done < "$alias_file"
fi

OpenWrt swapped eth0 and eth1 after an upgrade. Which ports are WAN and LAN?

Explore hardware

Comments