Cannot access the internet.
-
HI, i'm having problems with
sudo apt-get update
I believe it may have to do with the /etc/apt/sources.list file.
Anyone know what the proper server for it is? It is version 9.3Thank you
-
Most likely you're using a very old Raspbian version, which is no longer available for
apt
using the regular server. Use a newer Raspbian version.EDIT: What RetroPie/Raspbian version are you using ?
-
Excuse my ignorance, but where do I see what version I'm running, of both of those?
Thanks.
-
When you start
RetroPie-Setup
, the versions should be shown on the starting dialog. -
@mitu It says version 4.4
-
@ignatius Sorry, RetroPie version is 4.4
-
@ignatius said in Cannot access the internet.:
RetroPie version is 4.4
That's using Raspbian Stretch, which is not yet archived and
apt
should be able to operate. What's the actual error you're getting ? -
@mitu It times out on "getting headers"
-
@ignatius Can you post the exact command / error message ?
-
@mitu This Pi (Raspberry Pi Zero) is so small, that it's hard to manipulate... that said, I have to transcribe what the Pi says by hand.
ign:1 http://archive.raspberrypi.org/debian stretch InRelease err:2 http://archive.raspberrypi.org/debian Stretch InRelease ign:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease 0% [Waiting for headers] 400 Request Time-out [Ip: 2a00: 1098:88:26: ::i:i 80] 0% [Waiting for headers]
-
This looks like connectivity via IPv6 is not working correctly from your system. Nothing to do with RetroPie though - you may want to disable IPv6 for
apt
- see here for some solutions.Either way, your release is old and so is the OS on it, at some point updates will not work anymore - you may want to consider upgrading.
-
@mitu Now i'm getting this
pi@retropie:~ $ sudo apt-get update Ign:1 http://archive.raspberrypi.org/debian stretch InRelease Err:2 http://archive.raspberrypi.org/debian stretch Release 408 Request Time-out [Ip 176.126.240.86 00] Ign:3 http://raspbian.rasperrypi.org/raspbian stretch InRelease 0Z% [Waiting for headers]
Also, I just tired pinging google.com...
pi@retropie:~ $ ping google.com PING google.com(nuq04s42-inx0e:1e100.net (2607:f8b0:4005:80f::200e) 56 data bytes ^C --- google.com ping statistics--- 12 packets transmitted, 0 recievied, 100% packet loss, time 11420ms
Is there a way to turn IPV6 off in RetroPie?
-
@ignatius said in Cannot access the internet.:
Is there a way to turn IPV6 off in RetroPie?
Yes, but looks like that's not the problem here. It looks like the connection to
archive.raspberrypi.org
is not working and thusapt
is not able to check/download updates.
If you tryping -4 google.com
, does it work ? -
@ignatius Ok. I followed a guide I found on the internet to disable IPv6.. I'm still having problems connecting to different sites, including the Raspbian sites. Not sure what the problem is.
-
@mitu Nope Doesn't work. :(
-
Did it work before ? Maybe something changed on your WiFi router/setup that trips the Pi.
-
@mitu No, it didn't work.
-
@ignatius I should probably say that this is on a Tiny Pi Pro...
-
@ignatius Does the tiny pi pro have internet connectivity at all? I assume you must gave configured wifi for it to be connected to the internet?? Is this your device: https://www.tindie.com/products/petay/tinypi-pro/ ? Because I am afraid it does not have internet connectivity at all...if it is based on a pi zero, it certainly does not.
-
@kiro The Pi Zero has a Wireless model which enables it to access the internet via WiFi.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.