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
3
votes
1answer
1k views

wpa_supplicant says network is disabled

When trying to connect to a network (specifically a WPA2 enterprise network for a university) with wpa_supplicant on Gentoo Linux, the network is shown as disabled when the flag is not set. My ...
0
votes
2answers
1k views

wpa_supplicant doesn't get new IP when re-associate?

I am struggling to setup my wlan so it can re-associate to another hotspot and renew its IP automatically. I have found a similar question but nobody responded. I am using Debian stretch. The first ...
0
votes
0answers
519 views

Prevent Network Manager from starting wpa_supplicant

I am using a Debian distribution (based on stretch) and I am trying to prevent NetworkManager (NM) from starting the wpa_supplicant service. The reason I want to do that is that I want dhcpcd to ...
1
vote
0answers
1k views

Cannot connect to my work's WPA2 Enterprise on Linux but Android works fine

I'm looking for help trying to connect to my work's wifi. I'm currently on Kubuntu 18.04 and cannot connect to my work's WPA2 enterprise wifi on my laptop but my android phone works just fine. The ...
0
votes
1answer
113 views

Querry wpa_supplicant with which AP is it associated

I call wpa_supplicant -c"$CONF" -i"$IFACE" -B where $CONF is a file with many network={} definitions. wpa_supplicant does connect to any one of those in range. How can I query with which AP is ...
-1
votes
2answers
5k views

Where is my `/etc/wpa_supplicant.conf` on systemd?

