Solved

Adding WPA2 Personal Wireless to Mac remotely

Posted on 2009-05-07
2
358 Views
Last Modified: 2013-12-26
I would like to push out wireless to all mac laptops, I can find the laptops using ARD. The problem is I need to know how I can add this in so everyone has access to the wireless points. I would prefer this done by package or comand line. Thanks.
0
Comment
Question by:LouisSanchez
2 Comments
 
LVL 30

Accepted Solution

by:
renazonse earned 250 total points
ID: 24339835
You can try this...it enables a terminal command for configuring the airport. In turn, I assume you could write a shell script, apple script or just run a terminal command to the laptops:

run this command: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

then type this in your terminal: Airport -help

it will give you the help file for adjusting the settings...show below.

airport -help
airport AirPort v.524.1 (524.1.0)
Supported arguments:
 -z        --disassociate       Disassociate from any network
 -i[<arg>] --ibss=[<arg>]       Create IBSS
 -x        --xml                Print info as XML
 -s[<arg>] --scan=[<arg>]       Perform a wireless broadcast scan.
                           Will perform a directed scan if the optional <arg> is provided
 -r<arg>   --repeats=<arg>      Repeat the command the specified number of times
 -A[<arg>] --associate=[<arg>]  Associate to network.
                           Will prompt for network name if arg is not specified
                           and if necessary, for a password if the network is using WEP or WPA.
                           The following additional arguments may be specified with this command:
                                  --bssid=<arg>     Specify BSSID to associate with
                                  --password=<arg>  Specify a WEP key or WPA password
 -I        --getinfo            Print current wireless status, e.g. signal info, BSSID, port type etc.
 -P<arg>   --psk=<arg>          Create PSK from specified pass phrase and SSID.
                           The following additional arguments must be specified with this command:
                                  --ssid=<arg>      Specify SSID when creating a PSK
 -c[<arg>] --channel=[<arg>]    Set arbitrary channel on the card
 -h        --help               Show this help
0
 
LVL 4

Assisted Solution

by:homepup
homepup earned 250 total points
ID: 24401132
I have a VERY large set of scripts that does this for WPA2 Enterprise. Could probably be modified to work for you or at least give you some pointers.

http://bigmaconcampus.wordpress.com/2009/03/25/wireless-installer-for-the-masses/

This is a little outdated since I've modified some of the code and redone part of the Applescript in C due to technical issues. Plan to post the new stuff on the same site soon.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now