Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [wpa-supplicant]

wpa_supplicant is a software implementation of IEEE 802.11i supplicant for almost all the major Operating Systems including Windows, Linux, FreeBSD, Solaris etc. It is compliant with WPA2, WPA and older Wireless LAN protocols

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Wifi direct (Wifi P2P) connection between raspberry pi 4b and android device only possible after reboot

I am trying to connect my Raspberry Pi 4b with my Android device (Google Pixel 6 with ANdroid 14) using the pbc (virtual_push_button) method. If the Raspberry Pi was freshly rebooted, there are no ...
marlonga's user avatar
0 votes
2 answers
51 views

Raspberry Pi 0 W, no network [closed]

I'm trying to get the Raspberry Pi 0 W on my wifi network and failing. This is what I've done: 1. Insert 64GB SD Card into USB holder. 2. Insert USB holder into USB port and launch Raspberry Pi ...
SPlatten's user avatar
  • 111
0 votes
1 answer
37 views

Problems With AutoConnections Wifi

I have a raspberry pi 4 with latest version of raspian and i want 2 things: 1 - static IP for eth0 port, so that I can guarantee access via ssh without any monitor. 2 - configure a wifi network via ...
FelipeFonsecabh's user avatar
0 votes
2 answers
683 views

newest raspbian missing wpa_supplicant.conf

With the newest raspbian running on a CM4, I am unable to find any SSID or passphrase in /etc/wpa_supplicant/wpa_supplicant.conf and thus am unable to change the wifi password by mounting the SD card ...
Daniel D.'s user avatar
-1 votes
1 answer
99 views

WPA-Supplicant goes through the motions of connecting without connecting

