Questions tagged [wpa]

WPA (Wifi Protected Access) is a family of security protocols for Wi-Fi networks. The current version is WPA2, also known as IEEE 802.11i.

Wifi Protected Access (WPA) is a security protocol for Wifi signals.

49 questions
40
votes
2 answers

Hiding passwords in wpa_supplicant.conf with WPA-EAP and MSCHAP-v2

My wpa_supplicant.conf looks like this: network={ ssid="Some name" scan_ssid=1 key_mgmt=WPA-EAP eap=PEAP identity="my-user-id" password="(clear text password here)" ca_cert="/usr/share/ca-certificates/mozilla/GeoTrust_Global_CA.crt" …
Clément
  • 552
  • 1
  • 4
  • 12
15
votes
2 answers

WiFi error wpa_supplicant

I have a problem with the wpa_supplicant program. My problem is about the use of wpa_cli which needs wpa_supplicant. Error when I'm executing sudo wpa_cli: Could not connect to wpa_supplicant The manual start of wpa_supplicant gives me some…
Val
  • 301
  • 1
  • 2
  • 8
13
votes
2 answers

Cannot connect to WiFi with nmcli, although secrets are provided

I am using nmcli on ArchLinux (version 1.14.5dev+17+gba83251bb-1 from the official package repository) to connect to wifi. This works perfectly for all wireless networks apart from this one Vodafone EasyBox network. Trying to activate the connection…
msrd0
  • 490
  • 2
  • 8
  • 22
12
votes
2 answers

What are the most reliable wifi commandline tools? iw vs wpa_cli vs nmcli

I am exploring a few low-level tools for connecting to wireless networks, and I found the following tools (with useful documentation/tutorial links): iw wpa_cli nmcli I cannot seem to find a thorough evaluation of these tools, or of similar tools.…
modulitos
  • 3,097
  • 8
  • 29
  • 44
10
votes
3 answers

How to connect to Wi-Fi network in Arch Linux?

tl;dr After reading the Arch wiki articles on installation, wireless setup and WPA supplicant, trying the suggestions below and a host of forum threads, I'm unable to get either of the following cards to connect to my wireless network when booting…
l0b0
  • 50,672
  • 41
  • 197
  • 360
9
votes
1 answer

How to view the WPA2 PEAP certificate offered by an AP?

I have to connect to a WPA2 Enterprise network which only works if I don't verify the certificate. I would prefer not to do this, because this way anyone can see the MSCHAPv2 messages. The first step to fixing this would be looking at the…
stribika
  • 5,374
  • 5
  • 30
  • 35
9
votes
1 answer

wpa_cli level command always fails

I'm trying to set the debug level of wpa_cli using the level command. It doesn't matter if I use interactive mode or direct commands the level command always fails. wpa_cli -i wlan0 level 1 => FAIL And interactive mode: wpa_cli wpa_cli…
MSB
  • 233
  • 2
  • 5
8
votes
2 answers

escape characters in /etc/network/interfaces

I want to be sure that whatever string I pass into the line wpa-ssid "abc" in /etc/network/interfaces won't be used to break out of the configuration. All I can find in the manual is that \ can be used at the end of a line to continue on the next…
hultqvist
  • 227
  • 1
  • 2
  • 7
6
votes
1 answer

Can I connect to a hidden wifi without knowing the ESSID?

Is it theorically possible to connect to a hidden wifi without giving the ESSID? The way I connect to a hidden wifi requires to give an SSID (nmcli refuses to have a blank 802-11-wireless.ssid field). nmcli con add type wifi con-name
user123456
  • 4,758
  • 11
  • 52
  • 78
4
votes
1 answer

wpa_supplicant says network is disabled

When trying to connect to a network (specifically a WPA2 enterprise network for a university) with wpa_supplicant on Gentoo Linux, the network is shown as disabled when the flag is not set. My wpa_supplicant.conf…
avandesa
  • 43
  • 1
  • 5
4
votes
1 answer

How to make wpa_supplicant automatically log into file

I am trying to troubleshoot a wireless connection on FreeBSD. I am manually editing the /etc/wpa_supplicant.conf file So far the wpa_cli status only tells me that it's Unauthorized. I'd like to get a more verbose message and log the messages into a…
zabumba
  • 904
  • 10
  • 28
  • 50
3
votes
1 answer

Generate a QR-code to log into Wireless (wifi) with WPA encryption

I installed a command-line QR-code generator: apt install qrencode I used the following format, so the QR scanner knows what to do with the content: WIFI:T:WPA;S:;P:;; generating the QR image…
nath
  • 5,430
  • 9
  • 45
  • 87
3
votes
1 answer

Configure wpa_supplicant.conf to Hidden SSID using WPA2 / PEAP / MS-CHAPv2

Here the specifics, I have also the CA certificate chain installed on the machine 1 - hidden SSID (non-broadcast) 2 - The authentication protocol used is PEAP, which is a username and password protocol. 3 - The username and password are passed…
zabumba
  • 904
  • 10
  • 28
  • 50
2
votes
2 answers

wpa_passphrase must be 8..63 characters

I'd like to connect to wireless network via command line in Linux. When doing it I've stuck with this issue: $ wpa_passphrase NETWORK_SSID NETWORK_PASSWORD Passphrase must be 8..63 characters The NETWORK_PASSWORD has only five characters. Via…
xralf
  • 16,149
  • 29
  • 101
  • 149
2
votes
2 answers

Skip scanning in wpa_supplicant

When we execute command wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf for connecting to AP, wpa_supplicant follows following steps: 1. wpa_supplicant requests the kernel driver to scan neighboring BSSes 2. wpa_supplicant selects a BSS based…
SHW
  • 14,454
  • 14
  • 63
  • 101
1
2 3 4