Hot answers tagged wifi
Looks like networksetup and airport are your best bets. run ifconfig to find network interfaces, then airport scan to find available networks, and then networksetup -setairportnetwork INTERFACE SSID PASSWORD where INTERFACE, SSID, and PASSWORD are replaced by the proper items. It's not the most elegant method, but it works.
Only top voted, non community-wiki answers of a minimum length are eligible