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

wpa_supplicant: can't get wifi up and running on RPI4 #361239

Closed
brianmay opened this issue Dec 2, 2024 · 1 comment
Closed

wpa_supplicant: can't get wifi up and running on RPI4 #361239

brianmay opened this issue Dec 2, 2024 · 1 comment
Labels
0.kind: bug Something is broken

Comments

@brianmay
Copy link
Contributor

brianmay commented Dec 2, 2024

Describe the bug

Immediately after upgrading from nixos24.05 to nixos24.11, wifi networking stopped. Before rebooting in fact. Rebooting to new kernel doesn't help.

Logs give a lot of message along the lines of "brcmfmac: brcmf_set_channel: set chanspec: 0xXXXX fail, reason -52"

This leads me to google search results like raspberrypi/linux#6049 which blame wpa_supplicant 2.11 and say I should downgrade to wpa_supplicant 2.10.

Unfortunately I can't see any easy way of overriding the wpa_supplicant to 2.10 without downgrading back to nixos-24.05.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have working wifi on nixos 24.05
  2. Upgrade to nixos 24.11

Expected behavior

Networking should continue to work

Metadata

  • system: "aarch64-linux"
  • host os: Linux 6.6.31, NixOS, 24.11 (Vicuna), 24.11.20241128.c71ad5c
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.24.10
  • nixpkgs: not found

(nixpkgs not found because there was no networking)

Notify maintainers

@MarcWeber @Ma27


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@brianmay brianmay added the 0.kind: bug Something is broken label Dec 2, 2024
@brianmay
Copy link
Contributor Author

brianmay commented Dec 3, 2024

Never mind, I was on completely the wrong track entirely.

This changed fixed it.

-    networks = { PENGUINS.psk = "ext:PSK_PENGUINS"; };
+    networks = {PENGUINS.pskRaw = "ext:PSK_PENGUINS";};

The docs led me to believe that pskRaw is for hex format passwords only. But plan-text passwords also work fine.

@brianmay brianmay closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant