Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3436

Troubleshooting • wlan0 route is deleted when eth0 port goes down

$
0
0
Hello, I have a Raspberry Pi connected to a network device via eth0 ethernet cable. When I reboot the network device, the raspberry Pi loses eth0 connection as expected. However, the wlan0 route is also being deleting causing me to lose access to Raspberry Pi. This occurs on both RPI 3/4 bullseye. See logs below.

Setup: An device is connected via ethernet to the Raspberry Pi eth0

Device -----eth0 ethernet cable------RPi

Issue: When rebooting the Device, the Raspberry Pi loses eth0 connection as expected. However, not as expected the wlan0 route is being deleted causing me to lose wifi access to the RPi. For reference, the wlan0 is configured via DHCP.

pi@FSE-Test-Pi-3:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"


See logs below:
Aug 22 14:19:06 FSE-Test-Pi-3 dhcpcd[483]: eth0: carrier lost
Aug 22 14:19:06 FSE-Test-Pi-3 dhcpcd[483]: eth0: deleting address fe80::664c:b97e:537b:7c26
Aug 22 14:19:06 FSE-Test-Pi-3 avahi-daemon[390]: Withdrawing address record for fe80::664c:b97e:537b:7c26 on eth0.
Aug 22 14:19:06 FSE-Test-Pi-3 avahi-daemon[390]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::664c:b97e:537b:7c26.
Aug 22 14:19:06 FSE-Test-Pi-3 avahi-daemon[390]: Interface eth0.IPv6 no longer relevant for mDNS.
Aug 22 14:19:06 FSE-Test-Pi-3 avahi-daemon[390]: Withdrawing address record for 10.3.1.15 on eth0.
Aug 22 14:19:06 FSE-Test-Pi-3 avahi-daemon[390]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.3.1.15.
Aug 22 14:19:06 FSE-Test-Pi-3 avahi-daemon[390]: Interface eth0.IPv4 no longer relevant for mDNS.
Aug 22 14:19:06 FSE-Test-Pi-3 dhcpcd[483]: wlan0: deleting route to 10.14.0.0/23
Aug 22 14:19:06 FSE-Test-Pi-3 dhcpcd[483]: eth0: deleting route to 10.3.1.0/24
Aug 22 14:19:06 FSE-Test-Pi-3 dhcpcd[483]: wlan0: deleting default route via 10.14.0.1

Aug 22 14:19:07 FSE-Test-Pi-3 ntpd[1589]: Deleting interface #3 eth0, 10.3.1.15#123, interface stats: received=0, sent=0, dropped=0, active_time=2555 secs
Aug 22 14:19:07 FSE-Test-Pi-3 ntpd[1589]: Deleting interface #6 eth0, fe80::664c:b97e:537b:7c26%2#123, interface stats: received=0, sent=0, dropped=0, active_time=2555 secs

Statistics: Posted by raspi-ondas1 — Wed Sep 04, 2024 5:22 pm — Replies 0 — Views 9



Viewing all articles
Browse latest Browse all 3436

Trending Articles