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

    GPI case / raspberry pi Zero (no W) - can't establish SSH connection

    Scheduled Pinned Locked Moved Help and Support
    raspberry pi 0gpi caseusb ssh
    14 Posts 4 Posters 3.0k 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.
    • mituM
      mitu Global Moderator
      last edited by

      What makes you think that plugging the 'case' to your PC will make the PI be networked ? The USB is not a dedicated network interface connector, you need an USB network adapter (wired or wireless) in order to make the Pi get a network address via USB - and have SSH working.

      SSH is not authorized by adding something to config.txt- but by creating an empty/blank files named ssh (no extension) to the Boot partition.

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

        Since the networking connection does not work, try to copy the script to the /boot partition - which you can access from the PC. Afterwards, you can try and run the script with a keyboard connected via USB.

        cyperghostC 1 Reply Last reply Reply Quote 0
        • cyperghostC
          cyperghost @mitu
          last edited by cyperghost

          @mitu This will not work. The Retroflag script makes use of gpiozero libary so there is need to install it. Imho the best way would be to utlilze the script for recalbox this should work out of the box becasue all libaries are already installed. Instead of the os.system call shutdown -h me would use killall -w emulationstation && poweroff
          Then it should work....

          About the SSH thing.... SSH into Pi0 over USB never tried but it could work. Ever heard about that?

          mituM D 2 Replies Last reply Reply Quote 1
          • mituM
            mitu Global Moderator @cyperghost
            last edited by

            @cyperghost said in GPI case / raspberry pi Zero (no W) - can't establish SSH connection:

            About the SSH thing.... SSH into Pi0 over USB never tried but it could work. Ever heard about that?

            No, but it might work :).

            1 Reply Last reply Reply Quote 0
            • D
              dyspho @mitu
              last edited by

              @mitu
              Thanks a lot for your answer.

              I think the pi Zero just need a USB mini to USB cable to be recognized as a USB/Ethernet gadget by windows.
              Not sure a 100% as it's not working on my side but I think it's what the documentation says.

              Although, if using a USB network adaptor will fix my connectivity issue I will buy it right away !

              Before I buy it any other opinion / reaction on this solution ?

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

                @dyspho said in GPI case / raspberry pi Zero (no W) - can't establish SSH connection:

                I think the pi Zero just need a USB mini to USB cable to be recognized as a USB/Ethernet gadget by windows.

                Not out-of-the-box - see @cyperghost's reply with what you need to modify so that it works like you expected. Check the page he linked and make sure those configurations are in-place and then try again.

                1 Reply Last reply Reply Quote 0
                • D
                  dyspho @cyperghost
                  last edited by

                  @cyperghost
                  Thanks for your answer as well.

                  In my description I wasn't too much into the details but yes I've already tried the blank ssh file + cmdline.txt + config.txt solution.
                  It's the regular way to do it seems, but it doesn't give any result on my side except not booting retropie until the menu as I've explained (no error then but it's like retropie doesn't recognize the hardware if I boot with those modifications).

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

                    @dyspho Post the configurations you've done on the files.
                    Make sure you use something like Notepad++ to edit those files, regular Windows Notepad is not - yet - formatting them properly.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dyspho @mitu
                      last edited by dyspho

                      @mitu
                      I did as described on this link (previously posted by @cyperghost ), of course, using notepad++

                      https://desertbot.io/blog/ssh-into-pi-zero-over-usb

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

                        @dyspho Did you use the RetroPie image ? Because the hostname should be retropie.local, not raspberrypi.local, in this case.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dyspho @mitu
                          last edited by

                          @mitu just to be sure, in case I missed it, I just tried but unfortunately it doesn't work either.

                          1 Reply Last reply Reply Quote 0
                          • G
                            gtoal
                            last edited by

                            Another thing that can go wrong in this process... saving the wpa_supplicant.conf file to the boot partition - if you use Notepad, it is likely to add a hidden ".txt" extension and save the file as wpa_supplicant.conf.txt which you don't notice because windows hides the .txt extension.

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

                              @gtoal I don't see how this applies to the topic at hand - the poster specifically said it's a non-W(ifi) model and they don't try to use wireless at all.

                              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.