Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: Switch between two wireless networks in one location' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Switch between two wireless networks in one location
Authored by: neier on Oct 08, '09 12:36:27AM
In 10.6, /usr/sbin/networksetup has been enhanced above and beyond 10.5

You can now -setairportnetwork directly, and not have to mess with locations.

I just verified with ifconfig that immediately after using networksetup to set the network, the DHCP information was renewed per the new network.

/usr/sbin/networksetup -setairportnetwork AirPort (SSID) (PASSWORD)

So, it shouldn't be too much trouble to make an applescript that toggles between two or more networks in that fashion.

Not sure if the IMAP or Google mail issues would be solved by this or not.

[ Reply to This | # ]