<html>
<head>
<style type="text/css">
<!--
body { line-height: normal; margin-top: 4px; font-variant: normal; margin-left: 4px; margin-right: 4px; margin-bottom: 1px }
p { margin-top: 0; margin-bottom: 0 }
-->
</style>
</head>
<body>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">Hey everyone, I am in the middle of switching everything over to compiled configurations and so that means I have to script a lot of post image settings since I am never logging in to the OS and setting them before hand. So, I was looking into configuring my network settings and I recall running into this before. Now, we are a complete 10.5 shop so your results may vary if you are running any different versions. If you look here:</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport </font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">You can set all sorts of things from this framework. If you run that with the --help command you get this:</font> </p>
<br> <br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">tlarkin$ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport --help</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport AirPort v.528.1 (528.1.0)</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">Supported arguments:</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -z --disassociate Disassociate from any network</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -i[<arg>] --ibss=[<arg>] Create IBSS</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -x --xml Print info as XML</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -s[<arg>] --scan=[<arg>] Perform a wireless broadcast scan.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> Will perform a directed scan if the optional <arg> is provided</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -r<arg> --repeats=<arg> Repeat the command the specified number of times</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -A[<arg>] --associate=[<arg>] Associate to network.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> Will prompt for network name if arg is not specified</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> and if necessary, for a password if the network is using WEP or WPA.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> The following additional arguments may be specified with this command:</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> --bssid=<arg> Specify BSSID to associate with</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> --password=<arg> Specify a WEP key or WPA password</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -I --getinfo Print current wireless status, e.g. signal info, BSSID, port type etc.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -P<arg> --psk=<arg> Create PSK from specified pass phrase and SSID.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> The following additional arguments must be specified with this command:</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> --ssid=<arg> Specify SSID when creating a PSK</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -c[<arg>] --channel=[<arg>] Set arbitrary channel on the card</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande"> -h --help Show this help</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">admins-imac:~ tlarkin$ </font> </p>
<br> <br><br><br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">FYI</font> </p>
<br> <br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Lucida Grande">-Tom</font> </p>
<br> <br>
<p style="margin-bottom: 0; margin-top: 0">
?xml version="1.0" encoding="ISO-8859-1"?> </p>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
body { line-height: normal; margin-top: 4px; font-variant: normal; margin-left: 4px; margin-right: 4px; margin-bottom: 1px }
p { margin-top: 0; margin-bottom: 0 }
-->
</style>
<p style="margin-bottom: 0; margin-top: 0">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<title>> </title>
</p>
</head>
<body>
<p style="margin-bottom: 0; margin-top: 0">
<title>> </title>
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
<br type="text/css" marginbottom="10" margintop="10" marginleft="10" marginright="10">
<br>
<br>___________________________<BR>Thomas Larkin<BR>TIS Department<BR>KCKPS USD500<BR><a href="mailto:tlarki@kckps.org">tlarki@kckps.org</a><BR>blackberry: 913-449-7589<BR>office: 913-627-0351<BR>chown -R us /.base<BR><BR><BR><BR><br><br>>>> "John McLaughlin" <John_McLaughlin@newton.k12.ma.us> 11/03/09 8:15 AM >>><br> </p>
<div align="left" style="text-align: left">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+1" face="Arial" color="#000000" style="color: #000000; font-size: 14pt; font-family: Arial">Did you replace com.apple.airport.preferences.plist and preferences.plist with your package?  Are those files the only ones responsible for the change?  How are you setting the password?  I've been scripting the additional entries using PlistBuddy.  What exactly are your renaming in your script?</font> </p>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
<div align="left" style="text-align: left">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+1" face="Arial" color="#000000" style="color: #000000; font-size: 14pt; font-family: Arial">John McLaughlin</font> </p>
</div>
<div align="left" style="text-align: left">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+1" face="Arial" color="#000000" style="color: #000000; font-size: 14pt; font-family: Arial">Technical Support Specialist</font> </p>
</div>
<div align="left" style="text-align: left">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+1" face="Arial" color="#000000" style="color: #000000; font-size: 14pt; font-family: Arial">Newton Public Schools</font> </p>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
><br>> </p>
<div align="left" style="text-align: left">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="Arial" color="#000000" style="color: #000000; font-size: 10pt; font-family: Arial"><b><a href="mailto:dhowell@austinisd.org">dhowell@austinisd.org</a> on Tuesday, November 03, 2009 at 10:06 AM -0500 wrote:</b></font> </p>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">I actually setup the network and copied the /Library/Preferences/SystemConfiguration into a package and have a script the renames it at the end. so it resets the Airport back to default settings I choose. The reason for the rename is the computer name is embedded in there also.</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">D. Trey Howell</font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">ACMT, ACPT, ACDT, ACHDS</font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif"><a href="mailto:trey.howell@austinisd.org">trey.howell@austinisd.org</a></font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">Desktop Engineering</font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">twitter @aisdmacgeek</font> </p>
</div>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">This email message, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential student and/or employee information.  Unauthorized use of disclosure is prohibited under the federal Family Education Rights & Privacy Act (20 U.S.C. §1232g, 34 CFR Part 99, 19 TAC 247.2, Gov&#8217, t Code 552.023, Educ. Code 21.355, 29 CFR 1630.14(b)(c)).  If you are not the intended recipient, you may not use, disclose, copy or disseminate this information.  Please call the sender immediately or reply by email and destroy all copies of the original message, including attachments.</font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
><br>><br>> </p>
<div align="left">
<table style="margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px" width="99%" cellpadding="0" cellspacing="0" summary="">
<tr>
<td>
<br>
</td>
<td width="100%">
<div align="left">
<table style="margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px" width="99%" cellpadding="0" cellspacing="0" summary="">
<tr>
<td valign="top" width="100%">
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif"><b>[Casper] airport prefs..</b></font> </p>
</div>
</div>
</td>
</tr>
</table>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
<div align="left">
<table style="margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px" width="99%" cellpadding="0" cellspacing="0" summary="">
<tr>
<td width="31%">
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#E26200" style="color: #E26200; font-size: 12pt; font-family: sans-serif"><b>John McLaughlin </b></font> </p>
</div>
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="Times New Roman" color="#000000" style="color: #000000; font-size: 12pt; font-family: Times New Roman"> </font> </p>
</div>
</div>
</td>
<td width="15%">
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#8F8F8F" style="color: #8F8F8F; font-size: 12pt; font-family: sans-serif">to:</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
</td>
<td width="26%">
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 12pt; font-family: sans-serif">Casper List</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
</td>
<td width="27%">
<div align="right" style="text-align: right">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#000000" style="color: #000000; font-size: 10pt; font-family: sans-serif">11/03/2009 07:49 AM</font> </p>
</div>
</div>
</td>
</tr>
<tr>
<td valign="top" width="31%">
<br>
</td>
<td valign="top" width="15%">
<br>
</td>
<td valign="top" width="26%">
<br>
</td>
<td valign="top" width="27%">
<br>
</td>
</tr>
</table>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
<div align="left">
<table style="margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px" width="99%" cellpadding="0" cellspacing="0" summary="">
<tr>
<td width="100%">
<div align="left">
<table style="margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px" width="99%" cellpadding="0" cellspacing="0" summary="">
<tr>
<td width="33%">
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#8F8F8F" style="color: #8F8F8F; font-size: 12pt; font-family: sans-serif">Sent by:</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
</td>
<td width="66%">
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="sans-serif" color="#E26200" style="color: #E26200; font-size: 12pt; font-family: sans-serif"><b><a href="mailto:casper-bounces@list.jamfsoftware.com">casper-bounces@list.jamfsoftware.com</a></b></font> </p>
</div>
</div>
</td>
</tr>
</table>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
</td>
<td>
<br>
</td>
</tr>
</table>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
</td>
</tr>
</table>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
><br>><br clear="all">><font color="#000000"><hr style="margin-top: 0px; color: #000000; background-color: #FFFFFF" width="100%" size="1" color="#000000" noshade="noshade"></font>><br>><br>><br>> </p>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+2" face="Arial" color="#000000" style="color: #000000; font-size: 17pt; font-family: Arial">Hi,</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+2" face="Arial" color="#000000" style="color: #000000; font-size: 17pt; font-family: Arial">        Has anyone had any luck setting Airport to switch wireless networks that use a mere WEP key?  I've read a lot about Leopard not remembering recent networks or retaining the password.  I can use networksetup just fine within 10.6 and it always rejoins the network after rebooting.  Any help would be appreciated.  </font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+2" face="Arial" color="#000000" style="color: #000000; font-size: 17pt; font-family: Arial">John McLaughlin</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+2" face="Arial" color="#000000" style="color: #000000; font-size: 17pt; font-family: Arial">Technical Support Specialist</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+2" face="Arial" color="#000000" style="color: #000000; font-size: 17pt; font-family: Arial">Newton Public Schools</font> </p>
</div>
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
> </p>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="Courier" color="#000000" style="color: #000000; font-size: 12pt; font-family: Courier">_______________________________________________</font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="Courier" color="#000000" style="color: #000000; font-size: 12pt; font-family: Courier">Casper mailing list</font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="Courier" color="#000000" style="color: #000000; font-size: 12pt; font-family: Courier"><a href="mailto:Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a></font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<br>
<div style="background-color: #d0d0d0">
<p style="margin-bottom: 0; margin-top: 0">
<font size="+0" face="Courier" color="#000000" style="color: #000000; font-size: 12pt; font-family: Courier"><a href="http://list.jamfsoftware.com/mailman/listinfo/casper" target="_blank">http://list.jamfsoftware.com/mailman/listinfo/casper</a></font> </p>
</div>
</div>
<div align="left" style="text-align: left">
<div style="background-color: #d0d0d0">
<br>
</div>
</div>
<p style="margin-bottom: 0; margin-top: 0">
<br>
><br>>
</p>
</body>
</html>
</body>
</html>