Created
May 8, 2018 21:39
-
-
Save albenik/0e9a1d18ed0a3a21dd0852ceaf8d8a99 to your computer and use it in GitHub Desktop.
WiFi setup from cli with NetworkManager and nmcli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from here https://forums.kali.org/showthread.php?36275-Help-with-nmcli-and-connecting-to-specific-bssid-(error-53)&s=4a6691e9f86f22d4913fa5c5218c233f&p=71337#post71337 | |
sudo nmcli dev status | |
sudo nmcli dev wifi list | |
sudo nmcli con add con-name <My_profile_name> ifname <My_interface> type wifi ssid <My_eSSID> | |
sudo nmcli con modify <My_profile_name> wifi-sec.key-mgmt wpa-psk | |
sudo nmcli con modify <My_profile_name> wifi-sec.psk <My_WiFi_WPA_key> | |
sudo nmcli connection up <My_profile_name> | |
sudo nmcli -p c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment