Skip to content
Contents
GuidesOpenWrt

NanoPi R3S assigns eth1 to a USB adapter. Which port is onboard?

The NanoPi R3S defaults in OpenWrt 24.10.0-rc7 use eth1 for LAN and eth0 for WAN. Saved settings can differ. Check the bus and driver before moving a bridge port.

The NanoPi R3S defaults in OpenWrt 24.10.0-rc7 use eth1 for LAN and eth0 for WAN. Saved settings can differ. Check the bus and driver before moving a bridge port.

Label the two sockets first

Back up the configuration, unplug the uplink and keep a directly connected computer and local recovery access. Power down, remove the USB adapter and boot. In LuCI under Network → Interfaces, note the WAN device. Under Devices, record the members of br-lan. Connect a test cable to one socket at a time and compare LOWER_UP and the MAC in ip link.

ip link

Follow the device path after adding the adapter

Power down, reconnect the adapter and boot. Run the SSH commands for each physical interface, replacing all three occurrences of eth0. Look for a USB segment and read the driver name. If the onboard PCI device still uses r8169 while eth1 points to USB, check the role assigned to each name. If the onboard path is missing, check PCI detection in the boot log first.

ip link show dev eth0
readlink -f /sys/class/net/eth0/device
readlink -f /sys/class/net/eth0/device/driver
OpenWrt 25.12.6 · QEMU · eth0 · virtio_net
OpenWrt 25.12.6 · QEMU x86/64 · The VM shows virtio_net to illustrate the paths. Enumeration order on the R3S was not tested.

Verify LAN before reconnecting WAN

Edit only with stable mappings and local recovery access. Keep the confirmed LAN port in br-lan and remove any unintended adapter. Reserve the intended device for WAN alone. Apply, renew the computer’s lease and open LuCI before reconnecting WAN and testing internet access. Cold boot with and without the adapter. If roles still move, unplug WAN and restore the original wiring without the adapter and the saved configuration.

NanoPi R3S LTS says lsusb not found. Did Linux detect the USB device?

Explore hardware

Devices mentioned

Comments