Skip Navigation
Suspension on my laptop (closing the lid) causes Wifi to not be available.
  • Is your laptop, by any chance, an HP? I had the same issue with wifi and finally, after about a year of frustration, found the solution HERE. To save a click, here's the part that worked for me, with the disclaimer that I don't honestly know how this works, but by the time I found it I was frustrated enough to run random code from the internet with sudo privileges on my main machine:

    First, create the file

    /etc/systemd/system/hp-keycodes.service

    and type/copy-paste the following into it:

    [Unit]
    Description=HP setkeycodes fix

    [Service]
    Type=oneshot
    Restart=no
    RemainAfterExit=no
    ExecStart=/usr/bin/setkeycodes e057 240 e058 240

    [Install]
    WantedBy=rescue.target
    WantedBy=multi-user.target
    WantedBy=graphical.target

    Then, run the following commands:

    sudo systemctl daemon-reload
    sudo systemctl enable --now hp-keycodes.service

    That fixed it for me, hopefully it helps you (or someone else) as well!

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)XK
    xkoe @lemmy.dbzer0.com
    Posts 0
    Comments 4