Skip to main content
Question

Wireless network config.

  • May 16, 2011
  • 5 replies
  • 23 views

Looking to configure the airport settings to join our wireless network. Not sure how to create that policy. Thanks in advance.

Kevin Hill - Albany ISD
Sent from my iPhone

5 replies

Forum|alt.badge.img+31
  • Honored Contributor
  • May 16, 2011

http://hints.macworld.com/article.php?story101004114849586

check that out


Forum|alt.badge.img+7
  • Employee
  • May 16, 2011

In the Resource Kit you can find this

# NAME
# setAirPortNetwork.sh -- Disassociates from the current wireless network
and sets the SSID and WEP or
# WPA password on the AirPort assuming the AirPort is on
#
# SYNOPSIS
# sudo setAirPortNetwork.sh
# sudo setAirPortNetwork.sh <SSID> <password>
#
# DESCRIPTION
# This script was designed to configure the AirPort network settings,
including which SSID the
# AirPort is pointed to, as well as what password should be used to
connect to the network
# if the network is a secured wireless network.


Forum|alt.badge.img+11
  • Contributor
  • May 17, 2011

The resource script will only connect the airport to wireless network once, it won't save that as a setting that would be kept upon reboot. I was trying to come up with something to save a new wireless network profile for 10.5 machines a while ago, but didn't find an easy way to get it done in time before the project started. The script in the link that Tom posted works great for 10.6 machines, the verb used for the networksetup binary isn't there for 10.5.

--

David Kucmierz
Mesquite ISD Technical Services
972.882.5506


Forum|alt.badge.img+31
  • Honored Contributor
  • May 17, 2011

The script I submitted on mac hints dot com works only for 10.6 machines and it doesn't do certs. You would have to script that further.


Forum|alt.badge.img+8
  • Contributor
  • May 17, 2011

This is the Method I use, I set it up manually on a clean Machine and I package the /Library/Preferences/System Configuration folder and I put the Cert in a folder I called /etc/certs. Than I run a rename script ( system Configuration folder holds name of computer) I also run this command in a script to Trust the Certificate, than do a Restart.

#!/bin/bash

sudo security add-trusted-cert -d -k /Library/Keychains/System.keychain /etc/certs/mywirelesscert.cer

PS.. I do a login window profile and leave the Username and Password blank so it will pass User who logged in info.

D. Trey Howell ACMT, ACHDS, CCA
trey.howell at austinisd.org
Desktop Engineering
twitter @aisdmacgeek