[Raspberry Pi] script for auto reconnecting WiFi connection
Create script file: touch /home/volumio/wifi-reconnect.sh with following content: #!/bin/bash SSID=$(/sbin/iwgetid --raw) if [ -z "$SSID" ] then echo "`date -Is` WiFi interface is down, trying to reconnect" >> /home/volumio/wifi-log.txt systemctl restart wireless fi echo "WiFi check finished" Make new file executable: chmod +x /home/volumio/wifi-reconnect.sh Install cron: sudo apt-get install cron… Continue reading [Raspberry Pi] script for auto reconnecting WiFi connection