Iwconfig: akses dengan wpa

From OnnoWiki
Revision as of 10:16, 2 January 2021 by Onnowpurbo (talk | contribs) (Created page with "Sumber: https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant ==Lakukan rfkill== apt install rfkill rfkill list pastikan tidak ada interface wif...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant


Lakukan rfkill

apt install rfkill
rfkill list

pastikan tidak ada interface wifi yang di block

sudo systemctl stop NetworkManager


Cek WiFi

iwconfig

Jika di perlukan untuk up

sudo ifconfig wlp2s0 up

Scan

sudo iwlist wlp2s0 scan | grep ESSID
sudo iwlist wlp2s0 scan


Set wpa_supplicant

sudo apt install wpasupplicant
wpa_passphrase your-ESSID your-passphrase | sudo tee /etc/wpa_supplicant.conf
wpa_passphrase diamankan 1234567890 | sudo tee /etc/wpa_supplicant.conf

Connect

sudo wpa_supplicant -c /etc/wpa_supplicant.conf -i wlp3s0


Referensi