I have same problem.
The cable is correct, on different computer is working correctly.
sudo ethtool -s eth0 wol g
returns:
netlink error: cannot enable unsupported WoL mode (offset 36)
netlink error: Invalid argument
ping to the router looks
paci@raspberrypi:~ $ ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=0.272 ms
From 192.168.5.234 icmp_seq=3 Destination Host Unreachable
From 192.168.5.234 icmp_seq=4 Destination Host Unreachable
From 192.168.5.234 icmp_seq=5 Destination Host Unreachable
64 bytes from 192.168.5.1: icmp_seq=6 ttl=64 time=0.491 ms
Same problem here, static IP or DHCP, nothing works, packet loss and I can't SSH to rpi 5.
Every reboot, I need to re-seat the cable, and that fixes the problem.
To fix the problem without needing to re-seat the RJ-45 cable, I created a crontab like this:
$ crontab -e
* * * * * /usr/bin/ping 192.168.10.1 -c 2
@reboot ip addr add 192.168.10.254/24 dev eth0
@reboot ip link set dev eth0 down
@reboot ip link set dev eth0 up
@reboot sudo ip route add default via 192.168.10.1
Then, set static IP using netplan (since I'm using Ubuntu 24.04). Details about static ip: https://ubuntu.com/server/docs/configuring-networks
Statistics: Posted by mcury — Sat May 04, 2024 2:55 pm