Use networksetup to change AirPort networks from the command line

by admin on May 6, 2010

Filed under: ,

The other night I needed to change Wi-Fi networks on a computer that I was connected to via ssh. Just about every page that I found via Google led me to try the exact same thing (type “airport -A”) with one minor problem: it didn’t work.

Let’s back up a little bit. You may know that there is a commandline tool called “airport” which is buried fairly deeply in the filesystem:

System » Library » PrivateFrameworks » Apple80211.framework » Versions » Current » Resources » airport

Not the usual place to find a commandline utility. Translation? “This is here for Apple to use, but it’s not something you ought to rely on.” But of course that’s not going to stop us.

Read on for more…

TUAWUse networksetup to change AirPort networks from the command line originally appeared on The Unofficial Apple Weblog (TUAW) on Thu, 06 May 2010 11:00:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

Comments on this entry are closed.

Previous post:

Next post: