[SOLVED] Raspberry Pi 400 - Wifi but no Internet

Aletdownofstate

Distinguished
Dec 12, 2015
12
0
18,510
Afternoon everyone.

So I'm new to Raspberry Pi and Linux in general. After playing around with a 400, I made the jump and grabbed a bunch for work (teacher, useful for students who don't have laptops, which is most.)

While setting them up, I'm having an issue where despite being connected to WiFi, I have no internet connection. As such I can't browse or update anything.

Code:
sudo apt-get update

returns

Code:
Err:1 http//raspbian.raspberrypi.org/raspbian buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Err:2 [url=http://archive.raspberrypi.org/raspbian]http://archive.raspberrypi.org/raspbian[/url] buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Reading package lists... Done
W: Failed to fetch [url=http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease]http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease[/url] Temporary failure resolving 'raspbian.raspberrypi.org'
W: Failed to fetch [url=http://archive.raspberrypi.org/debian/dists/buster/InRelease]http://archive.raspberrypi.org/debian/dists/buster/InRelease[/url] Temporary failure resolving 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Some Googling has led me to believe it's potentially a DNS issue?

Pinging 8.8.8.8 returns

Code:
From 169.254.52.222 icmp_seq=1 Destination Host Unreachable

And ping dns.google returns

Code:
ping: dns.google: Temporary failure in name resolution

My /etc/resolv.conf looks like this:

Code:
#Generated by resolveconf
nameserver 194.168.4.100
nameserver 194.168.8.100
nameserver 8.8.8.8
nameserver 8.8.4.4

I don't know enough about how the OS works to make any changes, and I don't even know what to change even if I did.

Some help would be really appreciated.
 
Last edited:
Solution
Afternoon everyone.

So I'm new to Raspberry Pi and Linux in general. After playing around with a 400, I made the jump and grabbed a bunch for work (teacher, useful for students who don't have laptops, which is most.)

While setting them up, I'm having an issue where despite being connected to WiFi, I have no internet connection. As such I can't browse or update anything.

Code:
sudo apt-get update

returns

Code:
Err:1 http//raspbian.raspberrypi.org/raspbian buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Err:2 [url=http://archive.raspberrypi.org/raspbian]http://archive.raspberrypi.org/raspbian[/url] buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Reading package lists... Done
W: Failed to fetch...

kanewolf

Titan
Moderator
Afternoon everyone.

So I'm new to Raspberry Pi and Linux in general. After playing around with a 400, I made the jump and grabbed a bunch for work (teacher, useful for students who don't have laptops, which is most.)

While setting them up, I'm having an issue where despite being connected to WiFi, I have no internet connection. As such I can't browse or update anything.

Code:
sudo apt-get update

returns

Code:
Err:1 http//raspbian.raspberrypi.org/raspbian buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Err:2 [url=http://archive.raspberrypi.org/raspbian]http://archive.raspberrypi.org/raspbian[/url] buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Reading package lists... Done
W: Failed to fetch [url=http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease]http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease[/url] Temporary failure resolving 'raspbian.raspberrypi.org'
W: Failed to fetch [url=http://archive.raspberrypi.org/debian/dists/buster/InRelease]http://archive.raspberrypi.org/debian/dists/buster/InRelease[/url] Temporary failure resolving 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Some Googling has led me to believe it's potentially a DNS issue?

Pinging 8.8.8.8 returns

Code:
From 169.254.52.222 icmp_seq=1 Destination Host Unreachable

And ping dns.google returns

Code:
ping: dns.google: Temporary failure in name resolution

My /etc/resolv.conf looks like this:

Code:
#Generated by resolveconf
nameserver 194.168.4.100
nameserver 194.168.8.100
nameserver 8.8.8.8
nameserver 8.8.4.4

I don't know enough about how the OS works to make any changes, and I don't even know what to change even if I did.

Some help would be really appreciated.
Your ping of 8.8.8.8 with the 169.254.x.y response indicates that DHCP is not working. You don't have a valid IP address.
You need to determine if there is something in the network preventing DHCP from resolving. MAC filter maybe?
 
Solution