Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
goyetus opened this issue Sep 26, 2022 · 6 comments

Comments

@goyetus
Copy link

goyetus commented Sep 26, 2022

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

@XECDesign
Copy link

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.

@icemtel
Copy link

icemtel commented Nov 8, 2022

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.

@maxnet
Copy link
Collaborator

maxnet commented Nov 8, 2022

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.

@icemtel
Copy link

icemtel commented Nov 9, 2022

@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.

@maxnet
Copy link
Collaborator

maxnet commented Nov 10, 2022

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.

@icemtel
Copy link

icemtel commented Nov 11, 2022

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

Great, this worked! Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants