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

Troubleshooting • Having trouble connecting to most websites

$
0
0
Hi everyone, I was using my Pi to host a discord bot and play radio over the internet for my parents. Now I need to reinstall VNC server and I'm finding that I can't connect any site--I get "ERR_ADDRESS_UNREACHABLE."

I thought it was a DNS issue so I tried changing my DNS server, restarting the dhcpcd service multiple times to no avail.

I saw another similar thread here: viewtopic.php?t=170993 so I thought I would include the same results to some troubleshooting commands.

pi@raspberrypi:~ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether b8:27:eb:97:27:be brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:c2:72:eb brd ff:ff:ff:ff:ff:ff
inet 10.0.0.49/24 brd 10.0.0.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::f149:8348:c9d7:127e/64 scope link
valid_lft forever preferred_lft forever
pi@raspberrypi:~ $ ip route
default via 10.0.0.1 dev wlan0 src 10.0.0.49 metric 303
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.49 metric 303
pi@raspberrypi:~ $ sudo ping -3 $(ip route | awk '/default/ {print $3}')
ping: invalid option -- '3'
Usage: ping [-aAbBdDfhLnOqrRUvV64] [-c count] [-i interval] [-I interface]
[-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos]
[-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option]
[-w deadline] [-W timeout] [hop1 ...] destination
Usage: ping -6 [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface]
[-l preload] [-m mark] [-M pmtudisc_option]
[-N nodeinfo_option] [-p pattern] [-Q tclass] [-s packetsize]
[-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline]
[-W timeout] destination
pi@raspberrypi:~ $ sudo ping -c3 $(ip route | awk '/default/ {print $3}')
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
From 10.0.0.49 icmp_seq=1 Destination Host Unreachable
From 10.0.0.49 icmp_seq=2 Destination Host Unreachable
From 10.0.0.49 icmp_seq=3 Destination Host Unreachable

--- 10.0.0.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2069ms
pipe 3
pi@raspberrypi:~ $ sudo ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.0.0.49 icmp_seq=1 Destination Host Unreachable
From 10.0.0.49 icmp_seq=2 Destination Host Unreachable
From 10.0.0.49 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2072ms
pipe 3
pi@raspberrypi:~ $ sudo ping -c3 google.com
PING google.com (142.251.163.113) 56(84) bytes of data.
From 10.0.0.49 (10.0.0.49) icmp_seq=1 Destination Host Unreachable
From 10.0.0.49 (10.0.0.49) icmp_seq=2 Destination Host Unreachable
From 10.0.0.49 (10.0.0.49) icmp_seq=3 Destination Host Unreachable

--- google.com ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2079ms
pipe 3
pi@raspberrypi:~ $ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 1.1.1.1
nameserver fe80::fa85:f9ff:fe8c:3e6e%wlan0
pi@raspberrypi:~ $

Any advice or guidance is welcome. Thank you

Statistics: Posted by win.epic202 — Sat Jul 06, 2024 3:25 am — Replies 1 — Views 42



Viewing all articles
Browse latest Browse all 4427

Trending Articles