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
0 answers
20 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
  • 7,816
-1 votes
1 answer
65 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
35 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
172 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
1 vote
0 answers
40 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
36 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
38 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
  • 797
0 votes
1 answer
118 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
54 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
0 votes
0 answers
76 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
245 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
90 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
0 votes
1 answer
291 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
  • 71
2 votes
1 answer
159 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
0 votes
0 answers
97 views

Wireless Setup working for NetworkManager but not wpa_supplicant

I've been wanting to move connecting to a wireless from NetworkManager to wpa_supplicant un Ubuntu but I'm a bit stuck. The follwing settings in /etc/NetworkManager/system-connections/wifi....
BumpySiren's user avatar
1 vote
1 answer
448 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
237 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
  • 111
1 vote
0 answers
185 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
427 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
521 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
1 vote
0 answers
185 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
  • 147
2 votes
0 answers
119 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
291 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
152 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
1k 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
  • 319
0 votes
1 answer
4k 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
  • 99.1k
0 votes
1 answer
725 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
177 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
682 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
491 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
160 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
  • 3,929
0 votes
1 answer
141 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
  • 186
2 votes
1 answer
2k 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
282 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,477
0 votes
0 answers
313 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
156 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
684 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
  • 348
1 vote
1 answer
4k 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
  • 348
1 vote
1 answer
8k 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
87 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
995 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
3 votes
3 answers
4k 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
157 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
  • 157
0 votes
1 answer
448 views

how to make wpa_supplicant exit when the desired SSID is not found?

I have a device (e.g. raspberry) running a minimal version of linux built with YOCTO and with not network manager available. At a given time a network configuration may be present in the file /home/...
firion's user avatar
  • 149
1 vote
0 answers
3k views

Static wifi configuration using /etc/network/interfaces.d and wpa_supplicant

What I'm trying to achieve Having two different local on the same network ips for Wifi and Ethernet, respectively on a GUI-less Debian Buster 10.10. Ethernet is working, but wpa_supplicant keeps ...
dhiaagr's user avatar
  • 11
2 votes
1 answer
77 views

airplane mode in wpa_supplicant

I believe "airplane mode" on various applets is equivalent to nmcli radio wifi off. What is its equivalence when we use dhcpcd/wpa_supplicant? pkill wpa_supplicant?
SmoothKen's user avatar
  • 135
0 votes
0 answers
585 views

ip a doesn't show network interface

I have two versions of Linux installed on my system, the first a Pop! OS installation with working Wifi and the second a Debian installation with non-working Wifi. When using ip a in Pop! OS I see the ...
Shaun's user avatar
  • 1
0 votes
1 answer
810 views

Unable to connect to internet using iwd standalone

I’m trying to connect to WiFi using iwd standalone, without NetworkManager or wpa_supplicant. This is on a Debian 10 machine, with a netinst installation and no desktop environment. I added the non-...
NoExpert's user avatar
  • 469
1 vote
1 answer
368 views

wpa_cli: interactive shell works, single commands fail?

I'm trying to connect to wifi using the wpa_cli. I've run $ wpa_cli add_network, got 0 back, ran $ wpa_cli set_network 0 ssid "my ssid". But this failed. Then I tried the interactive shell, ...
Legatio's user avatar
  • 165
0 votes
2 answers
1k views

Do I need wpa_suppliciant and wireless_tools if I use nmcli to connect to wifi?

I am installing Arch and the question comes in this simple command. pacstrap /mnt ... networkmanager I am using my laptop with wireless connection. After installing arch linux I am going to use ...
Jacob's user avatar
  • 3

1
2 3 4 5 6