RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Cannot access the internet.

    Scheduled Pinned Locked Moved Help and Support
    retropie
    51 Posts 4 Posters 5.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ignatius
      last edited by

      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.3

      Thank you

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        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 ?

        I 1 Reply Last reply Reply Quote 0
        • I
          ignatius @mitu
          last edited by

          Excuse my ignorance, but where do I see what version I'm running, of both of those?

          Thanks.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            When you start RetroPie-Setup, the versions should be shown on the starting dialog.

            I 1 Reply Last reply Reply Quote 0
            • I
              ignatius @mitu
              last edited by

              @mitu It says version 4.4

              I 1 Reply Last reply Reply Quote 0
              • I
                ignatius @ignatius
                last edited by

                @ignatius Sorry, RetroPie version is 4.4

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @ignatius
                  last edited by mitu

                  @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 ?

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    ignatius @mitu
                    last edited by

                    @mitu It times out on "getting headers"

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @ignatius
                      last edited by

                      @ignatius Can you post the exact command / error message ?

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        ignatius @mitu
                        last edited by ignatius

                        @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]
                        1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator
                          last edited by

                          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.

                          I 1 Reply Last reply Reply Quote 1
                          • I
                            ignatius @mitu
                            last edited by ignatius

                            @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?

                            mituM I 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @ignatius
                              last edited by

                              @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 thus apt is not able to check/download updates.
                              If you try ping -4 google.com, does it work ?

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                ignatius @ignatius
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ignatius @mitu
                                  last edited by

                                  @mitu Nope Doesn't work. :(

                                  1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator
                                    last edited by

                                    Did it work before ? Maybe something changed on your WiFi router/setup that trips the Pi.

                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      ignatius @mitu
                                      last edited by

                                      @mitu No, it didn't work.

                                      I 1 Reply Last reply Reply Quote 0
                                      • I
                                        ignatius @ignatius
                                        last edited by

                                        @ignatius I should probably say that this is on a Tiny Pi Pro...

                                        kiroK 1 Reply Last reply Reply Quote 0
                                        • kiroK
                                          kiro @ignatius
                                          last edited by

                                          @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.

                                          mituM I 2 Replies Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @kiro
                                            last edited by

                                            @kiro The Pi Zero has a Wireless model which enables it to access the internet via WiFi.

                                            kiroK 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.