Before systemd, I could just simply edit /etc/wpa_supplicant.conf file to add my desired network with pre-shared key: $ cat /etc/wpa_supplicant.conf network={ ssid="TPLINK" psk="My secret ...
2
votes
1answer
1k views

Unable to connect to wlan0 via wpa_supplicant

I am unable to connect to a wireless network in Debian Linux. I begin by typing the following command: iwconfig This is my output: wlan0 IEEE 802.11abgn ESSID:off/any Mode:...
4
votes
1answer
1k views

TU Berlin eduroam - How to get Wireless LAN working with wpa_supplicant.conf and hashed password

I was struggling for awhile searching for a good wpa_supplicant.conf to get access to the "eduroam" Wireless LAN network at the TU Berlin. Since I know for sure, that it is not trivial and that the ...
0
votes
1answer
588 views

Problem connecting WPA2 PEAP MSCHAPV2. Handshake failure on client hello

I am having terrible trouble connecting to my school WPA2 PEAP MSCHAPV2 wifi. I've tried Network Manager, wicd and connman and most recently I am connecting via wpa_supplicant. The school does not ...
3
votes
2answers
373 views

Testing WiFi existence/credentials before dhclient called?

I have the following script that disconnects from the current WiFi network and reconnects based on the content of wpa_supplicant.conf: #!/bin/bash if iwgetid; then sudo wpa_cli terminate ...
1
vote
0answers
2k views

can I manually assign DNS server name with wpa_supplicant?

I am trying to run a Raspberrypi as a routing machine. It will be connected to wifi with wpa_supplicant. My PC ----> Raspberry Pi ----> Wifi Router The thing is I noticed, the RPi got from the wifi ...
0
votes
0answers
99 views

Interactive control of which stations are allowed to connect to hostapd softAP

Setup: I have two devices working in IEEE802.11 infrastructure mode. I have the station using wpa_supplicant to establish connections and the access point on the other device provided via hostapd. ...
0
votes
1answer
2k views

Command for wpa_cli to scan a particular network SSID

Is there a command supported by wpa_cli to make wpa_supplicant scan and yield the results of my desired network using the SSID instead of making supplicant scan all the nearby networks ?
0
votes
0answers
538 views

Can I use WPA_Supplicant to hardcode a specific MAC address?

I'm trying to use a raspberry pi as an HTTP server from my home network. I have to do this via a USB wireless adapter instead of CAT5 for a number of reasons that I won't get into. Problem is, I can'...
2
votes
1answer
530 views

systemctl fails to start a service and journalctl fails to report is correctly, how to deal with it?

I simply do: systemctl start wpa_supplicant No errors --- I get a new prompt. Ok, so far, so good. I check journalctl. wpa_supplicant[622]: Successfully initialized wpa_supplicant Nothing more, ...
11
votes
0answers
925 views

wpa_supplicant end process if wrong password detected

Normally when I run wpa_supplicant I'll get some output like this: Successfully initialized wpa_supplicant ioctl[SIOCSIWAP]: Operation not permitted ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[...
4
votes
1answer
2k views

Can't connect to eduroam via `wpa_supplicant`:

I'm on my new Debian Stretch system and I'd like to connect to my university eduroam network. I'm not using GNOME or any DM, so I manage my connections via nmcli. However, from what I gather, it ...
3
votes
1answer
925 views

Creating multiple WiFi clients with a single wireless interface

I am currently working on a project where I would like to be using a single TP-link wireless adapter and split it into multiple clients. What I've done so far; I was able to create multiple virtual ...
2
votes
1answer
291 views

Remove SSIDs without name in iwlist wlan scan

In Raspbian when I'm running command iwlist wlan0 scan | grep ESSID i'm getting results without SSID on it like below ESSID:"OpenWrt" ESSID:"dlink" ESSID:"...
1
vote
1answer
579 views

Prevent wpa_supplicant from using WPA-TKIP or GCMP encryption protocols

Upon reading about the KRACK attack against WPA2, I see this: If the victim uses either the WPA-TKIP or GCMP encryption protocol, instead of AES-CCMP, the impact is especially catastrophic. Against ...
1
vote
2answers
2k views

wpa_supplicant doesn't work from systemd

I have a strange behavior I cannot fix by myself. I'm running a Raspbian Stretch Lite on an RPi2. As WiFi dongle I use a Realtek RTL8188EU (drivers are from staging directory). By default it creates ...
0
votes
1answer
512 views

Unable to establish connection with MLME connect failed: ret=-1 (Operation not permitted)

Straight forward wifi client to infra AP connectivity from debian by using wpa_supplicant wpa_cli -iwlan0 add_network 1 wpa_cli -iwlan0 set_network 1 ssid '"myssid"' OK wpa_cli -iwlan0 set_network 1 ...
2
votes
2answers
2k views

WiFi scans show SSID of a powered off network for several scans afterwards

I first came across this when I was trying to make a python program that used programs to scan for wireless networks. I've used the following tools: iwlist, iw, wpa_cli, nmcli, and iwconfig I run ...
9
votes
1answer
3k views

Can't connect to a network, getting 2=PREV_AUTH_NOT_VALID

Validated the network works fine with cell phone and another computer. Using Lenovo with "Centrino Advanced-N 6205 [Taylor Peak]". Not sure where to go with this. Any ideas? Yes, the wifi card in ...
1
vote
0answers
695 views

Configure wlan0 interface at boot time

I've created with Yocto a Linux image for an IMX6 device. I've modified the /etc/network/interface file in order to setup usb0 and wlan0. No problem with usb0, it's correctly setup at boot time. It ...
3
votes
1answer
7k views

How to disconnect wifi link, that was connected with wpa_supplicant

I connect with the following command: sudo wpa_supplicant -B -D nl80211 -i wlan_card -c /etc/wpa_supplicant/connection.conf It connects fine, and keeps persistent connection. If AP goes down, the ...
5
votes
1answer
9k views

Successfully initialized wpa_supplicant yet I'm not connected, and can't reach wpa_cli

i am trying to setup internet for my laptop currently running ArchLinux2017.07.01 but I ran into a big bump that I cannot seem to see anywhere else online. Mind you I am a little unfamiliar with Arch ...
0
votes
1answer
384 views

networking service preventing wpa_supplicant to connect

I have two raspberry 3B running raspbian jessie. On both, I try to connect to the same wifi network using the following commands: sudo wpa_passphrase "test" "abcd1234" > /etc/wpa_supplicant.conf ...
6
votes
1answer
6k views

wpa_supplicant wifi-direct connection between Linux and Android

I'm trying to make wifi-direct connection between Android and Linux. I'm using rtl8188au. I found some tips about wifi direct by using wpa_supplicant, so I get wpa_supplicant v2.0. and this is what I ...
1
vote
0answers
937 views

Connected to WIFI but no internet

I've read the tutorial at https://wiki.archlinux.org/index.php/Wireless_network_configuration#Get_the_name_of_the_interface And as far as I understood the key steps are to run wpa_supplicant and then ...
2
votes
0answers
528 views

Unable to get psk from network using wpa_cli

I've build a embedded system using a raspberry pi and a custom linux using buildroot, i'm using wpa_supplicant to manage the Wi-Fi network. Everything works well but i'm having problems to get the ...
3
votes
1answer
1k views

Wifi Direct between linux & android

I'm trying to connect linux and android via Wifi Direct, especially Odroid-C1 and Galaxy S7. By using wpa_supplicant and wpa_cli, I successed make wifi direct connection, So Android shows Wifi Direct ...
0
votes
1answer
3k views

wpa_supplicant and moving between static and dhcp networks

I'm trying to make my raspberry pi move between multiple access points, some using DHCP other are static. I read that using id_str in your wpa_supplicant networks and having the corresponding ...
2
votes
1answer
4k views

Can't connect to wifi on Debian Jessie with wpa_supplicant: ioctl[SIOCSIWENCODEEXT]: Invalid argument

I can't connect to my wireless LAN with my usb wifi, via ifplugd or wpa_supplicant. My wpa_supplicant.conf content: ctrl_interface=/var/run/wpa_supplicant network={ driver=wext ssid="myessid"...
3
votes
1answer
3k views

wpa_supplicant/WiFi Direct: wpa_cli command p2p_find returns FAIL

I'm trying to get WiFi Direct running on my Arch linux machine to connect to an Android Smartphone. But when trying to find WiFi Direct peers, the message FAIL is returned with no other error message. ...
1
vote
0answers
112 views

How do I configure wpa_supplicant.conf for enable the WPS push-button on android6?

I have android6 on imx6q board with WL1831wifi module, it's work as WIFI WPS client now. But, the requirement is I want to configure this (whatever I mention) to act as a WIFI WPS Master(WiFi ...
1
vote
0answers
185 views

How to enable client isolation in wpa_supplicant?

Is that possible to enable client isolation in wpa_supplicant when it's used as AP? There is a configuration in hostapd called ap_isolate=1 . Is there a similar option in wpa_supplicant? thanks
4
votes
1answer
2k views

Connect to university WiFi using wpa_supplicant using ID and password

I recently re-installed my OS and forgot to back up my /etc/wpa_supplicant/wpa_supplicant.conf file, so I have been spending the day figuring out how to connect to the WiFi. I can connect to a public ...
7
votes
2answers
4k views

Difference between systemd wpa_supplicant.service and wpa_supplicant@wlan0.service?

Using Arch Linux on a Raspberry Pi and a USB Wi-Fi dongle, I can get Wi-Fi working by enabling the wpa_supplicant@wlan0 systemd service. This uses the /etc/wpa_supplicant/wpa_supplicant@wlan0.conf ...
1
vote
0answers
71 views

Force/Suggest the client to use one specific EAP method

I would like to suggest to the client which one EAP method and inner authentication to use. I'm using hostapd to create the AP. I've tried by removing some methods in the hostapd.eap_user but I ...
14
votes
1answer
5k views

Random “deauthenticating by local choice (Reason: 3=DEAUTH_LEAVING)”

I'm running uname -r 4.10.6-1-ARCH on my dell XPS 13 developer edition (2014). I'm currently having strange problems with my wifi (I use Networkamanger with nm-applet for KDE): 1) at the most ...
2
votes
0answers
2k views

