Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Raspberry Pi no WiFi connection

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
MartinP
Posts: 3
Joined: Sat 26 Feb 2022 12:59 pm
Weather Station: Fine Offset 1081
Operating System: Raspberry Pi "Bullsye"
Location: Hertfordshire, UK

Raspberry Pi no WiFi connection

Post by MartinP »

Hi all,
Just downloaded CumulusMX image for the Pi to try after using PYWWS for many years, and installed on a 3B+ but cannot get the WiFi to work.
wpa_supplicant.conf is setup OK (as with all my other Pis) but WiFi connection refuses to work (ie will not connect to router and consequently no IP address)
ethernet connection is fine, but I want to use it headless over WiFi.
Using raspi-config after loading, (sudo raspi-config) in an attempt to configure WLAN results in an error message along the lines of "Could not communicate with wpa_supplicant"
and "There was an error running option S1 Wireless LAN"
Prior to first insertion of the SD card, and as per instructions, I had editied and renamed the .txt file for wpa_supplicant in the boot partition as usual.

At the moment I'm stumped and frustrated.
Anyone any thoughts?
TIA
Martin
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Raspberry Pi no WiFi connection

Post by HansR »

if you give on the commandline:

Code: Select all

ip link show
does it give an interface for wlan?

An error running option S1 Wireless LAN seems to indicate there is an interface issue. Maybe the device is not functioning (hardware issue?)
Other than that I have no idea :|
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
SamiS
Posts: 511
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Raspberry Pi no WiFi connection

Post by SamiS »

Could the wifi just be disabled? I have disabled wifi via desktop network icon ”turn wifi off”, and on boot to console it says something about rfkill. I’m not sure if that setting is stored on nvram, but if it is, then it would persist even on new os install. From console the wifi can be controlled with raspi-config if I remember correctly.
MartinP
Posts: 3
Joined: Sat 26 Feb 2022 12:59 pm
Weather Station: Fine Offset 1081
Operating System: Raspberry Pi "Bullsye"
Location: Hertfordshire, UK

Re: Raspberry Pi no WiFi connection

Post by MartinP »

Thanks for all the input folks.
WLAN0: is fine, not disabled and has worked on that particular Pi 3B+ OK for some time.
I did eventually get things going with WiFi after trying several SD cards etc, but only managed finally, by deleting the .txt file for wpa_supplicant in boot partition, booting and then using raspi-config to configure the WiFi as usual.
It is weird, because I thought I would try it on a ZeroW; wrote an 8GB card, configured the .txt file and that booted fine and configured WiFi all by itself, as it should, plus cumulusMX ran fine (if a little slowly) So I wrote a 16Gb card and did the same on the same Pi. Boots fine but ......... no WiFi!!! Go figure?
Result is, I'm happy with it running on the ZeroW for my purposes.
Thanks again for your suggestions.
Martin
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Raspberry Pi no WiFi connection

Post by HansR »

MartinP wrote: Sun 27 Feb 2022 4:09 pm Thanks for all the input folks.
WLAN0: is fine, not disabled and has worked on that particular Pi 3B+ OK for some time.
I did eventually get things going with WiFi after trying several SD cards etc, but only managed finally, by deleting the .txt file for wpa_supplicant in boot partition, booting and then using raspi-config to configure the WiFi as usual.
It is weird, because I thought I would try it on a ZeroW; wrote an 8GB card, configured the .txt file and that booted fine and configured WiFi all by itself, as it should, plus cumulusMX ran fine (if a little slowly) So I wrote a 16Gb card and did the same on the same Pi. Boots fine but ......... no WiFi!!! Go figure?
Result is, I'm happy with it running on the ZeroW for my purposes.
Thanks again for your suggestions.
Martin
So there is something wrong with the wpa_supplicant.conf. Did you use the conf extension in the boot directory or did you use .txt as you seem to insinuate?
Did you use a correct editor (e.g. notepad++)?
If you make an empty file in the boot directory with the name ssh and you have a correct wpa_supplicant.conf you can first time boot straight into the headless system.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
MartinP
Posts: 3
Joined: Sat 26 Feb 2022 12:59 pm
Weather Station: Fine Offset 1081
Operating System: Raspberry Pi "Bullsye"
Location: Hertfordshire, UK

Re: Raspberry Pi no WiFi connection

Post by MartinP »

HansR wrote: Sun 27 Feb 2022 5:27 pm
MartinP wrote: Sun 27 Feb 2022 4:09 pm Thanks for all the input folks.
WLAN0: is fine, not disabled and has worked on that particular Pi 3B+ OK for some time.
I did eventually get things going with WiFi after trying several SD cards etc, but only managed finally, by deleting the .txt file for wpa_supplicant in boot partition, booting and then using raspi-config to configure the WiFi as usual.
It is weird, because I thought I would try it on a ZeroW; wrote an 8GB card, configured the .txt file and that booted fine and configured WiFi all by itself, as it should, plus cumulusMX ran fine (if a little slowly) So I wrote a 16Gb card and did the same on the same Pi. Boots fine but ......... no WiFi!!! Go figure?
Result is, I'm happy with it running on the ZeroW for my purposes.
Thanks again for your suggestions.
Martin
So there is something wrong with the wpa_supplicant.conf. Did you use the conf extension in the boot directory or did you use .txt as you seem to insinuate?
Did you use a correct editor (e.g. notepad++)?
If you make an empty file in the boot directory with the name ssh and you have a correct wpa_supplicant.conf you can first time boot straight into the headless system.
Hans, thanks for the input.
I used the suitably edited (notepad++) wpa_supplicant.conf file in boot partition without the ".txt" extension, as per instructions.
All I need to do now is work out how to get a local web page working (although the inbuilt "dashboard" works well)
I guess we can mark this "SOLVED"
Martin
Post Reply