Questions tagged [wpa-supplicant]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 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 ...
0
votes
2answers
79 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/...
0
votes
0answers
58 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
2answers
197 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 ...
0
votes
0answers
98 views

Switching from wpa_cli to nmcli - which systemd services should I enable/disable?

I want to start using nmcli instead of wpa_cli to manage my networking. On my current setup with wpa_cli, I have the following services enabled: systemd-networkd systemd-resolved wpa_supplicant....
0
votes
0answers
34 views

wpa_supplicant privacy miismatch

I am trying to configure wpa_supplicant with hostapd and am running into some issues. I am using eap-tls. Here is my configuration: Hostapd has the following configuration: interface=ap1-wlan1 ...
0
votes
0answers
60 views

Connected to hotspot but unable to ping

I am trying to establish connection between my computer and my ODROID-XU4 device. I have a hotspot running on my computer and I want to connect to it using the odroid Wifi module 3 on my odroid. I am ...
1
vote
2answers
3k 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 ...
2
votes
1answer
490 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 ...
0
votes
0answers
28 views

Hotspot coupled with WIFI switching on another interface on Raspberry Pi

I would like to setup a Raspberry Pi with two wifi interfaces. On the first one, I would like to setup a AP to expose an API on it. On the second one, I would like to programmatically switch between ...
0
votes
0answers
169 views

create a connection between Raspberry PI 3 b+(as a client) and Synology MR2200ac by using WPA 3 and OWE protocols

I am trying to create a connection between Raspberry PI 3 b+(as a client) and Synology MR2200ac by using WPA 3 and OWE protocols. I am using wpa_supplicant v2.8-devel. the configuration of wpa....
2
votes
0answers
785 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 ...
1
vote
2answers
1k 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 ...
2
votes
1answer
147 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
0answers
897 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 ...
1
vote
1answer
948 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 ...
0
votes
1answer
353 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 ...
1
vote
0answers
139 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
408 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
1answer
49 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
1answer
400 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 ...
0
votes
1answer
312 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 ...
0
votes
2answers
2k 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
0answers
464 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 ...
0
votes
2answers
269 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>/...
2
votes
1answer
2k 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 ...
0
votes
1answer
512 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
425 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 ...
0
votes
0answers
327 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 ...
0
votes
1answer
58 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. ...
1
vote
3answers
4k 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
0answers
455 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 ...
1
vote
1answer
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 ...
5
votes
0answers
2k 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. ...
1
vote
0answers
610 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
0answers
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?
4
votes
2answers
10k 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
1answer
810 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 ...
3
votes
2answers
2k 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 ...
0
votes
1answer
4k 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
2answers
488 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
1answer
2k 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
1answer
3k 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 /...
1
vote
0answers
63 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.
2
votes
0answers
2k views

wpa_cli failing to connect to WPS enabled WiFi

I am trying to connect to a Netgear arlo basestation which communicates to it's network cameras via WiFi. The connection is done via WiFi Protected Setup (WPS). I can successfully connect a camera to ...
0
votes
1answer
74 views

static IP holds good even after changing network to dynamic

I'm using wpa_supplicant as a client to connect to an AP. When i'm trying to change the wireless connection from STATIC to DHCP(dhclient is invoked using the below command with leases file[dhclient-...
19
votes
1answer
20k views

WiFi authentication times out

Since today I have this very annoying issue that the WiFi on my HP ProBook is not authenticating anymore. I haven't changed any settings and my mobile phone connects to the WiFi fine. Also trying ...
0
votes
1answer
1k views

In Ubuntu 14.04, how to disable wpa_supplicant looking for peer to peer (p2p) networks?

CVE-2015-1863 - people can maybe break into your computer from anywhere in radio range, by sending specially crafted P2P network management packets. The disclosure says you can mitigate the ...