Debian dhcpcd and wpa_supplicant 802.1X wired, internet stops working after dhcp lease timeout

My university started using 802.1X wired authentication recently and my internet connection stops working after dhcp lease timeout on raspberry pi. I'm using preinstalled dhcpcd and wpa_supplicant to ...
3
votes
1answer
1k views

from Windows 802.1X connection instructions to linux

Was looking for PEAP tutorials for raspbian but didn't found any solution so far. In our manual for the LAN-connection to our network are following steps: Activate IEEE 802.1X-authentification Set ...
5
votes
1answer
2k views

wpa_supplicant doesn't auto-change AP

(I was trying and trying for hours to find a workaround, which proved much harder than initially expected.) The problem itself is easy to understand, though. I recently installed a GUI-less Debian ...
1
vote
2answers
3k views

Get RSSI indicators from WiFi Direct with high frequency

So I've been struggling with this issue for a while now: I have a raspberry pi with wifi sensors on it and I need them to get the RSSI (signal strength basically) of the wifi-direct signal ...
2
votes
2answers
5k views

Manual Configuration or WPA Supplicant for WiFi on a University Network

I am using Debian Stretch/Testing with Xfce. I have an eight year old Acer laptop. I am currently using network-manager-gnome to connect to WiFi from the laptop at the university where I teach. Most ...
1
vote
0answers
296 views

I can not see a specific AP at `scan`(Expire BSS 1 due to no match in scan)

I am using wpa_supplicant and wpa_cli. I have two "A2008-2.4G" APs. These two APs created two APs with the same name to use WiFi Roaming. At one moment, however, one of the two APs is not output to ...
6
votes
1answer
1k views

Can I connect to a hidden wifi without knowing the ESSID?

Is it theorically possible to connect to a hidden wifi without giving the ESSID? The way I connect to a hidden wifi requires to give an SSID (nmcli refuses to have a blank 802-11-wireless.ssid field)....
2
votes
1answer
425 views

I want to disconnect automatically when the signal of wpa_supplicant is weak

I'm using wpa_supplicant and wpa_cli. I want to automatically disconnect when the signal sensitivity of the currently connected AP is low or bad. I hope the action is as follows. 1) I am ...
0
votes
1answer
1k views

Wpa_supplicant configuration file for open hidden network [duplicate]

I am unable to connect to a open hidden network (without password) The network is the following (from iwlist wlan0 scan) Cell 0 - Address: 11:22:33:44:55:66 Channel:5 ...