Setup Ad-hoc WIFI from terminal in OS X
Is it possible to create a Ad-hoc Wifi network in OS X using the command line? Without using Apple Script to do it through the UI.
Solution 1:
I've used sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -i[<arg>]
to do the job. Take a look at /usr/sbin/networksetup
to round out the solution.