Connect WiFi di MacOS X via CLI alias Terminal

Sebenernya pertanyaan ini udah muncul dari dulu … tapi gak sempet dicari or dioprek, krn ngerasa kurang perlu ;))

Dikarenakan lg masang “server”2an di rumah, biar bisa diakses dari kantor ato dari mana aja … en iBook ku kadang suka ajaib … suka gak mau konek WiFi secara otomatis …

Berikut cara2nya …

1. Scan Network
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s

2. Connect ke Network Lsg SSID + Key
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport –bssid=WiFi_SSID –password=PASSWORD

3. Connect ke Network Interaktif
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -A
* nanti ada prompt SSID nya en Password nya …

4. Disconnect Network
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s