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

Troubleshooting • Re: Brand new pi and image - can't connect to gateway...

$
0
0
Key Troubleshooting Steps

1. Checked Wi-Fi Status: The Pi is connected to Wi-Fi (wlan0), verified by SSH access and ip a output.
2. DHCP Conflicts: DHCP was still dynamically assigning an IP even after switching to a static configuration using systemd-networkd.

Bookworm uses Network Manager. I'm not sure how well that plays with systemd-networkd.
3. Routing Issues: Checked the routing table, but the default gateway (10.0.0.1) was unreachable, indicating a possible issue with routing or firewall rules, though the same gateway works fine for another device (MacBook used to connect to pi via ssh).

Is the working device also on WiFi?
4. Firewall and Connectivity: There are no firewall rules blocking ICMP on the OPNsense gateway, and IPv6 connectivity seems fine (the Pi can resolve via DNS and reach IPv6 addresses).
5. Switching to Static IP: The system was getting a reserved IP address via DHCP but I have moved to static/manual config on device in order to rule out a DHCP issue.

Make sure you have configured the correct default route and DNS servers.

Consider reverting to DHCP and not reservinn an address on your router.

But what I'd do to start with is remove all your manual configuration and try again through Network Manager.

Statistics: Posted by thagrol — Sat Sep 07, 2024 11:26 pm



Viewing all articles
Browse latest Browse all 3843

Trending Articles