0

Im using a terminal-based environment, but connecting to the internet requires a browser-based authentication. Can I use my Android device as a work-around, connecting it to that WiFi and then establishing an "authentification-free hotspot" to use from my computer? My thoughts were:

  1. Suppose I have an android phone can access internet through wifi-A.

  2. I want my computer to connect to the internet, however it can't direct connect to wifi-A because the computer is using a terminal environment, it can't access to the browser based login system of that wifi.

  3. Can I create a WiFi hotspot wifi-B using the phone, to share the internet with my computer? Note that the phone has internet access because it already connected to wifi-A.

In short, can I create a wifi hot spot using phone, but the phone has already connected to another wifi.

  • In theory this would be possible, if you have a dual band phone... You could use the 2.4Ghz band to connect to the WiFi network, and use the 5Ghz band to act as a hotspot and connect your device, or vise-versa. Actually implementing it could be interesting though since Android isn't designed to work that way. You would probably have to code it yourself with source from a custom ROM, I don't know of any implementations at this time. So the answer, for all practical purposes, would be no. – acejavelin Aug 16 '16 at 13:07
  • 1
    @acejavelin yet I am still a practical man ;) – an offer can't refuse Aug 16 '16 at 13:11
0

Unfortunately this is not possible. If the WiFi chip in your phone is connected to one host (mostly your router), it can't be used as repeater.

  • That's basically the same as what this answer says, but doesn't add to it? – Izzy Aug 16 '16 at 17:10
0

No; your phone can only connect to one wifi at a time. (Unless you add a usb-otg AP and write some code to make it work.) Although there are multi band wifi chips in phones it's unlikely the driver has the liberty to make the hardware work that way and writing your own driver is not practical anyway.

A more simple solution is to use curl on your (non-android) computer in the place of a web browser but the details of that are better left to stackoverflow.

Not the answer you're looking for? Browse other questions tagged or ask your own question.