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
1answer
43 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 ...
0
votes
1answer
24 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 ...
0
votes
2answers
45 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 ...
0
votes
2answers
122 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 ...
0
votes
0answers
22 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 ...
-1
votes
1answer
68 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 ...
0
votes
1answer
91 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 &...
0
votes
1answer
132 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 ...
0
votes
1answer
20 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....
0
votes
0answers
20 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 ...
0
votes
0answers
37 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 ...
2
votes
4answers
62 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 ...
0
votes
2answers
76 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
73 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
788 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
225 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 - ...
2
votes
1answer
1k 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
247 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
187 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
279 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
38 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
41 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
48 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
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 ...
0
votes
1answer
279 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
85 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
533 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
54 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 ...
1
vote
2answers
5k 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
263 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
357 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
421 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
1k 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 ...
3
votes
2answers
3k 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
312 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
378 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
1k 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
62 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 ...
3
votes
1answer
199 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 ...
6
votes
2answers
8k 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
107 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
21 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
43 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
556 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
761 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)...
4
votes
3answers
3k 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
200 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
69 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
285 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
106 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 ...