Monatliches Archiv: June 2018

turn it off and on again.sh

Comments Off on turn it off and on again.sh
Abgelegt unter macOS, Netzwerk

Wifi-Troubleshooting:

#!/bin/sh
echo " _____ _ _ __ __ _ "
echo "|_ _| _ _ _ _ _ (_) |_ ___ / _|/ _| __ _ _ _ __| | ___ _ _ "
echo " | || || | _| \ | | _| / _ \ _| _| / _ | \/ _ | / _ \ \ "
echo " |_| \_,_|_| |_||_| |_|\__| \___/_| |_| \__,_|_||_\__,_| \___/_||_|"
echo " "
echo " _ "
echo " __ _ __ _ __ _(_)_ _ "
echo "/ _ / _ / _ | | \ "
echo "\__,_\__, \__,_|_|_||_|"
echo " |___/ "
networksetup -setairportpower airport off
sleep 2
networksetup -setairportpower airport on
exit