rpi-imager icon indicating copy to clipboard operation
rpi-imager copied to clipboard

No wifi - RPI 4 in RPI OS 32 BIT when using a SSID and Password in Raspberry Pi Imager

Open goyetus opened this issue 2 years ago • 6 comments

Using the Raspberry Pi imager and setting an SSID and Password:

RPI OS 32 bit full = Wifi working. RPI OS 32 bit lite = Wifi not working

Error in RPI OS 32 lite = WIFI IS CURRENTLY BLOCKED BY RFKILL

1111111111 - copia

goyetus avatar Sep 26 '22 22:09 goyetus

Looks okay on this end.

I see the kernel you have is older than what we ship with, so it doesn't seem to be the latest armhf lite image.

XECDesign avatar Sep 27 '22 09:09 XECDesign

Only-slightly relevant question: Where does RP-imager writes the wi-fi configuration? I am debugging an issue on Ubuntu 22.04 where I am not able to change my wi-fi network.

icemtel avatar Nov 08 '22 12:11 icemtel

Where does RP-imager writes the wi-fi configuration? I am debugging an issue on Ubuntu 22.04 where I am not able to change my wi-fi network.

We only support setting wifi configuration on Ubuntu SERVER, not desktop. (If using our repository, the customization option will not be shown if selecting desktop, but mentioning it just in case you are using a custom image file from disk).

In the case of SERVER it is stored in a file called "network-config" on the FAT partition of the SD card. Any wifi channel that require setting wifi country first may or may not work, depending on Ubuntu version.

maxnet avatar Nov 08 '22 12:11 maxnet

@maxnet big thanks, I meant the ubuntu server.

This is really off-topic now, but do you have any tips on switching the wi-fi network? nmcli gives wlan0: unavailable, sudo wpa_cli fails to save a config, and the advice from the internet did not resolve that.

icemtel avatar Nov 09 '22 21:11 icemtel

This is really off-topic now, but do you have any tips on switching the wi-fi network?

Ubuntu Server has gone netplan. It will consult the files in /etc/netplan on every boot and generate brand new configuration files from that. So if you modify configuration files in any other directory they will be overwritten.

For configuration examples see: https://netplan.io/examples May need to toss a country setting like "cfg80211.ieee80211_regdom=GB" in /boot/firmware/cmdline.txt A wifi country code setting did was added to upstream netplan recently, but I don't think it made it into the Ubuntu version you are using yet.

maxnet avatar Nov 10 '22 00:11 maxnet

For configuration examples see: https://netplan.io/examples

Great, this worked! Thank you for your help.

icemtel avatar Nov 11 '22 07:11 icemtel