Questions tagged [wpa-supplicant]

wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i/RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.

wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i/RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.

wpa_supplicant is designed to be a "daemon" program that runs in the background and acts as the backend component controlling the wireless connection. wpa_supplicant supports separate frontend programs and a text-based frontend (wpa_cli) and a GUI (wpa_gui) are included with wpa_supplicant.

More information can be found at http://w1.fi/wpa_supplicant/.

98 questions
21
votes
3 answers

How to set up a Wifi-Direct connection between Android and Linux

I want to connect two devices using Wifi-Direct. One is a pc with Linux (during my test I'm using Linux Mint 17.2), the other is an Android smartphone (Samsung Galaxy S3 with Android 4.3. Not rooted and don't want to root). Reading a number of…
Kida
  • 403
  • 1
  • 5
  • 14
7
votes
2 answers

Scan fails in AP mode (wpa_supplicant)

I'm using wpa_supplicant to create an ACCESS POINT: wpa_supplicant -D nl80211 -i wlan0 -c /etc/wpa_supplicant_ap.conf The problem is that when the device is configured in Access point, i'm not allowed to scan networks: iw dev wlan0 scan command…
Kotik_o
  • 405
  • 3
  • 17
4
votes
3 answers

Getting started with wpa_supplicant using C

Before people jump to conclusion saying this is a duplicate post, I'd like to point out that I have gone through the other posts on this topic but really haven't found a solution. What I need My goal is to access the wpa_supplicant from a C…
am3
  • 561
  • 1
  • 7
  • 27
4
votes
3 answers

wpa_supplicant - how to switch to different network?

What I need: Connect to different wifi network on archlinux by calling python script. What I am doing: Executing the following statements from python: wpa_passphrase "MySSID" "MyPass"> /etc/wpa_supplicant/profile.conf wpa_supplicant -B -i wlan0 -c…
Dushyant Bangal
  • 5,033
  • 4
  • 34
  • 69
4
votes
2 answers

Could not connect to wpa_supplicant: wlan0 - re-trying

I work on embedded device and I am configuring the WLAN module (QCA6174 - ath10k driver) with wpa_supplicant. I load the driver modules (backports-20151120): insmod /lib/modules/3.10.65-b2196-h301/wlan/compat.ko; insmod…
3
votes
0 answers

wpa_supplicant reply to any command with UNKNOWN COMMAND

While sending a command to wpa_supplicant ( with wpa_cli for instance ) I got UNKNOWN COMMAND all times. root@rk3399_box:/system/bin # wpa_cli wpa_cli v2.5-devel-6.0.1 Copyright (c) 2004-2015, Jouni Malinen and contributors This software…
forlayo
  • 753
  • 8
  • 19
3
votes
0 answers

Connect to wifi with bash script

I've created a bash script that is supposed to connect to WiFi dynamically. Whether it is WPA, WEP, without password, with static ip or using DHCP. There is the script: #!/bin/bash echo "Open script..." #NO PASSWORD if [ $3 == 0 ] then echo…
3
votes
1 answer

Creating an access point with wpa_supplicant via dbus interface

I was told that it's possible to create an access point with wpa_supplicant over its dbus interface. All I found with a google is this forum thread, which, despite having exact same title, isn't much informative to me. Is it possible to do this via…
rsht
  • 1,412
  • 9
  • 25
3
votes
1 answer

Make compilation exits with "/usr/bin/ld: cannot find -lnl"

I have set up a radius-server on a raspberry-pi. Now I want to test it according to article 6.2.1 in http://networkradius.com/doc/FreeRADIUS-Implementation-Ch6.pdf Unfortunately building the "eapol_test" file as described in the document doesnt work…
vicco
  • 849
  • 2
  • 9
  • 27
2
votes
1 answer

How to get WiFi security key(WPA, WPA2, ESS) of scanned networks using NL80211_BSS_CAPABILITY?

I'm using netlink library nl80211.h to scan wifi networks and successfully getting ssid, mac address, status, frequency and signal. I want to add security type of every network using same library. I'm using NL80211_BSS_CAPABILITY as one of the enums…
2
votes
0 answers

What's the purpose of the key_mgmt attribute within wpa_supplicant? Does it need to be explicitly define?

I'm writing a bash script that is intended to update a Raspberry Pi's wifi settings contained with /etc/wpa_supplicant/wpa_supplicant.conf (running raspbian 9 stretch). As per the official Raspberry Pi documentation, I am making use of the…
Tyrel Kostyk
  • 310
  • 2
  • 8
2
votes
0 answers

Unable to establish second Raspberry Pi [WIFI Direct] to a device

I have 2 Raspberry Pi and an Android Tablet and the Tablet is supposed to be controlling the Raspberry Pi via the webserver from the Pi. The Android Tablet has a Wifi Direct application and I was able to establish connection with one of the Pi.…
2
votes
0 answers

WPA-Supplicant Not Working on Raspbian on Raspberry Pi 3B+

The new Raspberry pi 3b+ appears to have issues with using wpa_supplicant out of the box. If I configure and try to connect a network, I will receive an error that another program has created that interface. It appears that networking is creating…
Charles H
  • 21
  • 5
2
votes
2 answers

Get signal level of the connected WiFi network

Using wpa_supplicant 2.4 on ARM Debian. Is there a way to get signal level, in decibels or percents, of the wireless network I’m currently connected to? STATUS command only returns the following set of values: bssid, freq, ssid, id, mode,…
Soonts
  • 15,806
  • 9
  • 45
  • 100
2
votes
0 answers

wpa_supplicant debug messages

I am trying to connect to a wifi network from a Raspberry Pi 3 (running Raspbian Wheezy) using wpa_supplicant commands being called through Python scripts. The connection is happening but I am observing random disconnections from wifi, which is…
apoo373
  • 21
  • 1
  • 4
1
2 3 4 5 6 7