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/.

126 questions
24
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
  • 443
  • 1
  • 5
  • 15
9
votes
3 answers

Raspberry pi os Bullseye 64bit ssh password not 'raspberry' anymore?

I've been having problems with the raspberry pi imager so just downloaded the latest 64bit os from their site. Then used Belena Etcher to etch the image. Made the ssh file and the wpa_supplicant file. It's showing on the network but for some reason…
GarionBrizzle
  • 91
  • 1
  • 1
  • 2
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
  • 295
  • 6
  • 19
6
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
  • 506
  • 1
  • 5
  • 11
6
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
  • 681
  • 2
  • 12
  • 30
5
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
  • 6,048
  • 8
  • 48
  • 80
5
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…
Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35
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
  • 1,371
  • 2
  • 13
  • 23
3
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
  • 31
  • 1
  • 5
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,522
  • 12
  • 27
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
  • 1,049
  • 2
  • 14
  • 33
2
votes
0 answers

wpa_supplicant.conf - adding a mixed WPA2+WPA3 network

I have successfully connected an embedded Linux board running wpa_supplicant 2.9 to a Fritz!Box router using this wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=1 network={ # Connect via WPA2 to…
leo8382
  • 91
  • 8
2
votes
1 answer

Static compilation for wpa_supplicant

I'm trying to compile a static binary of wpa_supplicant: Latest - https://www.w1.fi/releases/wpa_supplicant-2.10.tar.gz Other similar - https://github.com/blunderbuss-wctf/wacker/tree/master/wpa_supplicant-2.8 But I'm not able to achieve it. I've…
OscarAkaElvis
  • 5,384
  • 4
  • 27
  • 51
2
votes
1 answer

Yocto WiFi configuration for automatic connection at boot time

I am trying to establish WiFi connection on my Avenger96 (based on 96Boards STM32MP157) board. Goal is to automatically setup WiFi connection during boot time so that there is no need to manually configure WiFi after every boot. Steps I have…
Preeti
  • 535
  • 1
  • 6
  • 30
1
2 3
8 9