Hi,
I have a linux based firewall that seem to hang because one of its
ethernet port stops working. I suspect bad hardware, but could be a
driver issue also. So far, I have only been able to reboot to get it
working. However, I prefer to reset the port to get it working without a
reboot. Is it possible to do something with ifconfig/ifup/ethtool?
Simple ifdown followed by ifup does not fix it.
My system is this:
https://www.amazon.com/Generation-Processor-Beelink-U59-Computer/dp/B0B7729Q3M/ref=sr_1_44_sspa?keywords=dual%2Bnet&qid=1661469460&s=pc&sr=1-44-spons&th=1
It is running this:
Linux yoda 5.18.0-0.deb11.3-amd64 #1 SMP PREEMPT_DYNAMIC Debian
5.18.14-1~bpo11+1 (2022-07-28) x86_64 GNU/Linux
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
/etc/debian_version = 11.5
This is the lspci output on the two ethernet port.
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Note that the kernel is from backport to work with newer intel CPU (N5105)
Regards
Ramesh