Questions tagged [wpa-supplicant]

106 questions
35
votes
2 answers

WiFi authentication times out

Since today I have this very annoying issue that the WiFi on my HP ProBook is not authenticating anymore. I haven't changed any settings and my mobile phone connects to the WiFi fine. Also trying another WiFi access point (in fact, my mobile phone…
Bart Friederichs
  • 1,876
  • 6
  • 25
  • 43
17
votes
2 answers

How can I download the certificate of a wireless AP using 802.1X?

As far as I understand, wireless access points using WPA-Enterprise (i.e. WPA plus 802.1X) can send a public key certificate to a client during connection setup. The client can verify this certificate to make sure it is not connecting to a rogue AP…
sleske
  • 23,525
11
votes
3 answers

wpa_supplicant for dual WLAN

I've got wlan0 and wlan1. Each interface should connect to a different SSID. I would like to use wpa_supplicant for both. I can put the two networks in /etc/wpa_supplicant.conf, but how do I tell which one each interface should use? (RHEL 6.3)
10
votes
2 answers

How to connect to a WiFi from command line under Ubuntu without .conf file?

I can connect to my WiFi out of the shell by doing: nano wireless-wpa.conf typing: ctrl_interface=/var/run/wpa_supplicant network={ ssid="my_router_id" scan_ssid=1 key_mgmt=WPA-PSK psk="1234567890" } and doing: ifconfig eth1 down iwconfig eth1…
9
votes
1 answer

Raspberry pi wpa_supplicant can't connect on a specific wifi. CTRL-EVENT-ASSOC-REJECT status_code = 16

I'm having trouble connecting to a specific wifi using raspberry pi. Here is the output when I check /var/log/syslog: Jun 19 09:44:52 raspberrypi wpa_supplicant[447]: wlan0: Trying to associate with 86:2a:a8:2d:35:ea (SSID='XXXX Wi-Fi' freq=2462…
8
votes
1 answer

How to re-enable a network that has been TEMP-DISABLED in wpa_supplicant?

In wpa_suppicant, a network can receive a sort of temporary "blacklisting" whereby wpa_supplicant won't try to connect to it. This happens in particular if authentication to the AP fails several times (which, since wpa_supplicant retries, is almost…
Thanatos
  • 2,542
8
votes
0 answers

wpa_supplicant roaming to better signal

I have a router (with access pont) and an access point connected using an ethernet cable. Both access points have the same SSID, password, encryption,... I tried to use the wpa_supplicant package. First of all I created a file…
7
votes
1 answer

Where can I find a full list of wpa-* options for the interfaces file?

I'm looking for an exhaustive list of wpa-* options that can be used in the /etc/network/interfaces file. The Debian wiki has a how-to-use page here: https://wiki.debian.org/WiFi/HowToUse, which refers to /usr/share/doc/wpasupplicant/README.modes.gz…
MatthewD
  • 343
7
votes
2 answers

What security does the wpa_passphrase tool actually add to a wpa-supplicant configuration file?

I was looking at this guide to setting up a wifi connection on a modern linux system (specifically raspbian, but I assume the steps are similar in other linux systems) with only a command-line interface. The guide mentioned that the PSK could be…
jaredad7
  • 205
6
votes
2 answers

wpa_cli choose interface p2p-dev-wlan0 automatically when -i is not specified

I want to use wpa_cli to connect with AP. If I use wpa_cli without -i option, wpa_cli will choose interface p2p-dev-wlan0 which does not really exist. And network list between p2p-dev-wlan0 and wlan0 are not shared. $ wpa_cli add_network Selected…
CodePurin
  • 525
6
votes
2 answers

Connect wlan interface to specific BSSID without knowledge about SSID

I do know the BSSID and passphrase of my wireless router and I want to connect my wireless interface to it without caring about the SSID. Thus, I do want it to work even after the SSID of the wireless router has been modified. What I have tried to…
5
votes
1 answer

wpa_supplicant - detecting that my password is incorrect?

If I specify an incorrect password when connecting to a WiFi network is there anyway to detect that the reason I can't connect is the incorrect password (rather than one of the many other possible reasons that one might not be able to connect). E.g.…
5
votes
2 answers

Retrieve wpa_supplicant configuration generated by NetworkManager

I'm trying to debug a NetworkManager-powered wireless connection. It works when I feed wpa_supplicant with a custom wpa_supplicant.conf file written by me, but when I configure NetworkManager with the same parameters it does not work. I would like…
5
votes
3 answers

Unable to connect to wifi with wpa_supplicant

I try to connect with wifi using wpa_supplicant from command line. I use Ubuntu 12.04.1, and wpa_supplicant 0.7.3 Here is output of "iwlist wlan0 scan" related to AP I try connect to: 2: Cell 01 - Address: 00:11:22:33:44:55 3- …
Rodnower
  • 2,259
5
votes
2 answers

How to autorun wpa_supplicant on Debian startup

I'd like to run wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant.conf on Debian startup (runlevels 2-5). I found some vague instructions from a related question that said to put a script in /etc/init.d/ and then symlink to it from the…
Dr Kitty
  • 544
1
2 3 4 5 6 7 8