Can I use my android's wifi to let another device to connect it through wifi? 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:


Suppose I have an android phone can access internet through wifi-A.
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.
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.
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.