Skip to content
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

Ethernet disconnects in the morning when I wake up #836

Open
ghost opened this issue May 28, 2024 · 1 comment
Open

Ethernet disconnects in the morning when I wake up #836

ghost opened this issue May 28, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented May 28, 2024

Webserver down and unable to access Ethernet at the exact same time every morning. (Around 7-8am).

I have to physically unplug and plug ethernet back in to get it working again.

Ubuntu 22.04 jammy with kernel 5.10. I'll be hunting down the logs in a few hours.

Orange Pi 5 plus 16gb RAM

(base) khan@khan-desktop:~$ lshw -c network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0003:31:00.0
logical name: enP3p49s0
version: 05
serial: c0:74:2b:fe:41:23
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.009.00-NAPI-RSS duplex=full ip=192.168.20.20 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:151 ioport:1000(size=256) memory:f3200000-f320ffff memory:f3210000-f3213fff
*-network
description: Ethernet interface
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0004:41:00.0
logical name: enP4p65s0
version: 05
serial: c0:74:2b:fe:41:22
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.009.00-NAPI-RSS latency=0 link=no multicast=yes port=twisted pair
resources: irq:164 ioport:100000(size=256) memory:f4200000-f420ffff memory:f4210000-f4213fff

@ghost
Copy link
Author

ghost commented May 30, 2024

Update: Static IP does not fix this either.

No internet at the exact same time in the morning unless reboot. So weird. Even setting crontab to reboot NetworkManager cannot fix it.

sudo modprobe -r r8125
modprobe: FATAL: Module r8125 is builtin.

^ Won't fix it either.

UPDATE 2

I can fix it now by running

sudo ip link set enP3p49s0 down && sudo ip link set enP3p49s0 up

...though it's merely a workaround for now. I've set it up as a crontab for a morning network reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants