I have just updated my Rock 5b which is running Radxa Debian bookworm and Ethernet stopped working. Is was working fine but now only wifi will work. Is there anything I can do to get it to work again?
Ethernet Broken after update
$ lsmod | grep -i "r8168\|r8125"
You should see this:
$ lsmod | grep -i “r8168|r8125”
r8125 163840 0
If you see nothing
$sudo apt install radxa-system-config-r8125-dkms
You should see this:
$ systemctl status wpa_supplicant
● wpa_supplicant.service - WPA supplicant
Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; enabled; preset: enabled)
Active: active (running) since Sun 2025-02-16 22:28:03 EST; 19h ago
Main PID: 762 (wpa_supplicant)
Tasks: 1 (limit: 9193)
Memory: 4.3M
CPU: 488ms
CGroup: /system.slice/wpa_supplicant.service
└─762 /sbin/wpa_supplicant -u -s -O “DIR=/run/wpa_supplicant GROUP=netdev”
How did you update your ROCK 5B? By upgrade cmd ? Or by Radxa system tool rsetup ?
Hi foxsquirrel, i did as you said and after the first command got nothing tried second command and did a reboot and ethernet was working again. after trying the third command and it was the same except for last line that began with 840 and not 762 and i got the following warning message:
Warning: some journal files were not opened due to insufficient permissions.
thanks so much for your quick response i have tried for hours but to no avail!
Nasca, i through force of habit used both rsetup and upgrade command is this not ok?
thanks for your help.
Since ethernet has been working again it does not seem to work as it should in that when i try to download a file in chromium from Radxa it says there is no internet connection but if i turn of ethernet and use wifi it downloads fine. What is strange is that it works although a little slow for ordinary web pages and rsetup updates.
Using the system update in rsetup to update the system is what we recommend.
if you did that, and ethernet does not work either, I can try to reproduce it, then find a solution.
From a console and post results.
$sudo ifconfig
Thanks for getting back to me. Not much really! I got: sudo: ifconfig: command not found.
Right i installed net-tools and tried again the result was:
enP4p65s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.5.78 netmask 255.255.252.0 broadcast 192.168.7.255
inet6 fe80::539f:b617:757b:2294 prefixlen 64 scopeid 0x20
inet6 fd8b:8d5d:8c21:1:d6b9:8ea3:72f4:bc0f prefixlen 64 scopeid 0x0
ether 00:e0:4c:68:02:f0 txqueuelen 1000 (Ethernet)
RX packets 5054 bytes 3880600 (3.7 MiB)
RX errors 0 dropped 212 overruns 0 frame 0
TX packets 2367 bytes 480489 (469.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 149
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 10 bytes 1576 (1.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1576 (1.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Wire is working, make sure the subnet mask on your gateway is the same as your machine.
Turn off wifi.
Are you able to $ping 8.8.8.8
?
You should see this:
:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=59 time=35.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=59 time=34.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=59 time=34.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=59 time=35.1 ms
^C
— 8.8.8.8 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 34.076/34.808/35.453/0.518 ms
Are you on a work network or home network?
You could also have an issue with your gateway since you are on wire and wifi. Many of the older gateways have issues and do funky stuff. Do you have admin access to your internet gateway?
Hi foxsquirrel, thanks for your help. the subnet mask is the same (its the default for the router) and the ping results are as follows:
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=12.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=14.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=12.2 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=11.0 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=11.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=117 time=12.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=117 time=12.0 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=117 time=12.2 ms
^C
— 8.8.8.8 ping statistics —
8 packets transmitted, 8 received, 0% packet loss, time 7018ms
rtt min/avg/max/mdev = 10.999/12.377/14.095/0.831 ms
I am on a home network and wifi is off, My router is only a year or so old and i have admin access to my router if thats what yu mean by Gateway Access.
It worth noting that i have three different distributions that i run on the rock 5b, Armbian, Ubuntu and the official Debian and its only this official Debian that is not able to download large files. It tries but keeps failing, however i am using it for most every day tasks like internet browsing etc and it works fine its just if i want to download a larger file i have to switch to wifi which works as it should? I have also checked to see if it works in another browser but it has the same problem! I tried a new installation with updates only through rsetup and it is just the same.
Not sure what to say at this point.
I had a similar problem with large files using scp (or anything encrypted really). I was a driver issue. Changing to the r8168 fixed all issues. If you used rsetup
to update the system, you should only have to purge the old driver. But you can do it manually as I did. It’s very important to purge the r8125 driver off there either before or after putting the r8168 on there.
Thanks for the reply could you tell me what commands I should use to purge the old and install the new drivers? Thanks