Created
November 17, 2022 08:06
-
-
Save FredyRosero/6d7b6c339ef83bdc45f6a48ac49faf7f to your computer and use it in GitHub Desktop.
Connect and disconnect interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while [ true ] | |
do | |
sudo ip link set wlan0 down | |
sudo ip link set wlan0 up | |
sleep 20 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment