?
Solved

Adding WPA2 Personal Wireless to Mac remotely

Posted on 2009-05-07
2
Medium Priority
?
369 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:
Britt Thompson earned 750 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 750 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
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.

589 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