Ethernet ports do not light up after router restart

Topics about the Hardware of Revolution Pi
Post Reply
in06khattab
Posts: 44
Joined: 24 Jan 2024, 19:07

Ethernet ports do not light up after router restart

Post by in06khattab »

Hi,

When the router restarts, the Revpi Connect 4 looses connection. The lights on the ethernet port turn off on Port B (eth1). This does not happen on eth0.

I tried the same thing on an older Revpi Connect and I do not notice this problem.

I noticed there was a difference between eth0 and eth1 here:
/lib/udev/rules.d/50-revpi.rules
2024-07-03_22-04.png
I am using a static IP address.
2024-07-03_22-23.png
I used the same settings on Eth1 and Eth0.

I used a different IP address with no difference.
I tried having the router set the IP address and the Pi set to automatic and again no difference.

I tried updating everything and again no difference.
The issue persists with old and new kernels as well as old and new bootloaders.

Journalctl -r log: The pi will connect to the router after a restart and the lights will flash. Then a minute later, it will disconnect and lights will turn off. Unplugging and replugging the ethernet cable makes no difference.
2024-07-03_22-28.png
Once the pi has failed, there are two ways to recover the Pi.
1. restart the pi
2. connect another network device, lights will flash and then connect the original router.
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Ethernet ports do not light up after router restart

Post by dirk »

Hey in06khattab, thanks for your detailed report. Please send me an SOS report:
https://kunbus-gmbh.atlassian.net/servi ... 2036400208
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Ethernet ports do not light up after router restart

Post by dirk »

Hi in06khattab, I have an idea for a workaround. If you don't mind testing it - if you don't need link local fallback, the easiest workaround consists of removing that connection. As a result, DHCP is given the lowest priority and is thus triggered during link-up.
in06khattab
Posts: 44
Joined: 24 Jan 2024, 19:07

Re: Ethernet ports do not light up after router restart

Post by in06khattab »

Hi Derk,

Thank you for replying. Do you mean removing the eth0 connection?
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Ethernet ports do not light up after router restart

Post by dirk »

The connection is called "Link-local eth0 (fallback)", so please try to remove that connection:

Code: Select all

sudo nmtui
This is what it looks like for me after removal:
"sudo nmtui" after removed connection
"sudo nmtui" after removed connection
in06khattab
Posts: 44
Joined: 24 Jan 2024, 19:07

Re: Ethernet ports do not light up after router restart

Post by in06khattab »

Thank you Dirk

I removed the link local and the issue still appears when I am connected to eth1. The network disconnects when the router reboots and the lights on the ethernet port do not light up any more. This does not happen on eth0.
2024-07-10_13-16.png
2024-07-10_13-16.png (8.26 KiB) Viewed 9031 times
I tried this test with a fresh bullseye image and the same thing occurred.
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Ethernet ports do not light up after router restart

Post by dirk »

Hi in06khattab I am dismayed to hear this, can you send me an SOS report?
https://kunbus-gmbh.atlassian.net/servi ... 2036400208

Additionally, a Wireshark trace or a tcpdump of the appropriate interface would sure be helpful see here:
https://kunbus-gmbh.atlassian.net/servi ... 1400012823

In the meantime I am trying to reproduce the problem with a test setup. Thank you very much.
in06khattab
Posts: 44
Joined: 24 Jan 2024, 19:07

Re: Ethernet ports do not light up after router restart

Post by in06khattab »

Hi Dirk,

Attached is the SOS report before and after the router restart and the wireshark capture.
SOS reports and Wireshark capture - ETH0.zip
(89.92 KiB) Downloaded 502 times
Kind regards,
Ahmad
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Ethernet ports do not light up after router restart

Post by dirk »

Hi Ahmad, thank you very much for the extensive data I have gratefully received. You are using an outdated system and kernel.
Please update your system.

The best case we see here is you test with a fresh installation of the latest Bullseye release because a lot has changed in the network configuration over time.

You can do this by following the steps of the Revolution Pi Checklist.
Thank you
Post Reply