-
-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No network connectivity on NanoPi R5S on kernel 6.x #6978
Comments
Many thanks for reporting. Are the network interfaces detected at all? ip l |
Interesting, What should happen on the very first boot, is that all interfaces are set up to check for a carrier signal (connected cable), and the first one with a carrier signal is then configured for network access. If no cable is attached at all, ip link set down dev eth0 Otherwise it keeps trying to use I really need to find time to finish reworking the network script, so that one can simply select the interface to setup, at best from a menu which also shows the current carrier signal state. The script was originally really designed for single Ethernet adapter cases in mind only. |
Hmm, so it looks like it's the middle port (of the three) that got configured as eth0 because the "NO-CARRIER" message disappears when I plug the cable in it and after a reboot I am actually able to access the network. So far, I had the cable plugged into the WAN port which wasn't working. |
Here's an idea: or it could come configured in bridge mode by default on all interfaces. It's simpler from an operational standpoint in a sense because it should work irrespective of which port the cable is plugged to. Bridging is my use case anyway for the little device (or IOW: I use it as a low-power software switch that I can run network services on). I'm not sure how people tend to use it. So, in essence, it would boil down to this:
and inside
|
I also get this during DietPi installation:
|
No worries about the firmware warnings on initramfs generation. Thia happens by times when recent Armbian kernel uses drivers which has no perfectly matching firmware in the I just checked, and Generally, on very first boot, a script loops through all network interfaces, enables them, and configures the first one which has a carrier signal, hence a cable attached. If no cable is attached yet, it configures |
Can you check this issue: #6951 Are your symptoms the same, i.e. long boot times and timeouts of related systemd units? journalctl -u ifup@eth0 -u ifup@eth1 -u ifup@eth2 -u networking |
Creating a bug report/issue
Required Information
cat /boot/dietpi/.version
echo $G_DISTRO_NAME $G_RASPBIAN
uname -a
NanoPi R5S/R5C (aarch64)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
I actually have 2 installations of DietPi on one NanoPi R5S -- one on an SD card and one on a NVMe drive. The one on the SD card is older and works fine. I'm attaching two dmesg logs -- one good, one bad:
The line I'm looking for is
[ 14.593774] rk_gmac-dwmac fe2a0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
. There's no such line in the broken case.The installation on the SD card is an old one, and as dmesg states, it's on kernel
Linux version 5.10.160 (ubuntu@670032f54a45)
. The NVMe one is atLinux version 6.6.15-current-rockchip64 (armbian@next)
. This is my primary suspect.The text was updated successfully, but these errors were encountered: