View Single Post

Member Since: Dec 04, 2007
Posts: 3
brandonjp is on a distinguished road

brandonjp is offline
FYI, you can also enable/disable the airport/Wi-fi without sudo using:

networksetup -setairportpower en0 off
networksetup -setairportpower en0 on
I put it in an Automator workflow > Run shell script. Add other stuff to the workflow if needed, then save as Application or Service (to use a hotkey).

* Note: You might need to change the "en0" part to match whichever network device you're wanting to affect. Get a list of all devices with:
networksetup -listallhardwareports
I'm using OS X Mountain Lion 10.8.2 - The commands might be slightly different on other OS versions. This page has some info:
QUOTE Thanks