This app was mentioned in 8 comments, with an average of 1.88 upvotes
For Android users, there is an app to switch off your wi-fi when you move outside of an approved area.
It's probably also hackable with IFTTT or similar but for me this was simpler and it doesn't have any external dependencies (plus, IFTTT and similar services have their own privacy implications).
get Smarter Wifi Manager and it'll do this for you automatically: https://play.google.com/store/apps/details?id=net.kismetwireless.android.smarterwifimanager&hl=en_US
> There are settings you changed the second you setup your phone
Turned off location, NFC, auto-rotation.
Smarter WiFi Manager does the same for Android, which is handy for privacy & to save battery.. https://play.google.com/store/apps/details?id=net.kismetwireless.android.smarterwifimanager&hl=en
Thanks for the write up. A few points for feedback or onward discussion.
802.11w introduces protected managemnet frames which can assist in disabling some of these attacks.
There are already a few ESP8226 and scapy based deauth detectors available which may be of interest https://github.com/spacehuhn/DeauthDetector
KarmaDetector https://github.com/pmbento/karmadetector/wiki is a good script to detect use of pineapples or similar attacks.
Another great tool from kismet, only allowing connections to wifi in areas you trust. https://play.google.com/store/apps/details?id=net.kismetwireless.android.smarterwifimanager&hl=en_GB
Smarter WiFi Manager does this.
https://play.google.com/store/apps/details?id=net.kismetwireless.android.smarterwifimanager
Worth every penny. Just turn off notifications. :)
Are you on android? https://play.google.com/store/apps/details?id=net.kismetwireless.android.smarterwifimanager&hl=en
Works great.