Browser redirect to wifi login page

  • Global Moderator

    Hi, I had similar experience pherhaps at MacDonald, having a different starting web browser page to the default Canonical one. When I switched back everything start to work properly. Hope this feedback will help to resolve this issue.

  • From what I can see, android connects to a network, then immediately tries to connect ( or something). If it takes too long, it just says that it has no internet; if it gets redirected to another website, it gives a notification.

  • I have here in my town a place where I am from time to time and they offer free Wifi for the guests. The authentication URL of the AP (some FRITZ!Box) is and the UT never gets redirected to this. I used an iPhone which magically goes right away after enabling Wifi to this page and I typed the above URL into the UT and bookmarked it. I'm asking me how the iPhone is "guessing" this URL?

  • @Flohack OK, thanks for taking the time to reply.
    I have also had similar problems from time to time with apple devices; Android seems to handle it quite well in my experience. Anyway, I don't see it as a major issue if I have to open the browser myself and try to load a page as long as it redirects me to the login page reliably and repeatably when I do that. However, this was not happening every time and it seemed to me to be random.

    The answer provided above by ernest seems to have solved it for me, although I have only tried one guest wifi so far. I have bookmarked and if I try to load that I get a successful redirect. Hope it keeps working like that.

  • We could just have UT automatically try to connect to, and if it redirects, show a notification prompting you to connect.

  • There was an article not top long go on OMUbuntu about this exact feature which would be landing in 17.10. Maybe something similar could be backported to 16.04? Battery life would be a concern, though...

  • @Leppa We cannot rely on a website that we don't manage.

    Ubports could create a http:// webpage to fix that, however i don't know the complexity to implement such feature on the phone side and there are other priorities.

    I would say a well organized wiki in open access like OSM or wikipedia with this kind of tips would be easier.

  • I sniffed with TCPDUMP in my FreeBSD netbook what's going on on
    first requesting with firefox some web page:

    1. FF starts and asks the (local) DNS at IP port 53
      for the IP addr of A?

    2. DNS answer: CNAME,

      CNAME, A

    3. FF makes HTTP request to and sends

      HTTP: GET /success.txt

    4. (and this is perhaps not the answer of, but sent by the local AP):

      HTTP/1.0 302 Moved Temporarily

    which FF now let bring up the landing/login page of the AP

    But, this (HTTP redirect) is only one of more arts to direct a browser to
    a login page; see also:

    I also would suggest a good organized description in the Wiki about some common methods to try in UT/UB to get to the login page of the local Wifi AP.


  • Banned

    This post is deleted!

  • Banned

    This post is deleted!

Log in to reply