Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the hotspot option be controlled with Termux? #128

Open
SDRausty opened this issue Jan 30, 2018 · 11 comments
Open

Can the hotspot option be controlled with Termux? #128

SDRausty opened this issue Jan 30, 2018 · 11 comments

Comments

@SDRausty
Copy link

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?

@SDRausty SDRausty changed the title Can the hotspot option be controlled with Termux. Can the hotspot option be controlled with Termux? Jan 30, 2018
@SDRausty

This comment was marked as spam.

@SDRausty

This comment was marked as spam.

@eirmd
Copy link

eirmd commented Jul 1, 2021

I need this too. Simply turn on or off hotspot from termux.

@GOD-pro
Copy link

GOD-pro commented Apr 3, 2022

https://github.com/oblique/create_ap
this could work

@tik9
Copy link

tik9 commented Aug 6, 2022

@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.

@wildspecial
Copy link

wildspecial commented Aug 16, 2022

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

@tathastu871
Copy link

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

@agnostic-apollo
Copy link
Member

There should be an option to disable automatically turning off hotspot if no devices are connected or a timeout option in hotspot settings.

@ShadowEO
Copy link

ShadowEO commented Jan 5, 2023

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.

@K-L-R-3
Copy link

K-L-R-3 commented Dec 22, 2023

Did you ever figure this out? I just need to be able to turn the hotspot on via script in termux.

@izmyname
Copy link

izmyname commented Jan 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants