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

    Traveling with my pi! No keyboard or internet how to setup ?

    Scheduled Pinned Locked Moved Help and Support
    keyboardbluetoothandroid
    34 Posts 6 Posters 7.8k 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.
    • EfriimE
      Efriim @trekdrop
      last edited by Efriim

      @trekdrop Actually you can do this without sharing the internet connection, I was thinking laterally from a different perspective.

      You should be able to do this just by enabling tether in the wireless settings. Then to find the IP address of the Pi to enter into Connectbot is another thing. I guess you could use the Retropie Show IP, but sometimes a lot of the time it gets cut off in the small dialog box. Also you may have to wait for the android to assign an IP address, which it might not do easily unless you share an internet connection, 5G or WiFi. If your phoneservice provider/branded phone, doesn't allow you to share internet and tether, then you can enable it in Developer settings.

      T 1 Reply Last reply Reply Quote 0
      • T
        trekdrop @Efriim
        last edited by

        @Efriim

        No I can't because I can't activate the WiFi in the pi menu. I need to go to the raspberry pi menu to activate the WiFi. And I can't do that with a controller so I am stuck before I have WiFi activated.

        But maybe you or someone can simply help me :)

        It's maybe to much to ask. But can you upload a retropi IMG that is clean only activated the WiFi?

        I am here in Indonesia and have WiFi on my laptop so I can download that one. And try from there on. It would be really nice.

        Torrent or upload doesn't care.

        ๐Ÿ˜€

        EfriimE 3 Replies Last reply Reply Quote 0
        • EfriimE
          Efriim @trekdrop
          last edited by

          @trekdrop
          I'll just try to start over, you won't need wifi. Only your phone and the charging cable for your phone.

          Charge your phone plugging it into the Raspberry Pi.
          Turn on the tether setting on your phone.
          Use your PS4 controller to to navigate EmulationStation and find "Show IP".
          Use the Android App "ConnectBot" and create an ssh connection to the tethered IP address, entering the username "pi" and host "ip.address".
          When you finally connect to the ssh, type sudo raspi-config into the ConnectBot SSH Terminal.
          Setup your wifi and localization using your phone.

          1 Reply Last reply Reply Quote 1
          • EfriimE
            Efriim @trekdrop
            last edited by

            @trekdrop
            When you navigate to "Show IP" on the raspberry pi (hopefully your controller doesnt use the same charging cable <_<).
            Wait a moment for the Android to assign the RNDIS USB ip address. And try "Show IP" again hopefully it will show you "USB0" connection IP address then.

            1 Reply Last reply Reply Quote 1
            • EfriimE
              Efriim
              last edited by Efriim

              After you setup the wifi it should be a snap to connect to the pi using your laptop, then you can use a ssh with a keyboard and setup samba and file transfer.

              1 Reply Last reply Reply Quote 1
              • EfriimE
                Efriim @trekdrop
                last edited by Efriim

                @trekdrop
                Tell me how far you are along, and I will try to give better directions.

                That was USB tether option, like tether-ball. Not the wireless tether.

                T 1 Reply Last reply Reply Quote 0
                • T
                  trekdrop @Efriim
                  last edited by

                  @Efriim

                  Dude! Thank you so much! Really, it's also nice I learned a new trick. It's 11 pm here so I need to sleep. Tomorrow morning I will try it and let you know. Really again, thank you so much. Good tutorial!

                  EfriimE 1 Reply Last reply Reply Quote 0
                  • EfriimE
                    Efriim @trekdrop
                    last edited by

                    @trekdrop
                    You're welcome, sleep well. Don't forget to make friends to play video games with tomorrow.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      trekdrop @Efriim
                      last edited by

                      @Efriim

                      I really needed to try it..

                      Bezig met verbinden naar 192.168.42.83:22 via ssh

                      Verbinding verloren
                      failed to connect to /192.168.42.83 (port 22) from /:: (port 43
                      406): connect failed: ETIMEDOUT (Connection timed out)
                      connect failed: ETIMEDOUT (Connection timed out)

                      EfriimE 1 Reply Last reply Reply Quote 0
                      • EfriimE
                        Efriim @trekdrop
                        last edited by Efriim

                        @trekdrop
                        That sounds about right. However I think you have acquired IP address of your phone or possibly the IP address was reassigned by android. The IP address is randomly set it will be in the range of 192.168.42.* with subnet mask 255.255.255.0 so it could be 1-255 probably high 84-255 you are close, I will see if there isn't a way to get the IP address out of android, or at least set the IP address.

                        If you download LanDroid (good free app) and use the ARP & ND Cache, it will tell you the IP address that you need to connect.

                        T 1 Reply Last reply Reply Quote 1
                        • T
                          trekdrop @Efriim
                          last edited by trekdrop

                          @Efriim

                          Woke up this morning and I tried it, no luck. Exactly the massage. Connecting lost, I probably am doing something wrong here.

                          It keeps saying. Host disconnect!

                          https://m.imgur.com/GcBb1KE,NAXUA7p,pHRo8ju,GkM5jhY

                          EfriimE 1 Reply Last reply Reply Quote 0
                          • EfriimE
                            Efriim @trekdrop
                            last edited by

                            @trekdrop Have you used LanDroid to find the IP address?
                            You have got the 192.168.42.___ as that is the IP assignment that Android uses.

                            T 1 Reply Last reply Reply Quote 1
                            • T
                              trekdrop @Efriim
                              last edited by

                              @Efriim

                              Can you see the screenshots?

                              EfriimE 1 Reply Last reply Reply Quote 1
                              • EfriimE
                                Efriim @trekdrop
                                last edited by

                                I'm not sure, I'll try to do it on my phone. Did you enter the username: pi

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  trekdrop @Efriim
                                  last edited by

                                  @Efriim

                                  Yes, I made screenshot from all the steps.

                                  1 Reply Last reply Reply Quote 0
                                  • EfriimE
                                    Efriim
                                    last edited by Efriim

                                    I just did it successfully. Try disabling Wifi and 4G on your phone, and make sure USB tether is still enabled. And not a loose charger connection.

                                    Other than that I don't know what it is that is missing, is ssh enabled on the RaspberyPI, if it isnt you can enable it using the controller to navigate to. It isn't likely you changed the username previously. pi@192.168.42.174:22 all good.

                                    Let me check if there was something different to enable ssh that I missed.

                                    1 Reply Last reply Reply Quote 1
                                    • EfriimE
                                      Efriim
                                      last edited by

                                      https://nostalgiatechs.com/enable-ssh-retropie/

                                      this is how, I think we missed it.

                                      1 Reply Last reply Reply Quote 1
                                      • EfriimE
                                        Efriim
                                        last edited by Efriim

                                        It took me a minute to check the screenshots, I had the internet going out on me at home it is a storm. They are separated by commas I didn't realize there are multiple. I can confirm this works on my phone.

                                        There is yet another solution, and it is easier but we learn a lot on the way. I didn't know that the import function was accessible https://github.com/RetroPie/RetroPie-Setup/wiki/Wifi The second half of the wiki says that it is possible to add the wifikeyfile.txt to the sdcards boot partition.

                                        The layout of wifikeyfile.txt is as follows

                                        ssid="NETWORK_NAME"
                                        psk="NETWORK_PASSWORD"
                                        

                                        Once that file is set it is possible to import wpa-passkey using the wifi setup on the pi.
                                        I hope I helped, I was glad to.

                                        T 1 Reply Last reply Reply Quote 1
                                        • T
                                          trekdrop @Efriim
                                          last edited by

                                          @Efriim

                                          Thank you so much! Sorry for the late reply like I said I am traveling and need to socialize sometimes ๐Ÿ˜. But I was just so stupid, i didn't activated ssh, everything works perfectly! Really awesome, and even it did take a while now I now more about the pi thanks to you!

                                          EfriimE 1 Reply Last reply Reply Quote 0
                                          • ClassicGMRC
                                            ClassicGMR
                                            last edited by

                                            I had this problem on my last trip to New Hampshire. I figured "It's all set up I won't have an issue"... yeah....

                                            I decided to change a video setting and I got locked out. I couldn't do anything. WiFi wasn't connected, I couldn't ssh in. Nothing worked.

                                            I had my laptop so I just re-imaged the card. No controller setup when you do that... so I had video but no way to reconnect the controllers.

                                            I played ONE game all week... moral of the story is I will never go away without a USB keyboard!

                                            Growing older is mandatory. Growing up is optional!
                                            Enjoy the ride!

                                            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.