Can the hotspot option be controlled with Termux?
The hotspot option is an awesome option in modern day smartphones. It's functionality is limited in Android. For example, a data connection is required to activate it. Can Termux overcome this Android limitation? What are the methods to accomplish wifi-hotspot control in Termux?
Protection information in termux-wifi-scaninfo https://github.com/termux/termux-api/issues/90 is also a hotspot issue.
Specifically turning on and using the hotspot in airplane mode via Termux is requested.
I need this too. Simply turn on or off hotspot from termux.
https://github.com/oblique/create_ap this could work
@GOD-pro did you try if it works on Termux? The project you mentioned is not maintained anymore, but there are two forks linked on that page.
this is absolutely needed. There are certain models that don't work with ngrok (ie: for exposing ssh tunnels) w/o the hotspot enabled.
So there should be a way to turn on/off the hotspost
i have samsung phone with severe battery saver that auto turns of mobile hotspot. i want a way to check every few minutes whether hotspot is on or off and if its off switxh it on
There should be an option to disable automatically turning off hotspot if no devices are connected or a timeout option in hotspot settings.
This would be amazing for my scripting!
There should be an option to disable automatically turning off hotspot if no devices are connected or a timeout option in hotspot settings.
I would assume that Termux-API would toggle the system hotspot, meaning that it would use the settings defined in the Android hotspot settings.
Did you ever figure this out? I just need to be able to turn the hotspot on via script in termux.
I'd like to be able to control hotspot via termux, also. Simple toggle on/off/until no devices connected would be ideal for me.