Wpa supplicant

From ParabolaWiki
Jump to: navigation, search

1 wpa_supplicant

wpa_supplicant is a WPA supplicant for WPA and WPA2. It is suitable for desktops, laptops, and embedded systems.

1.1 Installation

Install the wpa_supplicant package with the command

# pacman -S wpa_supplicant

1.2 Usage

You can use wpa_supplicant with the command:

# wpa_supplicant

For instance, say you wrote a file: wpa_supplicant.conf

# nano wpa_supplicant.conf
network={

 scan_ssid=1

 ssid="SarahsSSID"

 key_mgmt=WPA-PSK

 psk="SarahsPassword"

}

Then run the command:

# wpa_supplicant -c wpa_supplicant.conf -i interface -B

-c says "Read the following config file" -i says "Use the following interface" e.g. wlp3s0 (find your interfaces by running ifconfig ) -B says "Run in the background"

You can also issue a single command:

# wpa_supplicant -B -i interface -c <(wpa_passphrase "ssid" "password")

This command will assist in connecting without needing to create a wpa_supplicant.conf file.

You may find that you're still not connected to the Internet, if that's the case, try installing and running dhclient

# pacman -S dhclient
# dhclient -v interface