How do I, from the command line, confirm on the host that the wireless network connection uses WPA2?
The wireless router is set to use WPA2 Personal
(WPA2 with a pre-shared key) and AES on the network, and I have added wpa-ssid
, wpa-psk
and wpa-proto RSN
to /etc/network/interfaces, but iwconfig prints Encryption key:off
. I am running Debian Wheezy/7.0. I checked the system logs but saw nothing of relevance, and the only current wpa_supplicant.conf on my system is one for D-Bus.
Best Answer
You can check what the access point is broadcasting in its beacons by doing this (you'll need the
wireless-tools
package):The output varies by device, and will display every SSID the interface can see. My WPA2 access point gives this (from
iwlist
's very verbose output):You can also interrogate
wpa_supplicant
directly, which might be more what you're after: