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

    Open Wi-Fi with Retropie

    Scheduled Pinned Locked Moved Help and Support
    wi-firetropiesshopen
    6 Posts 5 Posters 3.2k 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.
    • D
      dhlee20
      last edited by dhlee20

      I need to transfer some rom files via SSH in Retropie 3.3 or later.

      Is it possible to transfer files using an open Wi-Fi? (requires another log-in page)

      Home Wi-Fi which has to enter a password is perfectly fine.

      1 Reply Last reply Reply Quote 0
      • Beretta9B
        Beretta9
        last edited by

        Retro Gamer Supreme

        1 Reply Last reply Reply Quote 0
        • B
          backstander
          last edited by backstander

          @dhlee20 Just to clarify when you said open Wi-Fi, do you mean like the ones at Hotels and Hospitals where after you connect you have to goto a website to agree to their terms and conditions? Hmm I don't know but it seams like you'd need some web browser to accomplish this. If you have Raspbian installed you might be able to use the included web browser but you might also be able to use the text web browser called Lynx from the command prompt?

          1 Reply Last reply Reply Quote 1
          • P
            PetroRie
            last edited by

            Only good way to know this is to try it out yourself since you're already in that situation.

            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @PetroRie
              last edited by mediamogul

              @PetroRie

              I believe all you have to do is connect as usual via the RetroPie menu. From there you would simply make an attempt to access any page through 'Lynx' as @backstander mentioned. You should then be greeted with the necessary login page. As an alternative you can also connect with your phone and use it as a hotspot for your pi.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 1
              • mediamogulM
                mediamogul Global Moderator
                last edited by mediamogul

                This question has had me thinking all afternoon, as it could easily come up while traveling. I was thinking that there must be a way to do this without the forethought to install 'Lynx' ahead of time. After a bit of searching, I found the following at:
                https://superuser.com/questions/132392/using-command-line-to-connect-to-a-wireless-network-with-an-http-login

                You will have to look once at the source of the login form to find out the names of the user and password fields. As the authentication redirect all pages, use any URL to get that source:
                
                curl http://www.google.com > login.html
                
                For example, you'll find:
                
                <form method="POST" action="http://my-public-provider.com/agree.php">
                    <input type="checkbox" name="agree" value="yes">I agree
                    <input type="submit" name="push" value="Send">
                </form>
                
                Then you can build your curl command to post your form information:
                
                curl -d "agree=yes&push=Send" http://my-public-provider.com/agree.php
                

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 1
                • 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.