UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to Force a Public Wi-Fi Network Login Page to Open?

    Scheduled Pinned Locked Moved Support
    16 Posts 8 Posters 2.7k Views 4 Watching
    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.
      • stanwoodS Offline
        stanwood @Lakotaubp
        last edited by

        @Lakotaubp Thank you Lakotaubp. I just browsed the web and it seems that "https" secured web pages are mostly not recognized by public Wi-Fi. It seems that this workaround works well:

        Connect to the public wifi
        Open morph browser
        Type http://neverssl.com OR 192.168.1.1

        Web page should automatically be redirected to the login page.

        I will try next time I'll be on a public Wi-Fi and let you know.

        Redmi Note 9S Stable
        If God has a computer, it must be a GNU/Linux

        1 Reply Last reply Reply Quote 1
        • D Offline
          danqo6
          last edited by

          I am doing this with 1.1.1.1 in morph, it will redirect you to login page

          1 Reply Last reply Reply Quote 2
          • K Offline
            kugiigi
            last edited by

            For me, I usually just go to google.com. Haven't tried this for a long time though so not sure if it still work.

            1 Reply Last reply Reply Quote 1
            • D Offline
              domubpkm
              last edited by domubpkm

              Do any of these things work for someone under focal ? Not for me with _SNCF_WIFI_INOUI
              image20231208_161214592.jpg

              LakotaubpL 1 Reply Last reply Reply Quote 0
              • LakotaubpL Offline
                Lakotaubp @domubpkm
                last edited by Lakotaubp

                @domubpkm just tried the google dot com one and it worked really quick with hotel wifi. Just opened a new tab in morph typed google dot com and login appears. Could not get it to work with others.

                D 1 Reply Last reply Reply Quote 1
                • D Offline
                  domubpkm @Lakotaubp
                  last edited by

                  @Lakotaubp Hello.
                  It's nice that it works for you and thanks for your feedback.
                  If I understood correctly, it works on the 2nd tab and not on the 1st ? I will give it a try on my next trip.
                  According to my infos, I was left with the idea that this could not work because UT has never had captive portal support to sign in to a public wifi. But maybe connection exceptions exist.

                  LakotaubpL 2 Replies Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp @domubpkm
                    last edited by

                    @domubpkm I always have tabs left open that I like to keep so needed to open a new tab that's all. Should work straight away.

                    1 Reply Last reply Reply Quote 0
                    • LakotaubpL Offline
                      Lakotaubp @domubpkm
                      last edited by Lakotaubp

                      @domubpkm Jfi just tried on original PP and it worked straight away from first opening of morph.

                      1 Reply Last reply Reply Quote 1
                      • J Offline
                        johndoe @stanwood
                        last edited by johndoe

                        @domubpkm @Lakotaubp I always use example.com and it always redirected me, if there was a login over an internal site required.
                        Maybe a script that checks, if a login is needed, could also use example.com.

                        Z D 2 Replies Last reply Reply Quote 0
                        • Z Offline
                          zubozrout @johndoe
                          last edited by

                          @johndoe IIRC recent Network Manager does this automatically, hence why it works on desktop and upon connecting to such a network shows the login page. I am not sure if the necessary update was made though or in what state that effort ended. Maybe the Network Manager even got updated but it would probably require more to actually have it open a web browser with the correct url.

                          https://github.com/ubports/ubuntu-touch/issues/885

                          1 Reply Last reply Reply Quote 1
                          • D Offline
                            domubpkm @johndoe
                            last edited by

                            @johndoe example.com doesn't work for me with SNCF french trains.. 🙂

                            J AppLeeA 2 Replies Last reply Reply Quote 0
                            • J Offline
                              johndoe @domubpkm
                              last edited by

                              @domubpkm Ok, that is unfortunate.

                              1 Reply Last reply Reply Quote 0
                              • AppLeeA Offline
                                AppLee @domubpkm
                                last edited by

                                @domubpkm
                                Seems weird.
                                Another way to get it is to check the IP address assigned to your device.
                                The landing page is often on the same network and you can guess it.

                                Most of the time indeed, the network should detect a network activity and redirect you to their captive portal.
                                Warning, IMHO this should only works if you do not force the use of specific DNS server.
                                You should also deactivate VPN while registering to the new network.

                                D 1 Reply Last reply Reply Quote 0
                                • D Offline
                                  domubpkm @AppLee
                                  last edited by

                                  @AppLee said in How to Force a Public Wi-Fi Network Login Page to Open?:

                                  Warning, IMHO this should only works if you do not force the use of specific DNS server.
                                  You should also deactivate VPN while registering to the new network

                                  You are right. I must check that again when i will take the train again but not this week-end.. 😉

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