7 votes

Raspbian Buster Lite: couldn't communicate with wpa_supplicant

The approach described here worked for me. I had the same symptoms, albeit with a different RTL chip (RTL8192S / Edimax EW-7622UMn): the wlan0 interface does not sense the carrier and dhcpcd refuses ...
jdleesmiller's user avatar
4 votes

Headless wpa_supplicant etc/wpa_suuplicant vs /boot

At boot Raspbian will copy wpa_supplicant.conf from the FAT partition containing the bootloader etc. overwriting any existing file in /etc/wpa_supplicant/ otherwise /etc/wpa_supplicant/wpa_supplicant....
Milliways's user avatar
  • 58.7k
4 votes

Trouble connecting headless Pi 4 to Wifi

Did you make the wpa_supplicant file on Windows? Because, from the error messages, it looks as if it was it was saved as "rtf" and not as plain text. And if that's what happened, the pi will barf on ...
Andrew Brown's user avatar
4 votes

Raspbian Buster Lite: couldn't communicate with wpa_supplicant

There are some settings that you always need for a proper configuration. First set option country=?? outside a network={..} block in /etc/wpa_supplicant/wpa_supplicant.conf and ?? with your country ...
Ingo's user avatar
  • 41.9k
4 votes

Roboust Network connectivity

