Koneksi ke Hotspot via CLI

Untuk mencari SSID yang tersedia ketikkan perintah berikut
pastikan kartu wireless (misal : wlan0 )sudah up
jika belum ketikkan perintah berikut
# ifconfig wlan0 up

kemudian
# iwlist wlan0 scan | grep ESSID

Untuk connect ke SSID, ketikkan perintah berikut
# iwconfig wlan0 essid "NAMA_SSID"

contoh
# iwconfig wlan0 essid "TKJ_NW"

kemudian
Untuk mempercepat proses restart network saat terkoneksi dengan wifi, ketikkan script berikut di "/etc/network/interfaces"

#nano /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
        wireless-essid [ESSID]
Share on Google Plus

About Elmirakom

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment