Questions tagged [wpa-supplicant]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

getting error while configuring wpa_spplicant in WPA3 SAE mode

I configured as below in wpa_supplicant2.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 sae_pwe=2 sae_groups=19 20 21 24 25 update_config=1 network={ ssid=req_SSID proto=...
0 votes
0 answers
13 views

Wi-Fi power consumption - configuring scan

I'm working on a Linux device which has Wi-Fi capability. when there is a Wi-Fi network configured, wpa_supplicant will perform a scheduled scan (sched_scan) constantly - until it connects to a ...
0 votes
1 answer
40 views

Multiple wpa_supplicants/dhclients for multiple vlan network

tl;dr: How to get multiple wpa_supplicants and dhclient on different nics in different vlan running on debian_bulls/proxmox7? Ive been browsing and wasn't able to find a proper answer. I have this ...
1 vote
1 answer
141 views

wpa_supplicant: connect to mobile tethering but not to the router

Also my phone works successfully as a client of this Wi-Fi router, and even now I tether from this phone that is a client of this Wi-Fi. Wired connection (ethernet) from the same laptop to this router ...
1 vote
1 answer
2k views

wpa_supplicant disconnects with reason=3 on connection

I am using a raspberry pi 4 to connect to my college network (so using WPA-Enterprise using PEAP) using wpa_supplicant when I run the command, sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant....
  • 11
0 votes
1 answer
119 views

802.1x renewals under linux with a bridge device

I have a Fedora 33 linux machine running in an 802.1X environment. NetworkManager is configured to have an ethernet device doing the 802.1X part and a bridge device configured to do DHCP. (I'm using ...
1 vote
0 answers
203 views

wpa_supplicant needs a manual reassociation every once in a while

I recently reinstalled a Debian 10 on my laptop. Before that, wireless connection to my home AP worked fine (no latency, no disconnection...). But since the reinstallation, when my laptop is connected ...
  • 11
0 votes
1 answer
40 views

Connection to an external wifi network is established but pings aren't going through - using ipv6

So I am using a WiFi chip on an embedded board, and I set it up as a supplicant to connect to an external network and i'm able to to do it fine, but it just pings don't go through and i'm not sure if ...
  • 3
0 votes
0 answers
355 views

Block BSSID with wpa_supplicant in IBSS mode

is it possible to select / whitelist / blacklist a BSSID in IBSS (AdHoc) mode? The connection must be established using wpa_supplicant because encryption is needed. I've tried by specifying bssid, ...
0 votes
1 answer
31 views

How can I trigger re-generation of /usr/lib/systemd/system/wpa_supplicant@wlpXs0.service

There are standard systemd network config files for wpa_supplicant, namely /usr/lib/systemd/system/wpa_supplicant@wlpXs0.service. These are generated automatically at some point, presumably by ...
  • 770
0 votes
2 answers
2k views

Why I always Fail to "save_config" after finish setting wireless network use wpa_cli

I have created file in /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant GROUP=wheel update_config=1 Why always give me FAIL after save_config? ctrl_interface=DIR=/var/run/...
  • 11
0 votes
0 answers
159 views

Arch Linux: Using wpa_supplicant to connect to wifi

I was in the middle of switching desktop environments, so networkmanager had just been uninstalled, everything was fine because its instance was still running in the background. But I was with a ...
0 votes
2 answers
776 views

Configuring WPA supplicant to use tpm2 pkcs11 tools

I would like to configure WPA supplicant to authenticate with TPM 2.0 managed certificate in order to connect to company network. I created RSA keypair managed by my TPM, generated CSR and recieved ...
5 votes
2 answers
10k views

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 ...
  • 335
2 votes
1 answer
1k views

Linux (Arch) WPA_SUPPLICANT service not starting @ boot

Setting up linux "Arch" on my Microsoft Surface Pro 6, installed OK but an issue with wpa_supplicant as service. Service is enabled but fails to start @ boot time. After login as root, "systemctl ...
  • 31
9 votes
0 answers
2k views

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 ...
  • 201
3 votes
2 answers
4k views

Set wpa_supplicant default driver on startup

I am trying to connect a device to the wi-fi and for that I have two dongles: one 2.4GHz and one for 5GHz. However, the 5GHz one uses a specific driver 8812au. This driver is not compatible with ...
  • 143
2 votes
1 answer
462 views

Why can you configure multiple wep_keys in wpa_supplicant.conf?

I am trying to understand the configuration options for wpa_supplicant. WEP is almost irrelevant, but it does occasionally exist in the wild, so I looked up an example configuration (from here): ...
3 votes
0 answers
1k views

wlp2s0 with wpa_supplicant under NixOS

I have a NixOS system (nixos https://nixos.org/channels/nixos-18.03). Using wpa_supplicant, I can't get my wireless card to connect to my home network (WPA2). It's using the new Systemd Predictable ...
4 votes
1 answer
4k views

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 ...
  • 175
0 votes
1 answer
967 views

wpa_supplicant - no control interface generated under /run/wpa_supplicant

I have an Arch Linux install, with wpa_supplicant. Im trying to access through wpa_cli but get a connection error. I suspect that the problem is that the wpa_supplicant is not generating a control ...
's user avatar
1 vote
0 answers
226 views

Embeded Software Linux HOSTAPD Connection Issues

First off I don't know if this the right forum to ask this in. If you know a better one, please let me know and I will post it there, don't just downvote the question... I have an older embedded ...
  • 111
6 votes
1 answer
5k views

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 ...
  • 2,312
0 votes
1 answer
959 views

Can't connect to PEAP with wpa_supplicant on Arch

I've been searching around for how to connect to PEAP and there's lot's of info out there, but I can't seem to connect and my University tech support is no help(I'm not really surprised). Basically I ...
1 vote
1 answer
94 views

wpa supplicant - probing to AP before connect to check credentials

For recent development project I need to get the WIFi credentials from user end and submit to wpa_supplicant for initiate WiFI connectivity. I wrote a util using C++ which is doing the job but not the ...
1 vote
1 answer
664 views

Can't reconnect to Wi-Fi after disconnecting

I use Arch Linux and this is the command I usually use to disconnect from the Internet: sudo wpa_cli -i wlp2s0 -p /var/run/wpa_supplicant\ GROUP\=wheel/ terminate. To connect again, I use: sudo ...
  • 501
0 votes
1 answer
665 views

802.1X please translate the NetworkManager conf to wpa_supplicant conf

OS: (Arch Linux) Linux HP-Arch 4.17.4-1-ARCH NetworkManager is able to connect to my AP, "SYSU-SECURE", which requires 802.1X authentication. However, I would like to run wpa_supplicant directly with ...
  • 369
0 votes
3 answers
7k views

How to configure wpa_supplicant.conf for NetworkManager WiFi proper management?

I have NetworkManager installed on Wrap7 board(which runs embedded Linux distro), but NetworkManager does not detect WiFi interface with a default content of wpa_supplicant.conf. Here is ...
1 vote
0 answers
620 views

Can't connect to free wifi network with iwconfig in Linux embedded

at first sorry for my English, it's very bad. I hope you will understand my problem. I'm working on Yocto dizzy and I'm trying to manage Wi-Fi connections. On my board I have a wf111 module. When I ...
  • 11
0 votes
2 answers
545 views

linux wifi: how to detect the "connecting" state of an interface?

On Linux, is there a (low level) way to know if a wireless interface is currently trying to connect to a network? I failed to find something useful in this respect in /sys/class/net/<iface>/...
4 votes
1 answer
4k views

WiFi noise measurement

What I want to do: I want to do some experiments with devices such as a Raspberry Pi in environments, where there is noise in the 2.4GHz and 5GHz band. What I tried so far: My idea was to simply use ...
  • 308
0 votes
1 answer
534 views

Rapsbery Pi stretch lite not connecting to WiFi Network

I am running the latest November release of Raspian Stretch Lite on my Pi. I created a /etc/network/interfaces file with this information whenever I plug in my USB wifi dongle into the USB interface ...
  • 111
1 vote
1 answer
5k views

How do you find possible values for freq_list and/or scan_freq in wpa_supplicant.conf?

The wpa_supplicant.conf file can have parameters freq_list and scan_freq. How do I find what are the possible values for either or both of these parameters? freq_list=5500 5520 ... scan_freq=5500 ...
  • 113
0 votes
1 answer
510 views

Debian can not connect to one specific wifi

I'm using following command to connect to any wifi network: wpa_supplicant -c"/path/to/configfile" -Dwext -iwlp2s0 This command worked countless times and is also working right now. But I'm no ...
  • 495
0 votes
0 answers
355 views

What is wpa_supplicant p2p correct behavior?

I have two Android devices - say, A and B. Also I use Kali Linux device KL with wpa_cli running. Both A and B just booted, Wi-Fi on, no any apps that may affect experiment are installed. When I run ...
  • 353
0 votes
1 answer
79 views

wi-fi p2p peers discovery downgrades wlan bandwidth

When I initiate wi-fi peers discovery by p2p_find command in wpa_cli (wlan is the only interface) network bandwidth sugnifically slows. Tried it on Android Lollipop and Kali Linux, both are affected. ...
  • 353
1 vote
3 answers
6k views

how to delete SSID data from Debian wifi interface?

I have Debian distribution and when I want to reset the WIFI connection I run the following command: ifconfig wlan0 down and I also delete the wpasupplicant.conf file but when starting the network ...
0 votes
0 answers
545 views

wpa_cli lost connection to wpa_supplicant after starting armon-ng

On Kali Linux I have wpa_supplicant and wpa_cli running on wlan0. When I run $ airmon-ng start wlan0 wlan0mon interface being created in place of wlan0, and wpa_cli shows Connection to ...
  • 353
1 vote
1 answer
6k views

Raspberry Pi 3 Ad-Hoc Wireless network with wpa_supplicant/WPA2 configuration

I need help with securing Ad-Hoc network with wpa_supplicant. I've been trying to setup Ad-Hoc wireless network between Raspberry PIs 3 using the onboard WiFi adapter. pi@raspberrypi3bare:~ $ iw ...
7 votes
0 answers
3k views

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. ...
  • 171
1 vote
0 answers
1k views

wpa_supplicant removing all listed networks

I'm using wpa_supplicant with connmand over Centos 7. When I start wpa_supplicant either as system service or manually, and with debug enabled, wpa_supplicant list all BSSID near my computer. Then, ...
0 votes
0 answers
1k views

Create wpa_supplicant.conf from a Mac's preferred network list

Can I generate or export a wpa_supplicant.conf file from the preferred network list on my Mac?
  • 1
6 votes
2 answers
16k views

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 ...
0 votes
1 answer
953 views

Wicd+wpa_supplicant how to: NOT use certificates (PEAP+MSCHAP)? Enable logging?

I'm using Debian 8 (Jessie) with LDXE, Wicd, and wpa_supplicant, to try to connect to my work's WiFi network. The network uses PEAP and MSCHAP, but it does not use certificates. When I leave the ...
  • 105
3 votes
2 answers
3k views

wpa_passphrase with hex-encoded SSID

How can I generate a hex password based on a hex SSID? Explanation I use the following command to generate a hex value from a unicode string: $ echo -n "→ MyUnicodeSSID ←" | tr -d "\n" | od -A n -t ...
  • 557
0 votes
1 answer
6k views

Connect to eduroam over wire: nl80211: Driver does not support authentication/association or connect commands

I have a problem with connecting to eduroam network on wired connection. I thought that eduroam only works as wireless network, but apparently my institution also uses eduroam 802.1x authentication on ...
0 votes
2 answers
555 views

RT5572 can authenticate using WPA2, but can't get an IP address from DHCP

I have a system running open embedded Linux with the Ralink RT5572 wireless usb card. I have the driver installed along with wpa_supplicant and I need to be able to connect to a WPA2 secured network. ...
1 vote
1 answer
3k views

Wlan with wpa_supplicant under NixOS?

How to set up networking (wlan) with wpa_supplicant on NixOS? Whenever I try to connect to my local wlan network, I get CONN_FAILED as reason, which is a bit uninformative. It also tells me that my ...
1 vote
1 answer
4k views

WPA Supplicant reconnect after signal drop?

I have a headless server (Ubuntu Server 14.04 LTS) which I configured to connect to my WPA-protected wifi network at boot using the accepted answer in the link below (tl;dr: run wpa_supplicant from /...
  • 25
1 vote
0 answers
73 views

What is the fastest way to switch from one AP to another in Linux

I need to switch between APs quickly - in less than 1 second if possible. Using nmcli or wpa_supplicant the best I can do is about 12 seconds. Does anyone know a method to reduce the time? Thanks.