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
0answers
15 views

wpa_cli: Fail to join an existing p2p group with the 3rd device

I use wpa_cli on Raspberry Pi to test WiFi-Direct functionality between my 2 Android cellphones and 1 Raspberry Pi. I am able to make an p2p connection between any one of my 2 Android cellphones and ...
1
vote
4answers
43 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 ...
-1
votes
0answers
75 views

“wpa_supplicant” can't connect back to access point after restarting “wlan0” interface

I've encountered a problem with a wpa_supplicant service. After wlan0 interface restart (by restart I mean running sudo ip link set wlan0 down && sudo ip link set wlan0 up) it isn't able to ...
0
votes
2answers
35 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 ...
0
votes
2answers
41 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 ...
1
vote
2answers
77 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 ...
0
votes
0answers
47 views

Buildroot: setup pi zero w headless (wireless)

I'm working on a project with rpis (those are always the best right) and I want to include the pi zero w in there as well. Now, I have a pi 3 and 4 running headless with buildroot images on them - ...
1
vote
1answer
380 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) ...
0
votes
2answers
61 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. ...
0
votes
1answer
69 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={ ...
0
votes
1answer
75 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 ...
0
votes
2answers
36 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 ...
0
votes
0answers
31 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/...
0
votes
1answer
30 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 ...
0
votes
1answer
33 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 ...
0
votes
1answer
104 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/...
0
votes
1answer
27 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 ...
0
votes
2answers
259 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 ...
2
votes
1answer
28 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 ...
0
votes
2answers
996 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=...
1
vote
1answer
143 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 ...
0
votes
1answer
95 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 ...
1
vote
1answer
93 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 ...
2
votes
1answer
152 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 ...
2
votes
2answers
1k 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 ...
1
vote
2answers
109 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 ...
0
votes
1answer
192 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 ...
1
vote
2answers
787 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 ...
0
votes
1answer
46 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 ...
2
votes
1answer
90 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 ...
4
votes
2answers
3k 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/...
0
votes
0answers
39 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 ...
0
votes
0answers
18 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?
0
votes
1answer
32 views

How to switch between GoPro WLAN and Home network WLAN?

In my setup I want to switch between my GoPro camera WLAN (to control GoPro camera) and my Home WLAN (to send recorded images by mail). I tried to use the script described in How to switch back and ...
0
votes
1answer
225 views

dot1x 802.1x wired eth0 wpa_supplicant auto-start

Is there a possibility to start wpa_supplicant every time when the network connection comes up? I am able to Secure the network connection manual, but not automatically. My /etc/wpa_supplicant/...
1
vote
1answer
410 views

wpa_supplicant.conf not working with my laptop wifi with pi-zero

I have 2 raspberry, one 4 and one Zero W. The second one is headless and I use it via ssh from my laptop using my home wifi network. My goal is to emit the wifi via hotspot on my laptop (ubuntu 18.04)...
3
votes
2answers
2k views

Rpi4 with Buster wpa_supplicant fails to connect to hostapd network hosted on Ubuntu laptop

I am attempting to connect a Rpi4 to an AP running on my laptop, but it won't connect. I don't see any obvious problems (to me) in wpa_supplicant or other config files. I have run wpa_supplicant in ...
1
vote
3answers
131 views

Raspberry Pi 0W V1.3 Doesn't Connect to WiFi

I've been trying to set up my Raspberry Pi 0W V1.3 headless. I only have the possibility of connecting a monitor, but no keyboard/mouse. I downloaded a fresh version of Raspbian Buster lite (Release: ...
1
vote
0answers
44 views

How to set up an Access Point / WiFi Repeater to connect through Bluetooth?

I had successfully set up my raspberry pi as an access point as WiFi repeater followed this guide: Access point as WiFi router/repeater, optional with a bridge. I would like to set up my raspberry pi ...
2
votes
2answers
127 views

Can't Forget SSID, Even after rm from wpa_supplicant

I'm trying to forget an SSID from a new Raspberry Pi 4. I need to get it connected to a hidden network in our house, but it grabbed a public guest network first by default, and now I can't get it to ...
1
vote
1answer
64 views

Headless wpa_supplicant etc/wpa_suuplicant vs /boot

I was trying to set up a headless Raspi 3 by putting my wpa_supplicant.conf into rootfs/etc/wpa_supplicant/, but it only started working once I put it into the boot partition. I thought the OS would ...
0
votes
1answer
2k views

Raspbian Buster ignoring wpa_supplicant [closed]

I'm pulling my hairs out over what should be a simple network switch. I moved into a new home and we got a new router. To switch my Pis I booted up my old router, connected to the Pis (one 0W and a 3B+...
3
votes
1answer
382 views

As Access Point (WiFi Repeater): How to set up multiple WiFi/SSID

I had successfully set up my raspberry pi as an access point as WiFi repeater followed this guide: Access point as WiFi router/repeater, optional with a bridge. I would like to set up my raspberry pi ...
0
votes
0answers
53 views

As an Access Point (WiFi Repeater): how to set up multiple WiFi/SSID

I had successfully set up my raspberry pi as an access point as WiFi repeater followed this guide: Access point as WiFi router/repeater, optional with a bridge. I would like to set up my raspberry ...
1
vote
2answers
285 views

How to disable Acess Point mode (Router/Repeater)?

I set up raspberry pi 4 with this tutorial : Access point as WiFi router/repeater, optional with bridge. How do I turn off ap mode and how to enable it again? When I plugged in ethernet port, the pi ...
-1
votes
1answer
347 views

RPi 2: Could not communicate with wpa-supplicant

Like the title, I updated the Raspbian from Jessie to Buster, and when I restarted my Pi 2 Model B, wlan0 suddenly not associated, I noticed that could be my Wifi dongle problem. But when I get to ...
4
votes
2answers
1k views

Android won't connect to RasPi access point

I have managed to turn my Raspberry Pi into an access point following these instructions: Access point as WiFi router/repeater with additional WiFi-dongle However, everything connects to the access ...
1
vote
2answers
447 views

wpa_supplicant: sync channels between two wireless (virtual) interfaces

I'm working with a raspberry pi zero w with a stripped down distro - NARD, and I would like to use two virtual wireless interfaces, one running in AP mode (service network) and the other connecting to ...
1
vote
1answer
131 views

On GUI-less Pi 4B, wifi fails to connect every 4 or 5 boots

I'm building an IOT device on a slightly modified raspbian (kernel preempt is enabled) on a pi 4B 2GB without a GUI (runlevel N 5) and relying on wpa_supplicant to make and maintain a wifi connection. ...
2
votes
1answer
343 views

Trouble connecting headless Pi 4 to Wifi

Running the latest download of Raspbian, trying to set up headless. I did the ssh file and wpa_supplicant.conf, but it didn't show up on the network. So I've plugged it in with an ethernet cable, and ...