2022 Developer Survey is open! Take 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
10 views

core-image-base with wpa_supplicant how to switch between static and dynamic IP address

WPA supplicant has an option to fallback from STA to AP mode in case connection to a WIFI network fails. However in STA mode I use DHCP for wlan0 and in AP mode I need to assign a static IP address to ...
user avatar
  • 111
0 votes
1 answer
30 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 ...
user avatar
  • 111
1 vote
1 answer
19 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; ...
user avatar
  • 11
1 vote
2 answers
39 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 ...
user avatar
0 votes
0 answers
50 views

parprouted.service: Can't open PID file /run/parprouted.pid

I'm facing exactly the same issue as posted here (Wifi to ethernet bridge on a RPi 1B(+) with proxy arp, unfortunately, the issue was not resolved. I followed the ♦ Static configuration of proxy arp ...
user avatar
1 vote
2 answers
88 views

Configure RasPi 4 for headless operation

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=/...
user avatar
  • 111
0 votes
1 answer
361 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 ...
user avatar
  • 101
0 votes
0 answers
40 views

Raspberry Pi repeatedly starts and stops advanced ieee 802.11 and ieee 802.1x/wpa/wpa2/eap authenticator

i recently wanted to use the hostapd wifi access point but after i installed it and rebooted i repeatedly got the following messages in console on boot: [DEPEND] Dependency failed for wpa_supplicant ...
user avatar
  • 1
0 votes
1 answer
175 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 ...
user avatar
  • 1
0 votes
1 answer
127 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 ...
user avatar
0 votes
1 answer
280 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 ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
0 votes
2 answers
429 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 ...
user avatar
0 votes
2 answers
472 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 ...
user avatar
0 votes
0 answers
46 views

Hostapd + wpa_supplicant: Blocking behavior while both in use

I'm using a Pi 3B+ to simultaneously run in AP & managed mode (on interfaces wlan0 & ap0). I noticed that while the Raspberry is attempting to connect to a network over wlan0, connecting to ...
user avatar
-1 votes
1 answer
81 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 ...
user avatar
  • 1
0 votes
1 answer
210 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 &...
user avatar
  • 101
0 votes
1 answer
210 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 ...
user avatar
  • 1
0 votes
1 answer
37 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....
user avatar
  • 105
0 votes
0 answers
22 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 ...
user avatar
2 votes
4 answers
798 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 ...
user avatar
  • 31
0 votes
2 answers
147 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 ...
user avatar
0 votes
2 answers
154 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 ...
user avatar
0 votes
2 answers
2k 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 ...
user avatar
  • 53
2 votes
1 answer
2k 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) ...
user avatar
0 votes
2 answers
1k 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. ...
user avatar
  • 1
0 votes
1 answer
401 views

raspberry pi wpa_supplicant changes not getting saved

network in wpa_supplicant.conf keep comming 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={ ...
user avatar
0 votes
1 answer
502 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 ...
user avatar
0 votes
2 answers
40 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 ...
user avatar
  • 101
0 votes
0 answers
80 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/...
user avatar
0 votes
1 answer
86 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 ...
user avatar
0 votes
1 answer
40 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 ...
user avatar
0 votes
1 answer
391 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/...
user avatar
0 votes
1 answer
161 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 ...
user avatar
  • 103
0 votes
2 answers
762 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 ...
user avatar
  • 19
2 votes
1 answer
101 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 ...
user avatar
2 votes
2 answers
8k 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=...
user avatar
1 vote
1 answer
362 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 ...
user avatar
  • 19
1 vote
1 answer
617 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 ...
user avatar
  • 11
1 vote
1 answer
663 views

Unable to Connect Raspbian Lite to Enterprise Wifi

for the last few days I have been trying to connect my raspberry pi 3B to an enterprise wifi network with little success. My wpa_supplicant.conf looks like: network={ ssid="(My Network ...
user avatar
2 votes
1 answer
2k views

Raspberry Pi Zero W not connecting to WiFi

Context: I'm trying to set up pihole as per these two tutorials. I'm using a Raspberry Pi Zero W. I created an SSH file which I added to the sd card. I also created a wpa_supplicant.conf file as per ...
user avatar
3 votes
2 answers
6k views

Choose a specific WiFi AP or Frequency

My router (Google WiFi) have 2 access points with the same ssid: a 2.4GHz and a 5GHz. It seems that multicasting between these networks is unstable, so I want my raspberry (buster) to force a ...
user avatar
1 vote
2 answers
682 views

Is there a better way to fix messed up wpa_supplicant and interfaces files on Windows?

Hello I am very new to Raspberry pi having got a Raspi 0 only a few days ago. The only way I know to access any of the code is by ssh-ing from my laptop into the pi, but it worked and I was very happy ...
user avatar
  • 11
0 votes
1 answer
524 views

In remote setup, how can I accurately put an apostrophe in the SSID name for wpa_supplicant.conf file?

I'm trying to setup a raspberry 3 B+ headless by writing a wpa_supplicant.conf and adding to the boot directory of pi. However, my pi keeps not connecting to my internet, and I believe its because my ...
user avatar
1 vote
2 answers
2k views

Raspberry Pi w/Buster dynamic AP and Wi-fi client

I have managed to setup my Raspberry Pi Zero W to work in both AP and Client mode simultaneously using this great guide. Using wpa_cli -iwlan0 (no sudo), I am able to scan, connect and save networks ...
user avatar
0 votes
1 answer
72 views

Certain WiFi connections are greyed out and not accessible

Certain WiFi connections are greyed out and not accessible on Raspbian. I did try to modify the wpa_supplicant.conf but the changes don't seem to work. Does anybody know the correct way to add a WiFi ...
user avatar
3 votes
1 answer
288 views

Timout during ifup with multiple WiFi interfaces on Kali Linux

for my project I need two WiFi interfaces connected to a Raspberry Pi Zero W running Kali Linux (not Raspbian – anyway both are based on Debian). The onboard interface wlan0 shall not connect to any ...
user avatar
6 votes
3 answers
12k views

Raspbian Buster Lite: couldn't communicate with wpa_supplicant

Just flashed a card with Raspbian Buster Lite on a Raspberry Pi 2, and ssh'd into it using an ethernet cable. raspi-config/wpa_cli can't communicate with wpa_supplicant (there's no /var/run/...
user avatar
0 votes
0 answers
127 views

Setting up MotionEyeOS (Based on Raspbian) wpa_supplicant is connecting me to the internet, but I can't use the local IP to get to the login screen

So my Zero W is accepting the wpa_supplicant, and connecting to the internet, and is visible on the routers connected devices page with the same IP. However, when using a different device (like Fing ...
user avatar
0 votes
0 answers
22 views

wifi/wlan password only in memory not on sd-card after start

Is there a way to place the wpa password on an USB stick, boot the raspberry and remove the USB stick afterwords such that the wpa password resides only in memory?
user avatar