termux-api icon indicating copy to clipboard operation
termux-api copied to clipboard

Command to connect to wifi

Open abcdef8751 opened this issue 2 years ago • 6 comments

There should be a command to connect to wifi networks It would be useful for automation

abcdef8751 avatar Jun 28 '23 13:06 abcdef8751

You can use this command for turn on wifi

termux-wifi-enable true

for turn wifi off

termux-wifi-enable false

Note : enable auto connect wifi for after turn on => wifi connected

Screenshot_20230906-165709

If it's works please close this issue

HusniMuhammad avatar Sep 06 '23 11:09 HusniMuhammad

You can use this command for turn on wifi

termux-wifi-enable true

for turn wifi off

termux-wifi-enable false

Note : enable auto connect wifi for after turn on => wifi connected

Screenshot_20230906-165709

If it's works please close this issue

This won't help if someone wants to connect to a specific network

NoobJsPerson avatar Dec 06 '23 13:12 NoobJsPerson