Connecting to a wireless network from OS X command line.
The 'networksetup' utility is very powerful for making network changes to an OS X workstation. Below is the syntax for connecting a machine to a wireless network from the command line.
$networksetup -setairportnetwork Airport [router SSID] [password]
Additional Resources:
https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/networksetup.8.html
No comments:
Post a Comment