Good evening,
I need a script to toggle Wifi off/on. Where can I find it?
Thanks
Toggle Network connection
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
Toggle Network connection
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Toggle Network connection
ifconfig wlan0 down|up
nmcli nm wifi off|on
There's a script at the link below:
http://askubuntu.com/questions/240515/h ... g-a-script
nmcli nm wifi off|on
There's a script at the link below:
http://askubuntu.com/questions/240515/h ... g-a-script