With the built-in wifi-device of a Raspberry Pi it is possible to create an access point together with an uplink client connection. This can be done with creating a virtual interface ap0 (or what name ...
Ingo's user avatar
  • 41.9k
3 votes

How to connect Pi 4 to WiFi AP that requires web page logon

If the w3m text browser does not work you can try to use the classic text browser lynx. It is also available from the Raspbian repository. You can also use scripting for login. I have done it with ...
Ingo's user avatar
  • 41.9k
3 votes
Accepted

wpa_supplicant.conf second network not saved when using wpa_cli

I encountered the same error here is how it worked for me: Remove your network conf in /etc/wpa_supplicant/wpa_supplicant.conf, it must look like this : ctrl_interface=DIR=/var/run/wpa_supplicant ...
Ephemeral's user avatar
  • 2,147
3 votes
Accepted

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

Thanks to @Ingo suggesting a fresh installation of Buster, I was eventually able to track down the problem, which was due to an update in the package firmware-brcm80211. The current release of Buster (...
Joey Dodson's user avatar
3 votes
Accepted

Timout during ifup with multiple WiFi interfaces on Kali Linux

Upon writing my question, the answer came to me. I want to share it right away, so it shall help anyone else who stumbles over a similar issue. First, I took a look at the networking service unit to ...
mrkskwsnck's user avatar
3 votes
Accepted

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

I do not follow exactly all steps you have done because there are sophisticated dependencies between the services and interfaces. But here are some general thoughts that can explain your problems. The ...
Ingo's user avatar
  • 41.9k
3 votes

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

[EDITED AFTER FINDING A SOLUTION] To summarize the issue, when restarting wpa_supplicant on the Raspberry Pi and reinvoking a previously defined persistent group, the P2P Clients (e.g., Android phones)...
ircama's user avatar
  • 168
3 votes
Accepted

Problems when changing the wifi-direct password

I do not understand what you are trying. As far as I understand you want to have a persistent group owner (GO) to which different devices can connect with the same password. This is already given with ...
Ingo's user avatar
  • 41.9k
3 votes

RPI4B Ubnutu Server 20.10 wifi setup

I was able to resolve this issue by adding my region to the /etc/default/crda file. # Set REGDOMAIN to a ISO/IEC 3166-1 alpha2 country code so that iw(8) may set # the initial regulatory domain ...
Hiya's user avatar
  • 131
3 votes
Accepted

Prevent automatic connection to open wifi

To answer your questions: A. automatically connect to an available open wifi network? wpa_supplicant will only connect to networks that are specified in /etc/wpa_supplicant/wpa_supplicant.conf. To ...
Ingo's user avatar
  • 41.9k
3 votes

No wpa_supplicant executable

A method that works well for me (better than guessing - or attempting to recall) to find package names is: $ apt-cache search supplicant argonaut-fuse - Argonaut (modular TFTP/Fuse supplicant) ...
Seamus's user avatar
  • 21.2k
2 votes

Raspbian Buster ignoring wpa_supplicant

It is very difficult to get an overview what you have installed and setup on your RasPis with the information you give us only step by step. You have NetworkManager installed where you don't know how ...
Ingo's user avatar
  • 41.9k
2 votes
Accepted

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

An access point is defined by its ssid. If you want to have more than one ssid then you have to create additional access points, one for each ssid. The built-in WiFi device of a Raspberry Pi can only ...
Ingo's user avatar
  • 41.9k
2 votes

wpa_supplicant.conf second network not saved when using wpa_cli

I've encountered this too, and the key here seems to be that you are using set_network 1 password "xxxxxxxxxx" like this, the wpa_cli does not save the network (despite reporting OK). What ...
graywolf's user avatar
  • 265
2 votes

Specifying wireless network name with accent in wpa_supplicant.conf?

You should be able to code it in hex as ssid=52C3A973656175206465204D5031 You can generate the hex value with echo "Réseau de XL1" | xxd -p | tr a-z A-Z
Dougie's user avatar
  • 5,271
2 votes

wpa_supplicant: sync channels between two wireless (virtual) interfaces

With setting up an Access point as WiFi router/repeater, optional with bridge I run into the same problem with the common channel of ap0 and wlan0 and could not get it to run with wpa_supplicant for ...
Ingo's user avatar
  • 41.9k
2 votes

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

From the debug output of wpa_supplicant I see there is the old background driver wext used and that there are many "unsupported" messages. wext isn't used normally, you should use default background ...
Ingo's user avatar
  • 41.9k
2 votes

How to switch between GoPro WLAN and Home network WLAN?

It seems you are selecting the wrong interface p2p-dev-wlan0 on your RasPi. This is an interface for a peer to peer connection, but your networks are managed. You can show all available interfaces ...
Ingo's user avatar
  • 41.9k
2 votes

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

For anyone trying to do this, here is all of the info I have collected. 1. Setup Client and AP mode Setup your pi using this great guide. Try just the client part in isolation first to see if that ...
Bassline Soup's user avatar
2 votes

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

You can put a wpa_supplicant.conf in the boot partition, and it will overwrite any existing. You can configure wpa_supplicant.conf for multiple networks. See How to set up networking/WiFi There is NO ...
Milliways's user avatar
  • 58.7k
2 votes

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

Of course there are better solutions for troubleshooting instead of following four (outdated?) tutorials. One of it is to use a Linux box instead of a MS Windows computer. You can just boot a live CD ...
Ingo's user avatar
  • 41.9k
2 votes
Accepted

Issue connecting raspberry pi to android via Wifi p2p

Issues with the frequency band (2.4 GHz vs. 5 GHz) should not exist. As far as I know the Raspberry Pi Zero W only supports the 2.4 GHz band, but I'm not sure. If in doubt append the frequency to the ...
Ingo's user avatar
  • 41.9k
2 votes

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

I prefer to use systemd-networkd so I can only help with Setting up a Raspberry Pi as an access point - the easy way and I haven't used EAP authentication so far in my home network. Have a look at the ...
Ingo's user avatar
  • 41.9k
2 votes

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

Is there a way to have the pi listen for invitations and initiate the connection automatically? If not, does anyone have any ideas for how I can get this to work? Wi-Fi Direct defines to use WPS (Wi-...
Ingo's user avatar
  • 41.9k
2 votes

Create new secure ad-hoc network

You are trying to use WiFi-Direct so you do not have to worry about security. WiFi-Direct uses WPA2 encryption by default. You are using old style Debian networking managed with /etc/network/...
Ingo's user avatar
  • 41.9k

Only top scored, non community-wiki answers of a minimum length are eligible