Don't have Telegram yet? Try it now!
https://harizanov.com/2013/04/auto-reconnect-wifi-on-raspberry-pi/
Auto reconnect WiFi on Raspberry Pi