You can set this using the -addpreferredwirelessnetworkatindex option, with the network port, wireless network name, the index number you want to assign it to (set it to 0 if you don’t know what to set it to, as that’ll bump it to the top of the list), and the security type of the wireless network (OPEN, WEP, WPA, WPA2, WPAE or WPA2E). For me, one of the more useful is the ability to set wireless networks, either manually via the command line or automating it with a script. Networksetup has a few options that are specifically geared to working with wireless networks. If you need to set a wireless network in Mac OS X from the command line or with a script, you can do so with the networksetup command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |