One-click Internet sharing?

macstatic

macrumors 65816
Original poster
Oct 21, 2005
1,147
35
Norway
Now and then I find myself sharing Internet wirelessly from my Mac, but this involves a lot of clicking to enable, then the same thing in reverse to disable. Is there a solution which would allow for an "on/off switch" sort of thing, perhaps in the menu-bar or the dock?

By Internet sharing I mean:

1) turn wi-fi on
2) turn on "Internet sharing"-"Wi Fi" (Sharing system preference)
 

chabig

macrumors 603
Sep 6, 2002
6,309
3,563
You could leave wifi always on, but set wired ethernet to a higher priority so that wifi won't connect when ethernet is plugged in. Then you just turn internet sharing off and on.

Alternatively, Siri can turn wifi off and on, and she can also open Sharing preferences. That's less clicking.

It those actions could be done in terminal you could make an automator action to run the script.
 

macstatic

macrumors 65816
Original poster
Oct 21, 2005
1,147
35
Norway
How do you set priorities for the network? I tried to shift them around but that wasn't possible.
On the other hand I prefer to have Wifi switched off unless I actually need to use it.

I haven't used Siri yet as I haven't really seen any need for it, but that might be worth looking into.

I actually thought about Automator but dismissed it because I'm always having a hard time figuring it out. I'll see if I find some good tutorials on the subject. Isn't there some sort of recording function in it so that I can record what you do, then play it back later?