I have 3B and 4B.
Problems occur on both of these devices.
Everything worked fine until last reinstall to newest Ubuntu Server 24.04 LTS.
My ethernet stops working randomly but very often.
My TP-Link Switch: TL-SG116
Tried and does not work:
1. Putting dtparam inside /boot/firmware/config.txt2.
3. turned off wifi and bt through config.txt4. Created a service to execute every 5s to disable eee5. Added "genet.eee=N" to /boot/cmdline.txt
6. Added rules to "/etc/udev/rules.d/99-disable-network-powersave.rules""sudo ethtool --show-eee eth0" on RPi3B returns:"sudo ethtool -s eth0 wol d" gives no output
output of "dmesg -T":
output of "ethtool -i eth0":output of "uname -r":output of "ip address show dev eth0":output of "cat /etc/netplan/50-cloud-init.yaml"Output of "ethtool eth0":How to fix this ? it stops working very often. Sometimes during ssh session.. sometimes every 5 minutes
Problems occur on both of these devices.
Everything worked fine until last reinstall to newest Ubuntu Server 24.04 LTS.
My ethernet stops working randomly but very often.
My TP-Link Switch: TL-SG116
Tried and does not work:
1. Putting dtparam inside /boot/firmware/config.txt
Code:
dtparam=eee=off
3. turned off wifi and bt through config.txt
Code:
dtoverlay=disable-btdtoverlay=disable-wifi
Code:
[Unit]Wants=network.target network-online.targetAfter=network-online.target[Service]Type=simpleRemainAfterExit=trueExecStart=ethtool -s eth0 wol d# If we get an unclean exit code, retryRestart=on-failure# Wait 30s before retryingRestartSec=5s[Install]WantedBy=multi-user.target
6. Added rules to "/etc/udev/rules.d/99-disable-network-powersave.rules"
Code:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth0", RUN+="/sbin/ethtool -s eth0 wol d"
Code:
netlink error: Operation not supported
output of "dmesg -T":
Code:
[Sat Nov 9 08:24:50 2024] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:77:05:ee[Sat Nov 9 08:25:10 2024] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup[Sat Nov 9 08:25:10 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 08:31:41 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 08:31:48 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 08:31:48 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 08:31:50 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 08:32:02 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 08:33:14 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 08:33:15 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 08:33:16 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 08:33:39 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 08:33:50 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 08:33:50 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 08:33:52 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 11:02:05 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 11:02:10 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off[Sat Nov 9 11:02:10 2024] smsc95xx 1-1.1:1.0 eth0: Link is Down[Sat Nov 9 11:02:12 2024] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off
output of "ethtool -i eth0":
Code:
driver: smsc95xxversion: 6.8.0-1013-raspifirmware-version: smsc95xx USB 2.0 Ethernetexpansion-rom-version: bus-info: usb-3f980000.usb-1.1supports-statistics: nosupports-test: yessupports-eeprom-access: yessupports-register-dump: yessupports-priv-flags: no
Code:
6.8.0-1013-raspi
Code:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether b8:27:eb:77:05:ee brd ff:ff:ff:ff:ff:ff inet 192.168.100.3/24 metric 100 brd 192.168.100.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::ba27:ebff:fe77:5ee/64 scope link valid_lft forever preferred_lft forever
Code:
# This file is generated from information provided by the datasource. Changes# to it will not persist across an instance reboot. To disable cloud-init's# network configuration capabilities, write a file# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:# network: {config: disabled}network: ethernets: eth0: dhcp4: true optional: true version: 2
Code:
Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 100Mb/s Duplex: Full Auto-negotiation: on Port: Twisted Pair PHYAD: 1 Transceiver: internal MDI-X: Unknown Supports Wake-on: pumbag Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes
Statistics: Posted by reckos — Sat Nov 09, 2024 7:38 am