Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wpa-supplicant]

The tag has no usage guidance.

0
votes
0answers
24 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
43 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): ...
0
votes
0answers
10 views

P2P connection via wpa_cli reports FAIL-CHANNEL-UNSUPPORTED

I'm trying to connect two devices via P2P (an embedded Linux board and an Android tablet), but I'm having some channel issues. Using wpa_cli on the board I send: p2p_connect <tablet MAC> pbc ...
2
votes
0answers
340 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 ...
0
votes
1answer
35 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
78 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 ...
0
votes
0answers
238 views

Connman static ip for wifi hotspot interface

I am starting my hotspot using wpa_supplicant and dhcpd. Currently, if I manually assign an IP to my wifi interface, I can start the hotspot and it works. I can't figure out how to setup a static ip ...
0
votes
0answers
25 views

On Windows OS, Can I only Use NT Hash for WPA-Enterprise PEAP-MSCHAPv2 Auth?

I am recently on a wireless network security assessment task for a enterprise client. They didn't apply the WPA-PEAP-MSCHAPv2 user authentication configuration correctly (stations don't validate the ...
0
votes
0answers
171 views

Wifi router rejects with association with CTRL-EVENT-ASSOC-REJECT

I have at home some 6 FreeBSD laptops and 4 Ubuntu based mobile phones. They all connect fine with my AVM FRITZ!Box Wifi AP for years already using WPA-PSK. Since some months, one of the mobiles is ...
1
vote
0answers
68 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
529 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
143 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
42 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
171 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
182 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
637 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
325 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
72 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
1k 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 ...
0
votes
1answer
472 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
1k 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
300 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
236 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
47 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
2k 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
385 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
5k 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 ...
4
votes
0answers
1k 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
363 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
868 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?
2
votes
2answers
7k 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
656 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 ...
1
vote
1answer
1k 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
422 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 ...
0
votes
1answer
2k 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
59 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
71 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-...
16
votes
1answer
14k 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 ...
4
votes
1answer
8k views

wpa_supplicant - detecting that my password is incorrect?

If I specify an incorrect password when connecting to a WiFi network is there anyway to detect that the reason I can't connect is the incorrect password (rather than one of the many other possible ...
1
vote
1answer
406 views

Does wpa_gui need wpa_supplicant to initialize first to work properly?

I am using Linux on a custom board based on the Freescale MCIMX6Q-SDB (armv71). I installed wpa_gui, a GUI for wpa_supplicant, on the custom board. I'd like to know if I have to initialize ...
0
votes
2answers
840 views

Can one “wpa_supplicant” support Ethernet LAN and WLAN?

The product I’m working on supports Ethernet only, and we are planning to support WLAN as well. I’m trying to figure out whether same wpa_supplicant can support both of Ethernet and WLAN or we have to ...
1
vote
1answer
6k views

How to connect to a specific Wi-Fi band (2.4 GHz or 5 GHz) or channel from wpa_cli or wpa_supplicant in Linux?

I am using the Wi-Fi chip on my board. I've successfully connected to Wi-Fi in the 2.4 GHz band, but for the 5 GHz Wi-Fi band I need to select the channel or band before connecting. What extra ...
1
vote
1answer
738 views

How can wpa_cli distinguish between WEP-Shared and WEP-Open?

If I setup an access point as WEP-Shared or WEP-Open it shows up as: wpa_cli scan Selected interface 'wlan0' OK wpa_cli scan_results Selected interface 'wlan0' bssid / frequency / signal level / ...
2
votes
0answers
610 views

wpa_supplicant commands on openwrt

I'm trying to port a program to openwrt. Everything works fine except wpa_supplicant. I have connected to it using wpa_cli and i have discover that for many commands such as 'scan', 'scan_results', '...
9
votes
1answer
5k views

How can I download the certificate of a wireless AP using 802.1X?

As far as I understand, wireless access points using WPA-Enterprise (i.e. WPA plus 802.1X) can send a public key certificate to a client during connection setup. The client can verify this certificate ...
3
votes
1answer
976 views

Retrieve wpa_supplicant configuration generated by NetworkManager

I'm trying to debug a NetworkManager-powered wireless connection. It works when I feed wpa_supplicant with a custom wpa_supplicant.conf file written by me, but when I configure NetworkManager with the ...