Skip to main content

Questions tagged [wpa-supplicant]

wpa_supplicant, a free software implementation of an IEEE 802.11i supplicant for Linux, FreeBSD, NetBSD, QNX, AROS, Microsoft Windows, Solaris, OS/2 (including eComStation) and Haiku.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Specify compiled OpenSSL directory to wpa_supplicant

I am trying to compile wpa_supplicant, which requires OpenSSL, which I have compiled and installed to a custom directory, build such that the file ssl.h is in build/include/openssl/ssl.h Now, when I ...
Noob YT's user avatar
0 votes
0 answers
18 views

Do not put wlan inteface down in case of reauthenticate

It seems that the kernel (?) puts the interface down and then up when wlan interface connected to some AP reconnect from one BSSID to another. Is it possible to prevent kernel from doing it? So ...
Kamil Zaripov's user avatar
0 votes
0 answers
13 views

wpa_supplicant fails to connect with some routers

I have a Yocto Linux device equipped with a Laird 450-0152r wifi module. When the system boots, a systemd service creates an access point using the following script: #!/bin/bash modprobe brcmfmac iw ...
firion's user avatar
  • 149
1 vote
1 answer
83 views

OpenWRT wpa_supplicant does not support the network block?

When I run the following conf (all boiler plate), eapol_version=1 ap_scan=0 fast_reauth=1 network={ ca_cert="/etc/config/auth/CA_XXXX.pem" client_cert="/etc/config/auth/...
Evan Carroll's user avatar
  • 31.8k
0 votes
0 answers
107 views

NetworkManager Keeps Disconnecting

I connect to the internet via WiFi and it happens that occasionally and recurrently the connection keeps dropping and coming back on its own. It's true that there are several similar topics to this ...
rhuanpk's user avatar
  • 415
0 votes
0 answers
10 views

Buildroot: wpa_supplicant cannot connect to ESP32 SoftAP

I have a SoftAP set up using ESP32-S3. Clean example from ESP-IDF SDK, no changes on my end. I also have a MilkV-Duo board running buildroot with RTL8188 network card over USB. Here's the state of ...
piotr-de's user avatar
1 vote
1 answer
1k views

Remove p2p-dev-wlp1s0 device, network manager

nmcli output (among other items): p2p-dev-wlp1s0: disconnected "p2p-dev-wlp1s0" wifi-p2p, hw How can I remove this p2p-dev-wlp1s0 device? It's used for wireless peer-to-peer ...
Krackout's user avatar
  • 2,742
0 votes
0 answers
459 views

wpa_supplicant.conf not used by debian 12 when booted?

I'm creating a debian 12 from an image with the Balenaetcher tool. Once the SSD is written, I create a wpa_supplicant.conf file via a text editor in the /boot/firmware/ partition so that it can be ...
Domo Best's user avatar
0 votes
0 answers
143 views

How do I test Network Manager PKCS11 usage?

I am trying to access a wifi network which is 802.1x protected with a certificate and the private key is stored in a TPM2. When I try to connect to the network using Network Manager, I get the error ...
Bananguin's user avatar
  • 8,010
-1 votes
1 answer
331 views

How to auto connect wi-fi

I am using alpine linux. I use following command to connect to WiFi wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf udhcpc -i wlan0 But after every reboot I have to connect ...
kdm6389's user avatar
  • 11
0 votes
0 answers
161 views

Jetson Xavier NX + Intel AX210NGW WIFI 6E 6Ghz

my setup: Jetson Xavier NX, Jetpack 5.1.1, ubuntu 20.04, linux kernel 5.10 Intel AX210NGW WIFI 6E 6Ghz Router netgear RAXE300 tri-band situation: I was able to connect to wifi 6ghz from my laptop ...
matteo molinari's user avatar
0 votes
1 answer
2k views

how to connect to wpa2/peap/mschapv2 w/no ca certificate without wpa_supplicant

i have followed posts on Network Manager looping to connect to enterprise networks and coming back again and again asking for logon/password. the answer seems to be to use wpa_supplicant. i did a log ...
rny1so's user avatar
  • 1
2 votes
0 answers
148 views

wpa_supplicant does not roam based on signal strength but on throughput

When I use wpa_supplicant for WiFi roaming, I hope the roaming rule to switch from a poor signal AP to a good signal AP(roam based on signal level). However, during testing, I found that ...
rongxin wu's user avatar
0 votes
0 answers
176 views

Wifi - wpa_supplicant throwing no such device error

I am testing wifi in Ubuntu PC using wpa_supplicant utility. In PC, network device is listed as wlp3s0, when I tried to connect to wifi network using below command wpa_supplicant -B -c /etc/...
deekshaj's user avatar
1 vote
2 answers
154 views

How to make dhclient run when wlan0 is brought back up (but already has an old address)

With the following configuration on Devuan Chimaera Linux: /etc/network/interfaces auto wlan0 iface wlan0 inet dhcp pre-up /sbin/wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant/...
fadedbee's user avatar
  • 971
0 votes
1 answer
298 views

Why isn’t wpa_supplicant working on Void Linux?

I installed a glibc Void Linux partition on my 2019 Macbook Air. I can’t get wpa_supplicant working. I enabled wpa_supplicant and dhcpcd. Then I used wpa_passphrase with my Wi-fi network’s SSID and ...
benman's user avatar
  • 11
0 votes
2 answers
121 views

Wireless roaming is messing up resolv.conf

Here's my wifi interfaces #auto wlp1s0 allow-hotplug wlp1s0 iface wlp1s0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf # up /usr/sbin/wondershaper -a wlan0 -d 9500 -u ...
Richard Barraclough's user avatar
1 vote
1 answer
210 views

How to connect an access point and a station using mac80211_hwsim in 2 separate qemu instances?

I'm exploring wifi virtualization with qemu running Linux. I am attempting to accomplish the following setup The access point runs inside the first qemu instance with mac80211_hwsim simulated radio ...
Amol Dhamale's user avatar
1 vote
1 answer
909 views

wpa_supplicant wired fails to authenticate

I'm trying to get wpa_supplicant working on an embedded controller with busybox as the OS. I'm running wpa_supplicant 2.7, but the authentication keeps failing. In the radius server I see the error &...
lode's user avatar
  • 11
0 votes
1 answer
222 views

wpa_supplicant with -D wired uses wireless driver

Trying to setup wired wpa_supplicant connection but seems it tries to use wireless drivers: "Failed to initialize driver 'nl80211" Is it that i can't find the correct network driver or what ...
tn_leprechaun's user avatar
1 vote
1 answer
772 views

Wifi P2P - Same Commands Different Results

I'm trying to get Wifi P2P (also known as "Wifi Direct") working on some devices. My goal is for them to be a "Group Owner" (i.e., acting like an access point). However, I'm ...
johnnyb's user avatar
  • 101
2 votes
0 answers
658 views

Programmatically retrieve list of supported WiFi frequencies/channels

I'm currently building an application that leverages NetworkManager for providing network configuration functionalities. The application uses the DBus API to communicate with NetworkManager. I'm now ...
mattdibi's user avatar
  • 121
1 vote
1 answer
2k views

Downgrading a package to older versions on Kali

From bug reports from various forums i concluded that downgrading wpa supplicant might be a solution for my connection problem. I need to downgrade the wpasupplicant (2.10 is the current version) to ...
Deku's user avatar
  • 13
0 votes
1 answer
621 views

Why can I see my router with iw but not see it with nmcli?

I'm trying to connect my old raspberry pi 2 magic mirror to the new wifi6 router, but I'm having a world of trouble doing so. Currently, it can only connect to the old router. If I scan, I see the ...
neogeek23's user avatar
  • 131
1 vote
0 answers
270 views

using a password command with wpa_supplicant

On linux, wpa_supplicant is usually brought up by root, with plaintext password (or PSK, which has basically the same security) stored in /etc/wpa_supplicant.conf (with 600 permission). I'd rather not ...
jj_p's user avatar
  • 283
1 vote
0 answers
571 views

Arch Linux won't connect to WiFi through wpa_supplicant

First of all, I am an ultra noob when it comes to Linux. I recently installed arch in my laptop through the built-in installer. I installed GNOME as well and I have installed wpa_supplicant to connect ...
Kwstakys's user avatar
3 votes
0 answers
779 views

Gentoo wifi setup issue: wpa_supplicant works but wpa_cli doesn't

I am trying to setup Gentoo on my laptop and am having trouble connecting to wifi. I've never done this before, so I might be making a simple mistake. I've been following these instructions. My /etc/...
Kshitij Sachan's user avatar
2 votes
0 answers
298 views

Where does wpa_supplicant get WPS-PBC-ACTIVE?

Setting up a hotspot on Ubuntu 20.04 server. The wireless card is Qualcomm Atheros AR928X. Setup with Netplan and the AP works. But I would like to disable the WPS and only keep WPA-PSK part. The ...
sleepy's user avatar
  • 257
2 votes
0 answers
195 views

Issues with AP and station mode simultaneously on a AP-STA wifi module

I have an iMX8MP board running Linux. The board is equipped with a Wifi module with AP-STA capability. I want this system to start an access point at boot and to connect to an external wifi once the ...
firion's user avatar
  • 149
1 vote
1 answer
467 views

Automatically refresh DHCP on wpa_supplicant (dis)connect (Debian 11)

I have access to a Wifi SSID which works with the same credentials but it might access different access points with those credentials. This is a service by my provider that lets you connect to other ...
Preau's user avatar
  • 111
1 vote
2 answers
170 views

ssh connection does not work from script

The following lines work perfectly if they are executed line by line: sudo -i wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf; echo "This echo still works."; sudo -i ...
userK's user avatar
  • 11
1 vote
2 answers
2k views

(How) shall I remove wpa_supplicant if server doesn't have Wifi?

Ubuntu 20.04LTS, headless machine, with no Wifi card. wpa_supplicant is running and wasting my resources (although not too much I think). I know I can disable it with systemctl stop|disable|mask. ...
Daniel's user avatar
  • 339
0 votes
1 answer
6k views

Why can't I connect to a wifi hotspot using wpa_supplicant?

I turned on "Wi-Fi hotspot" on an Android phone with mobile service, and why can't I connect to the wifi on my computer? Thanks. $ wpa_passphrase "moto g pure" "mypassword&...
Tim's user avatar
  • 103k
0 votes
1 answer
992 views

wlan0 interface disabled at startup on raspberry / debian

At boot of my Raspbian (Debian 10) I have this: $ sudo wpa_cli wpa_cli v2.8-devel Copyright (c) 2004-2019, Jouni Malinen <[email protected]> and contributors This software may be distributed under the ...
Alessandro's user avatar
0 votes
0 answers
199 views

Cannot ping other addresses after DHCP lease

I’m trying to connect my Arch Linux laptop to the WiFi at my school, but it isn’t working. WPA supplicant doesn’t report any errors, and dhclient is able to get me an IP address. But after that, I can’...
inzig0's user avatar
  • 49
1 vote
0 answers
985 views

Network Manager wifi not available

I have installed NetworkManager on my Arago linux machine. NetworkManager seems to bring up the ethernet interfaces fine, but the wifi interface is unavailable. root@machine:~# nmcli d DEVICE TYPE ...
blessedone's user avatar
1 vote
1 answer
874 views

Is it possible to detect if a Router WPS button has been pressed or not by just passively monitoring traffic?

I mean you could check if the wps button has been pressed or not using this command wpa_cli wps_pbc But i am wondering if it's possible to do it using airodump-ng Without any one connecting to it. ...
mina nageh's user avatar
1 vote
2 answers
310 views

How can I trouble shoot a debian hotspot?

Creating a hotspot is much easier than I remember from the last time I did it, but I'm not sure how to trouble shoot this failure. I was able to create an AP using nm-connection-editor. This worked ...
user1794469's user avatar
  • 4,117
0 votes
1 answer
277 views

finding wifi when using systemd

Many guides explain how to setup wifi connections when you know the SSID and the WPA2 Key. But what to do when you doesn't know the SSID, or you wanna use a public AP, or just need a list of available ...
Mario's user avatar
  • 196
3 votes
1 answer
3k views

wpa_supplicant.conf escaping characters

wpa_supplicant.conf typically has double-quotes around some configuration items. Eg network={ ssid="testing" psk=7eb34d7f016909cc62114f2e32c8557ea8b9dc3e3f2715c351b496f750529177 } ...
Craig McQueen's user avatar
0 votes
0 answers
435 views

Timeouts associating Wifi interface with a specific AP

By now, the problem stated here has not been solved but it has gone away. I am using a different interface that works fine. Perhaps this is a question for another Stackexchange forum, but since this ...
berndbausch's user avatar
  • 3,577
0 votes
0 answers
366 views

Connection to the Internet dropping randomly

Since some weeks I have been having problems with the WiFi, first, upon boot, there would not be connection to the Internet even though NetworkManager is telling me that the network connection is ...
ElGanz's user avatar
  • 1
2 votes
0 answers
182 views

MKA RXSC not created/shown

I managed to have MACsec working between two hosts by setting manually TXSC and RXSC and every thing worked like a charm. After switching to MKA and wpa_supplicant when I do root@Debian10-02:~# ip ...
Alex's user avatar
  • 21
0 votes
0 answers
1k views

Reading wireless beacon frames in linux

I am completely new to networks, and need to find a way to read wireless networks beacon frames data. I did so for windows, using Win32 wlanapi, now need to do the same for linux. I have been trying ...
Veverke's user avatar
  • 368
1 vote
1 answer
7k views

Can wpa_supplicant be used to scan wireless networks in a way similar to iwlist scanning option?

Being completely unknowledgeable in the following, I am trying to scan wifi networks in linux. The best I could find was iwlist from wireless tools, but I came across some remarks (one) stating that ...
Veverke's user avatar
  • 368
1 vote
1 answer
14k views

How to connect to open wifi networks using wpa_cli?

I am failing to connect to open wifi networks using wpa_cli. I am trying to connect to the open wifi networks in the following way: $ sudo wpa_cli -i wlp3s0 > add_network 0 > set_network 0 ssid &...
Ashfaqur Rahaman's user avatar
0 votes
0 answers
101 views

Packet delay after route is added over new WiFi connection

Network Setup STA is Ubuntu 18.04 (4.15.0-147-generic) 2x Intel 7620 Each interface is connected to a different AP in the same subnet STA is streaming 1080p video over UDP (~15Mbits/s) using ...
Jeff Isaacs's user avatar
0 votes
2 answers
1k views

wpa_supplicant: disable IPv6

I don't have support for IPv6 on my system, and I am only using IPv4. My wpa_supplicant logs are flooded with following error messages: wpa_supplicant[3370]: nl80211: Failed to open /proc/sys/net/...
Martin Vegter's user avatar
4 votes
3 answers
5k views

How to confirm I'm connected with WPA3 (on Linux Mint 20.2)?

In my TP-Link router, I have set WPA version 2/3: I am on Linux Mint 20.2 and I have explicitly set WPA3 for my connection: sudo wpa_cli status wlp60s0 outputs: Selected interface 'p2p-dev-wlp60s0' ...
Vlastimil Burián's user avatar
0 votes
1 answer
207 views

Deactivate wpa_cli notifications

Is it possible to deactivate wpa_cli notifications/messages like <3>WPS_AP_AVAILABLE? Because it spams it, and in a VT where you have to slowly type MACs@ and bssIDs, it's really hard with those ...
aaa's user avatar
  • 167

1
2 3 4 5 6