add switching to localhost if wlan0 is down