-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Raspberry Pi 3 B+ wifi does not work until the service is restarted #82462
Comments
I had to add this to my config for wifi to work:
where regDom is your 2 letter country code (US for the United States). |
Update: I did try @matthewbauer's suggestion, and I'm not sure whether it helped or not. Now I am sometimes getting connected to wifi, and sometimes not. In the case where it fails to connect to wifi, I see the same I am also still unable to boot into the latest 5.4 kernel (I reported a separate bug for this), so maybe this is an issue that is been fixed, and is only affecting 4.19? Is there some way I can configure the systemd unit to always restart? Something like, attempt to start every 5 seconds forever seems like what I'd want regardless in an embedded device where connectivity is critical. |
I think you can do:
I also have this in my settings, but can't remember if it made a difference:
|
Okay, I'd like to leave this issue open for now though, as there is something causing both Here is what I believe to be the minimal config for working WLAN on the Raspberry Pi 3 B+:
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/raspberry-pi-aarch64-connect-to-wifi-automatically/6162/2 |
To add to this, the Arch Linux iwd entry specifically calls out issues with the systemd unit failing on startup, which sounds like what I've been running into. |
My Raspberry Pi 4B was failing to load the wlan0 device. The fix is to add Shall we close this issue? |
I marked this as stale due to inactivity. → More info |
This issue seems to be still present. |
@bachp were you able to connect to do it? My |
I got it working by following the instructions in #115652 (comment). But there doesn't seem to be a real solution yet. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/raspberry-pi-3-wireless-interface/17576/1 |
@ertw Your typo is carried to the internet example
it should be Took me a tremedous long time to figure out. Without fixing this typo, the output below is
|
Describe the bug
I would like to have my Rasberry Pi connect to wifi without requiring user interaction. I have attempted to configure it using both
wpa_supplicant
andiwd
, and both services are in a failed state on initial login. I have tried wpa_supplicant both with & withoutconnman
, and with & without declaratively specifying the connection details of the SSID.Restarting the service (
systemctl restart wpa_supplicant.service
orsystemctl restart iwd.service
) causes the wireless to immediately connect, andsystemctl status
shows the service in a healthy state.When I run
journalctl -u iwd
, I see the following error listed:NEW_INTERFACE failed: Device or resource busy
To Reproduce
Steps to reproduce the behavior:
network.wireless.enable = true;
ornetwork.wireless.iwd.enable = true;
Expected behavior
The pi should connect to wifi, and the wireless service (iwd or wpa_supplicant) should not crash.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: