How to set preferred wifi to auto-disconnect from tethering?
3
votes
2
answers
96
views
I use my android phone as a hotspot on my commute, but I often forget to turn it off when I get to work/home. This is expensive.
I want my laptop to auto-switch to my work/home WIFI when I get to my destination.
The problem _may_ be that my hotspot shows up as a regular wifi connection on my mac, not as a personal hotspot. (I don't know.)
My searching shows that older versions of macOS allowed me to drag-and-drop the network preferences; but it seems that now it uses a scoring system (Source: Apple Support, 2023)
Is there a way I can do this? I haven't found answers to these online:
- Can I mark my wifi as a personal hotspot, and will that fix it?
- Can I code up a script to affect the scoring of my preferred devices?
- Can I code up a script to detect the available wifis and disconnect from my andoid's wifi?
- Something else???
#### Other notes
It is work laptop; ability to run certain software is limited by company policy, but I do have root access.
I am an adept programmer, though AppleScript gives me headaches/heartaches.
---
**Sonoma**: 14.6 (23G80)
Asked by Michael Deardeuff
(193 rep)
Aug 8, 2024, 01:24 AM
Last activity: Sep 6, 2024, 11:00 PM
Last activity: Sep 6, 2024, 11:00 PM