Questions tagged [wpa-supplicant]

wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i/RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.

wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i/RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.

wpa_supplicant is designed to be a "daemon" program that runs in the background and acts as the backend component controlling the wireless connection. wpa_supplicant supports separate frontend programs and a text-based frontend (wpa_cli) and a GUI (wpa_gui) are included with wpa_supplicant.

More information can be found at http://w1.fi/wpa_supplicant/.

126 questions
2
votes
1 answer

Can you subscribe to netlink events from the wpa_supplicant in linux?

Given the wpa_supplicant in Linux uses nl80211, can I subscribe to one of it's multicast groups and listen for association, di-association, authentication and de-authentication events?
Toshiro
  • 345
  • 2
  • 5
  • 14
2
votes
1 answer

how get a WiFi disconnect event using wpa_cli when wifi is disconnected

i'm Working on a embedded Linux system. I need to connect to new WiFi when the existing WiFi disconnects. I can use a loop with a fixed sleep time and see if the wifi is connected or not, but it seems inefficient. Can anyone suggest a way that…
2
votes
1 answer

Registering a signal handler with wpa_supplicant p2p DBus interface

I'm running into issues trying to register to receive the "InvitationReceived" signal from wpa_supplicant's dbus interface for p2p using the gdbus library in C. I can create a proxy connection to the P2P dbus interface just fine and call methods on…
xgord
  • 4,606
  • 6
  • 30
  • 51
2
votes
1 answer

Hotspot using hostapd and wpa_supplicant

I need to create a hotspot setup using hostapd for EAP-SIM,EAP-AKA and EAP-AKA' and test it with wpa_supplicant. Currently I am able to use hostapd for WPA-PSK authentication, hostapd2.4 is used for this setup.I have modified the hostapd.conf for…
Anand
  • 278
  • 3
  • 10
2
votes
1 answer

HOSTAPD / WPA_SUPPLICNAT on Windows

On Linux/Ubuntu we have HOSTAPD and WPA Supplicant which can make wireless NIC card either access point or hotspot or p2p (wifi direct). Is there any way to perform the same on Windows?
Iker
  • 123
  • 1
  • 7
2
votes
1 answer

WiFi P2P with Android using wpa_cli in linux

I am trying to establish connection between my laptop and Android device using wpa_cli. I tried differen combinations of wpa_cli commands to connect but coud not do so. The commands I am running on my laptop are as follows: First…
Coder
  • 845
  • 1
  • 10
  • 20
2
votes
0 answers

WLAN passive scanning in wpa_supplicant Android

I have been trying to trigger WLAN passive scanning in android wpa_supplicant, the patch for which is provided in http://forum.xda-developers.com/showthread.php?t=2683858 But the android device still performs active scans for WLANs. Going through…
1
vote
1 answer

using psk instead of sae_password in wpa_supplicant.conf does not work

trying to formulate a wpa_supplicant.conf that can be used to connect to a variety of different networks especially wpa2 and wpa3 Networks, I want to use the following property: "sae_password: SAE password This parameter can be used to set a…
1
vote
0 answers

wpa_supplicant fails to compile for Windows 10 + OpenSSL v3.0.5

Executive Summary I'm trying to compile wpa_supplicant 2.10 using Visual Studio on Windows 10 with the OpenSSL v3.0.5, but the compilation fails on suspicious-looking pre-OpenSSL v1.1.0 code in wpa_supplicant source code. Build Environment and…
Moshe Rubin
  • 1,944
  • 1
  • 17
  • 37
1
vote
1 answer

Not connecting to Wi-Fi on first boot only, after editing wpa_supplicant

Raspberry Pi 4. So I have a python script (run at startup) with a GUI where it is possible to select a wifi network form a list and enter its password; such infos are saved to a file which will later (at startup) substitute the wpa_supplicant file.…
1
vote
0 answers

Wpa_supplicant.conf select specific wifi

I have a particular network that requires me to use a Raspberry as a bridge between wifi and ethernet This is my wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant #country=FR # phone connection share network={ ssid="wifi1" …
AtyKlaxas
  • 21
  • 3
1
vote
0 answers

Computer Authentication with Debian through a NPS in Active Directory and Unifi Controller with WPA2 Enterprise

I setup my Unifi Controller to authenticate my Notebooks via WPA2 Enterprise through a NPS with it's own certificate. The Notebooks get authenticated with their Computer Accounts through Active Directory. The wireless network with all the…
David
  • 11
  • 2
1
vote
0 answers

Can't connect to WiFi - CTRL-EVENT-ASSOC-REJECT, status code = 1, ASSOC_REJECT 12 - wpa_supplicant

I am trying to connect to my Wifi router with my Xiaomi Mi Max 2. I can connect to every router, but not to this one. Also, every other phone can connect to that router. I already tried changing protocols or resetting the router / phone. Looking at…
Trimbo1662
  • 11
  • 2
1
vote
1 answer

what difference between proto=WPA and proto=RSN in wpa_supplicant.conf

I have read the official doc here: https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf My question is what difference between two example below? one conf is: network={ ssid="example" proto=WPA …
walfud
  • 21
  • 4
1
vote
1 answer

wpa_supplicant has no interfaces (pydbus)

This is a simple code I have that I wrote using the documentation of wpa_supplicant's D-Bus API. from pydbus import SystemBus bus = SystemBus() proxy = bus.get('fi.w1.wpa_supplicant1','/fi/w1/wpa_supplicant1') print(proxy.Interfaces) As per the…
santiago
  • 93
  • 7
1 2
3
8 9