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
1
vote
0 answers

Setting up wpa_supplicant as 5GHz accesspoint fails on all channels

I am attempting to run wpa_supplicant as a 5GHz access point on a NUC installed with ubuntu 20.04 LTS. - But every single channel I try to use, it always fails with wlp2s0: Failed to start AP functionality. My wpa_supplicant.conf: network={ …
Mickey
  • 21
  • 4
1
vote
0 answers

Not able to initiate WiFi direct connection to android device from Raspberry Pi

I am trying to connect Android phone and Raspberry Pi board on WiFi direct using wpa_cli. I have followed https://raspberrypi.stackexchange.com/questions/117238/connect-android-smartphone-with-wi-fi-direct-to-a-raspberry-pi for setting up the P2P…
1
vote
0 answers

Limit on number of wireless "sta" stations in openwrt

I have openwrt implementation on a TPLink WR902AC (pocket router) I have a /etc/network/wireless configuration file with 10 sta configurations for connecting to AP all of which are active (option disabled '0') This is to ensure that openwrt connects…
M Rusedski
  • 85
  • 5
1
vote
0 answers

systemd, python-service can't copy to /etc/

I have a python service that is running via systemd on a raspberry-pi. I want to use subprocess.call to copy a file from ~ to /etc/wpa_supplicant/ When I start the python process from the comandline I have no problem executing the subprocess.call,…
1
vote
0 answers

static ip with wpa2-enterprise and wpa_supplicant

I am trying to connect to an office network using wpa2-enterprise and set a static IP in it. At the first time I connected with dhcp, got an IP, disconnected and added the following info: wpa_supplicant.conf file: network={ ssid="myssid" …
Gil404
  • 711
  • 1
  • 8
  • 22
1
vote
1 answer

wlan0: deauthenticating by local choice

I'm trying to set up station mode on my device. It works fine if i give the wpa_supplicant command on command line after boot up. But disconnects when i give those commands in a script and then make a systemd service. And after it disconnects, wlan0…
Sourabrt
  • 2,126
  • 2
  • 8
  • 22
1
vote
0 answers

WiFi direct failure to connect Raspberry Pi to Android

I'm attempting to connect an Android Phone to a Raspberry Pi over WiFi Direct however when the Pi is the group owner (GO) it always fails to form a group. If I create a group on the Android device first and then have the Pi join it connects as…
waaz
  • 11
  • 1
1
vote
0 answers

Enabling 802.11w mode with hostapd

I'm trying to setup a WiFi Access Point with a Raspberry Pi 3B+ having 802.11w enabled. Kernel version: Linux efb-ap-0 4.19.66-Re4son-v7+ #1 SMP Sun Aug 18 22:25:39 AEST 2019 armv7l GNU/Linux Driver: brcmfmac hostapd (Deb package): 2:2.9-1…
rbl
  • 21
  • 2
1
vote
3 answers

Edit wpa_supplicant.conf with python and raspbian

Willing to add wifi connections from a kivy app and I'm using a simple function to edit wpa_supplicant.conf file adding there new networks. My function correctly writes the configuration there and seems identical to the configs aded through raspbian…
lopalcar
  • 33
  • 1
  • 9
1
vote
1 answer

Updating wifi credentials to wpa_supplicant.conf in Rasberry Pi using Node.js

I am trying to provide wifi details to raspberry pi though Bluetooth. We are adding the wifi credentials to /etc/wpa_supplicant/wpa_supplicant.conf file. Once I get the credentials I am using nodejs to update the wifi credentials using fs.write(). I…
tharun
  • 348
  • 6
  • 15
1
vote
0 answers

Android Nougat wpa_supplicant.conf id_str

I have upgraded my Nexus 5 to Nougat (7.1.2) and had to wipe it. I tried to restore my WLAN networks by copying the old wpa_supplicant.conf, which crashed the whole wlan module. By comparing the old to the fresh file I noticed that on the new one…
meneken17
  • 350
  • 1
  • 10
1
vote
2 answers

Wifi P2P while maintaining a Wifi connection on rasperry pi 3 Raspbian using wpa_supplicant

I am pretty naive to this topic, so please excuse any dumb reply from my side. I want to connect my raspberry pi 3 to my android phone through Wifi Direct(or P2P), while maintaining its normal wifi connection. Whenever i run wpa_cli command, it…
Sarthak
  • 21
  • 3
1
vote
2 answers

Stop auto connect on ifconfig wlan0 up

I'm currently programming two scripts, one to connect to a wifi network, the other one to disconnect. The connect script works well, however when I'm do sudo ifconfig wlan0 down sudo ifconfig wlan0 up The interface automatically reconnect to the…
Arkaik
  • 852
  • 2
  • 19
  • 39
1
vote
0 answers

overwrite conf file android wpa_supplicant

Using a rooted phone I am trying to overwrite the wpa_supplicant file. I want to remove all the entries in here without going via the GUI (I underdtsand this was impossible in earlier versions of android). I can access the file…
1
vote
1 answer

wpa_supplicant C API undefined behavior

I managed to get the wpa_supplicant C API to work. But it behaves completly different each time I restart my Program. The Connection succeeds every time. But then the troubles begin: Sometimes SCAN replies an empty String but returns 0 (Ok). In…
bam
  • 954
  • 8
  • 26
1 2 3
8 9