Difference between revisions of "Linux: Wireless Network"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 27: | Line 27: | ||
nmcli d wifi connect my_wifi password <password> | nmcli d wifi connect my_wifi password <password> | ||
nmcli d wifi connect o1 password 123456 | nmcli d wifi connect o1 password 123456 | ||
+ | |||
+ | iwconfig | ||
+ | |||
+ | wlp2s0 IEEE 802.11 ESSID:"o1" | ||
+ | Mode:Managed Frequency:2.462 GHz Access Point: 10:6F:3F:3D:73:D0 | ||
+ | Bit Rate=130 Mb/s Tx-Power=22 dBm | ||
+ | Retry short limit:7 RTS thr:off Fragment thr:off | ||
+ | Encryption key:off | ||
+ | Power Management:on | ||
+ | Link Quality=70/70 Signal level=-38 dBm | ||
+ | Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 | ||
+ | Tx excessive retries:0 Invalid misc:10 Missed beacon:0 | ||
+ | |||
+ | ==Cara Lama== | ||
Setup WiFi | Setup WiFi | ||
Line 44: | Line 58: | ||
-83.00 dBm Swadaya20 | -83.00 dBm Swadaya20 | ||
-83.00 dBm OXYGEN | -83.00 dBm OXYGEN | ||
− | |||
− | |||
− | |||
Set ESSID dll | Set ESSID dll |
Latest revision as of 05:29, 15 August 2023
Install
sudo su apt update apt upgrade apt -y install wireless-network iw network-manager
Cek wireless extension
iwconfig
wlp2s0 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=-2147483648 dBm Retry short limit:7 RTS Fragment thr:off Encryption key:off Power Management:on
Setup menggunakan nmcli
nmcli d nmcli r wifi on nmcli d wifi list
Ganti my_wifi dengan access point kita Ganti <password> dengan password wifi
nmcli d wifi connect my_wifi password <password> nmcli d wifi connect o1 password 123456
iwconfig
wlp2s0 IEEE 802.11 ESSID:"o1" Mode:Managed Frequency:2.462 GHz Access Point: 10:6F:3F:3D:73:D0 Bit Rate=130 Mb/s Tx-Power=22 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on Link Quality=70/70 Signal level=-38 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:10 Missed beacon:0
Cara Lama
Setup WiFi
ifconfig wlp2s0 up
sudo iw wlp2s0 scan | grep -Po '(signal|SSID):\K.*' | sed 's/ $/ [unknown SSID]/' | paste -d ' ' - - | cut -c2- | sort -gr
-54.00 dBm o1 -55.00 dBm o3 -65.00 dBm Derry's -75.00 dBm Yan's Family\x20 -77.00 dBm Zamzam -79.00 dBm TP-Link_C1C8 -79.00 dBm ODC -83.00 dBm Swadaya20 -83.00 dBm OXYGEN
Set ESSID dll
iwconfig wlp2s0 essid o1 iwconfig wlp2s0
wlp2s0 IEEE 802.11 ESSID:"o1" Mode:Managed Access Point: Not-Associated Tx-Power=-2147483648 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on