Hi Thomas,

I managed to fix my wifi - see below.

Ben Sturmfels <[email protected]> writes:

"Thomas Ieong" <[email protected]> writes:

I guix pulled yesterday and noticed that the build daemon could now be run unprivileged, so I reconfigured and today I woke up and noticed that my wifi
isn't working anymore.

When I run `nmcli d` I get this:

```
wlp0s20f3        wifi      unmanaged
```

And with nmcli:

```
wlp0s20f3: unmanaged
        "Intel Alder Lake-P PCH CNVi"
wifi (iwlwifi), 00:A5:54:B5:F7:CF, plugin missing, hw, mtu
1500
```

Thanks so much for posting this! I've been chasing a similar issue but didn't reboot until weeks later so hadn't been able to figure out what was
going on.

I'm getting the same behaviour, but with my Atheros ath9k mini PCIe card,
which has always had drivers/firmware included in Linux Libre.

The cause of this problem might be because I did not let guix-ownership change every file ownership? I thought I did but last time I checked /var/guix/profiles was owned by root so I chowned it to guix-daemon manually
but it did not solve my problem.

Permissions make sense. I'd tried different hardware, and using "guix time-machine" to reconfigure back to April 10, but no luck. Was beginning to suspect some sort of "state" problem with my installation. Were you able
to solve this?

I noticed some very strange ownership in /gnu/store, /etc/guix and
/var/guix with owner "971" and group "sshd".

I was able to fix my wifi by changing the ownership back to root:root and restarting NetworkManager. Note that I don't recommend anyone do this
without taking a BACKUP FIRST. Paths came from "Migrating to the
Unprivileged Daemon" in the Guix manual.

sudo su
herd stop guix-daemon
mount -o remount,rw /gnu/store
chown -R root:root                        \
      /gnu                                                  \
      /var/guix/{gc.lock,daemon-socket,db,discover}         \
      /var/guix/{gcroots,offload,substitute,temproots}      \
      /var/log/guix                                         \
      /etc/guix
mount -o remount,ro /gnu/store
herd start guix-daemon
herd restart NetworkManager

Thanks to lfam for talking through this in #guix.

As to why this happened, I can't say. I believe the system wasn't rebooted until many days later so I don't think the process would have been interrupted.

Regards,
Ben

Reply via email to