I dug out an old Raspbery Pi B+ and tried to setup a wifi connection with a Realtek USB wifi stick. Since there were no drivers I compiled a driver (https://github.com/Mange/rtl8192eu-linux-driver). ...
TheOneAndOnlyMrX's user avatar
-1 votes
1 answer
473 views

Where does rpi-imager write Wifi information?

I tried the rpi-imager tool for the first time to write RPiOS to an SD card. I've always just used dd and then manually edited the cmdline and config files in boot/. I entered my WiFi information in ...
pinhead's user avatar
  • 447
0 votes
0 answers
164 views

WiFi switching to 5G and ignoring BSSID and freq_list

I have a TP-Link router with 2.4G and 5G bands with the same SSID ("Smart connect", as they call it here). My raspberry PI 4B is far from the router, and continually loses connection while ...
Iván's user avatar
  • 101
0 votes
0 answers
31 views

Missing P2P IE on RaspiOS Buster and Bullseye

I followed the steps documented here Connect Android smartphone with Wi-Fi Direct to a Raspberry Pi by @Ingo under 'Accepted Answer' to setup P2P on Raspberrypi and test it using an Android phone. ...
Niket Thakker's user avatar
1 vote
1 answer
632 views

How to update wifi and static ip settings on existing Raspberry Pi via the SD card?

I'm trying to add an additional network to a Raspberry Pi 4 running Buster that I use on my home network that I am travelling with. The location I am staying in appears to have Wifi delivered via a ...
nizz0k's user avatar
  • 119
0 votes
2 answers
2k views

Why does adding a 2nd network in wpa_supplicant.conf break my wifi connection to Raspberry Pi Zero 2 W?

Following this answer I added a 2nd WiFi network to wpa_supplicant on my bullseye installation. There must be something wrong with the configuration as when I reboot the router I am unable to connect ...
Vinyl Warmth's user avatar
0 votes
1 answer
130 views

RPI not connecting the wifi

As written I am unable to connect my RPI to the internet. What happened is I took the RPI from the office (where it was working) and took it home (to a new wifi). To save myself the headache, before I ...
Nicholas Frańczak's user avatar
1 vote
1 answer
2k views

Connecting to my WiFi using BSSID and password in wpa_supplicant.conf always fails. Why?

I have a WiFi network consisting of multiple WiFi APs exposing the name SSIDs, a mesh. Now I have a Raspberry Pi which should connect to one specific AP only. This can usually be achieved by ...
Johannes Overmann's user avatar
-2 votes
1 answer
826 views

Not connecting to Wi-Fi on first boot only, after editing wpa_supplicant

Raspberry Pi 4. So I have a python script (run at startup) with a GUI where it is possible to select a wifi network form a list and enter its password; such infos are saved to a file which will later (...
Clóvis Fritzen's user avatar
-1 votes
2 answers
274 views

switch from hostapd AP to wifi client Raspberry Pi OS (Raspberry Pi4 64bit)

After meticulously following the instructions in this thread. I have a problem with my Raspberry Pi 4 on Raspberry Pi OS. Indeed, when I use this script: #!/bin/bash # This script will stop Hotspot (...
Marty's user avatar
  • 1
-1 votes
1 answer
331 views

Raspberry Pi 4B connect to WPA2-Enterprise Wifi Network but loss Ethernet cable connection

I'm trying to connect to the university wifi (WPA2-Enterprise). I do the following modifications on files and successfully connect to the network. However, the Ethernet cable connection is disabled ...
Yichong Chen's user avatar
0 votes
1 answer
445 views

Which way to go for RPI0W (Yocto) and WLAN fallback to AP mode when no network available

My intention is to start an (headless) RPI in AP mode when it is not able to connect to the configured WIFI network(s). I have seen several solutions, many of them related to Debian, but so far I was ...
Waldorf's user avatar
  • 111
1 vote
1 answer
169 views

WPA2 Enterprise Connection Drops on Raspberry Pi 3B when Set-Up is Transitioned to Headless

After a significant amount of struggle I managed to connect my Raspberry Pi 3B to my university's WPA2 Enterprise network, UCR-SECURE, in the traditional set-up with a monitor, keyboard, and mouse; ...
Nat's user avatar
  • 19
1 vote
2 answers
982 views

No wpa_supplicant executable

I'm running Rasbpian 10 (buster) on raspberry pi 3 b+. Where can I find the wpa_supplicant binary? $ sudo apt install wpa_supplicant E: Unable to locate package wpa_supplicant # Same for wpa and ...
errolflynn's user avatar
1 vote
2 answers
149 views

Configure RasPi 4 for headless operation [closed]

I'm trying to run a Pi 4 headless as I don't have the microusb cord available. In /boot, I ran touch ssh then created wpa_supplicant.conf and with the modified contents: country=US ctrl_interface=DIR=/...
hrokr's user avatar
  • 119
2 votes
1 answer
3k views

WiFi access point fails with brcmf_cfg80211_change_iface: iface validation failed: err=-16

I was trying to set-up an access point at the same time as I have a station (client) connection and I kept hitting a brcmf_cfg80211_change_iface: iface validation failed: err=-16 error seen in syslog ...
TvE's user avatar
  • 131
-1 votes
1 answer
537 views

[wpa_supplicant.conf ]Stop RPi from automatically setting disable=1 to wifi networks

My raspberry pi automatically sets disable=1 to all the wifi networks that are not currently connected. So when I take the Pi to other places, it won't connect it to the network automatically even ...
stig's user avatar
  • 1
0 votes
1 answer
625 views

confusing wpa_supplicant processes while trying to use dbus api

I am trying to write some code that is to use dbus api to access wpa_supplicant. My understanding from reading various posts that wpa_supplicant must be started with -u flag to fully expose it's apis ...
kibudude's user avatar
0 votes
1 answer
2k views

Rapsberry pi cannot connect to internet or ping any device on network when connected to specific router

I have a Raspberry Pi on my network, that serves as ssh and vnc server. I can ping it's ip address from any device on network and access it via SSH or VNC without any issues. Problem appears when pi ...
Michał Kopij's user avatar
1 vote
1 answer
87 views

Create Pi image from wireless headless Pi for distribution - remove SSID and password

I want to create a Pi image that I can distribute to others. I have the basics down for doing this for myself, and it works. But for my own use, that fact that my WiFi SSID and password are included ...
ViennaMike's user avatar
-1 votes
2 answers
1k views

Could not connect to Wi-Fi after editing 'wpa_supplicant.conf' with Python script

I'm trying a solution that can change or connect to a new Wi-Fi network with a Python script. After executing the code below that changes the content of 'wpa_supplicant.conf', the change of the file ...
Shawn Khoo's user avatar
0 votes
2 answers
4k views

Connect to WiFi with CLI without rebooting

I want to connect my Raspberry Pi 4B to my Wifi network via CLI (technically, by node.js/python scripts) without rebooting it. For the moment I am modifying the /etc/wpa_supplicant/wpa_supplicant.conf ...
Dark Patate's user avatar
-1 votes
1 answer
87 views

Raspbia, after a reboot, wifi is only working if a ethernet cable is attached

my problem is that my wifi is only getting an IP address if ethernet cable is also plugged in. I have checked many sides, but the solution below is not working. (funny thing, I have reinstalled this ...
1v4n's user avatar
  • 1
0 votes
1 answer
1k views

wpa_supplicant.conf, two networks, equal priority, switching back and forth shortly after boot

I'm using a 3B running Raspian Buster, 5.10.17-v7+. It is running in a specialty device that goes with a telescope setup to track weather. On the telescope is a router with one SSID, let's call it &...
Linwood's user avatar
  • 109
0 votes
1 answer
391 views

Connecting Raspberry Pi 3b+ to Eduroam network

I am trying to connect a raspberry pi to my college network and I'm having trouble finding the right settings to put into wpa_supplican.conf. The only thing the IT department was able to tell was that ...
Allod's user avatar
  • 109
0 votes
1 answer
284 views

Create additional wifi credentials on headless Pi 0

I have been accessing this Pi over SSH on a wifi per the initial install via burning a raspbian image to an SD card. I tried unsuccessfully to add another wifi network by editing the wpa_supplicant....
J Greene's user avatar
  • 105
0 votes
0 answers
26 views

WiFi Problems , including priority and not being able to connect to certain networks

So I am trying to setup my RPI4 wpa_supplicant.conf file with priority for my different networks , but the file just keeps reverting back to what it was before i edited it , and it also disable the ...
Hitman2847's user avatar
3 votes
4 answers
3k views

How to connect raspberry pi to separate wifi's

I have a headless pi setup and I want it to connect to two different wifi's at two separate houses. This is how my wpa_supplicant.conf is setup: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev ...
Dango's user avatar
  • 41
0 votes
2 answers
538 views

Prevent automatic connection to open wifi

I am using a Raspberry Pi 2 with a USB wifi adapter (headless setup). The wpa_supplicant.conf file contains authentication information only for my wifi access point, and the pi connects to it as ...
CluelessNoob's user avatar
1 vote
3 answers
468 views

networkd & resolved acces point custom dns and dns forwarding

Edit: I'm not looking for a full guide/answer necessarily, a nudge in the right direction (like what tool to use) would be of great help already! thanks :) I am trying to create an accesspoint with a ...
sevebsau's user avatar
1 vote
2 answers
5k views

Raspberry Pi Zero W can't connect to wifi

I have been trying to setup a raspberry pi 0w to connect to my access point but I can't get it to connect. The first thing I did was to enable USB ethernet and make the ssh file so I can connect to it ...
Toffee's user avatar
  • 88
4 votes
2 answers
4k views

RPI4B Ubnutu Server 20.10 wifi setup

I recently installed Ubuntu Server 20.10 on my RPI 4B and cannot get wifi to work. I followed the instructions here, here, and here. When I attempt to setup wifi via wpa_supplicant (the last link) ...
user138669's user avatar
1 vote
2 answers
4k views

Raspberry Pi 4 Rasbian two different wireless networks wlan0 wlan1

Is it possible to have a Raspberry Pi connect to two different WiFi networks? I want the built-in wlan0 to connect to a LAN, and wlan1 (using a USB wifi dongle I have) to connect to the internet. ...
J.S.'s user avatar
  • 11
-1 votes
1 answer
1k views

Raspberry Pi wpa_supplicant changes not getting saved

Network in wpa_supplicant.conf keep coming back after I delete it. Below is my wpa_supplicant.conf file ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=IN network={ ...
Abhishek Kumar's user avatar
0 votes
1 answer
1k views

Create new secure ad-hoc network

I am trying to create a secure ad-hoc network generated from a pi 3b+ running Buster. I would like to have a password prompt to show up when I try to connect to the network on various devices. Here is ...
goodkid38's user avatar
0 votes
2 answers
42 views

Roboust Network connectivity

I want to run a headless (no monitor and keyboard) Pi 3a in the somewhat fluent environment (at home, in an Artist’s studio, on the attic of an cathedral). The Pi is controlling some Christmas ...
max's user avatar
  • 101
0 votes
0 answers
275 views

Connect to wifi on book

I have a relatively fresh install of RetroPie that won't connect to wifi on boot. (I'm copying these configs by hand) /etc/wpa_supplicant/wpa_supplicant.conf country=US ctrl_interface=DIR=/var/run/...
icicleking's user avatar
0 votes
1 answer
320 views

Detect captive portal without connecting to it

Is it possible to scan for networks and discern which ones are captive portals WITHOUT connecting to it? I'm currently using wpa_cli -i wlan1 scan wpa_cli -i wlan1 scan_result To get a list of ...
badatmath's user avatar
0 votes
1 answer
52 views

Multiple Issues connecting pi to new network (ssh)

I have a rpi 4b that up until this point has worked fine on my old wifi network. I've had to switch ISP from Telstra to Optus and am on a new network (old network yet to be shut off). I only access it ...
Kristian Williamson's user avatar
0 votes
1 answer
807 views

Problems when changing the wifi-direct password

I would like to create a Wifi-Direct access point where the board needs to act as the GO. I am using the following configuration file for wpa_supplicant (wpa_supplicant.conf): ctrl_interface=/var/run/...
skateskate's user avatar
0 votes
1 answer
589 views

Configure back to normal wifi station after access point mode (hostapd)

I have set up access point according to the manual https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md on respberry pi 4b. It works fine. Now I need to disable AP ...
kyb's user avatar
  • 103
0 votes
2 answers
2k views

How to connect an Android phone and a raspberry pi through wifi direct programmatically

so I have been working on the task of connecting a pi to an android via wifi direct for a while, and I was able to get it to work, using the information given in this question: Issue connecting ...
Dyskord's user avatar
  • 119
2 votes
1 answer
243 views

Raspberry pi zero W not connected to WPA enterprise school network

I have been trying to connect my Raspberry pi Zero W to the school network. So far, it seems like I have it connected since the wifi icon is in blue, and the school network has a checkmark, although ...
Ana Diego's user avatar
2 votes
2 answers
17k views

Raspberry Pi 3b+ WiFi hotspot with hostapd Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator

I have this: /etc/default/hostapd DAEMON_CONF="/etc/hostapd/hostapd.conf" /etc/hostapd/hostapd.conf interface=wlan0 driver=nl80211 ssid=HOTSPOT hw_mode=g channel=6 ieee80211n=1 wmm_enabled=...
Kurt Cobain's user avatar
1 vote
1 answer
839 views

Issue connecting raspberry pi to android via Wifi p2p

I'm working on connecting a Raspberry Pi Zero W to an android device and having some issues. I think I am very close to getting it to work, but perhaps there is some small error. So I followed the ...
Dyskord's user avatar
  • 119
2 votes
1 answer
1k views

How to invoke the existing persistent p2p Go on restart of device (to create auto connect)

I am able to connect successfully with the android device with the following wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=root update_config=1 device_name=DIRECT-Pi ...
arayan's user avatar
  • 21