Wifi commands
created : Tue, 07 Apr 2020 20:35:07 +0900
modified : Sat, 27 Jun 2020 15:13:36 +0900
Wifi Adapter 찾기
iw dev
Adapter status
ip link show wlp2s0
Adapter Start
ip link set wlp2s0 up
When Operation fail because of rfkill
$rfkill list
$sudo rfkill unblock wifi
Wifi Adapter interface check
iw wlp2s0 link
Wifi Scan
iw wlp2s0 scan
Public Wifi Connect
sudo iw dev wlp2s0 connect iptime
WPA/WPA2 Wifi Connect
$ sudo wpa_passphrase ${SSID} > wpa_supplicant.conf ${password}
$ sudo wpa_supplicant -B -i wlp2s0 -c wpa_supplicant.conf
dhcp
sudo dhclient wlp2s0