Report comment

Feature request:
Could this be modified to check not only for access points within range, but (or?) for internet connectivity? Perhaps by pinging 8.8.8.8

Real world example use case:
Twice now in setting these up for people, they have misspelled (technically mis-capitalized) the WPA password. so the Pi sees the network in range and correctly doesn't create a hot spot, but also doesn't join the network, so I have no access to it. (I'm currently using the other version of the script that does not test on a schedule)