Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Frederic, (edited ) to linux in Suspension on my laptop (closing the lid) causes Wifi to not be available.

you have to replace the ## with &&

the name should be iwlwifi

Frederic, (edited ) to linux in Suspension on my laptop (closing the lid) causes Wifi to not be available.

You need to unload your wifi module before suspend.

Without systemd it’s easy:

create a file /etc/pm/config.d/config containing:


<span style="color:#323232;">HOOK_BLACKLIST="wireless"
</span><span style="color:#323232;">SUSPEND_MODULES=”NAME_OF_YOUR_WIFI_MODULE”
</span><span style="color:#323232;">SUSPEND_MODULES=”wl”
</span>

With systemd try this

create a file /usr/lib/systemd/system-sleep/fix-wifi.sh containing (fuck this editor, replace the “##” with “&&”) :


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">[ "$1" = "post" ] ## exec /usr/sbin/modprobe NAME_OF_YOUR_WIFI_MODULE
</span><span style="color:#323232;">[ "$1" = "pre" ] ## exec /usr/sbin/modprobe -r NAME_OF_YOUR_WIFI_MODULE
</span><span style="color:#323232;">exit 0
</span>

and make it executable with chmod 755 /usr/lib/systemd/system-sleep/fix-wifi.sh

Frederic, to linux in Suspension on my laptop (closing the lid) causes Wifi to not be available.

what? suspend works flawlessly for years

Frederic, to linux in Flatpak can look daunting...

Why use flatpak?

Frederic, (edited ) to linux in What's with all these hip filesystems and how are they different?

After using ext4 for yyyeeeaaaarrrrrsss, when I upgraded my MX21 to MX23 I used btrfs, with subvolumes, especially for easy backup/snapshot/timeshift.

Just at install, super easy, create a small ext4 boot partition on the SSD, then a big LUKS partition, format with btrfs, create subvolumes for / /home /var /swap and that’s it. No hassle with sizing correctly.

btrfs seems pretty stable. I see no diff in performance compared to ext4 because my application are not that dependant to FS speed, and with SSD anyway?

oh yeah, built-in compression too!

Frederic, to linux in Does `cp -v` print out the file name when it starts copying it or when it's done?

I think the one being currently copied? take a look at github.com/coreutils/coreutils/blob/…/cp.c :)

Frederic, to linux in What distro would you recommend for a 32-bit old Acer One laptop?

AntiX is awesome on old HW, everything works, just don’t load a big website in the browser or it crawls :)

Frederic, to linux in What distro would you recommend for a 32-bit old Acer One laptop?

yeah MX21 32bits is what I would install, or AntiX.

Can’t you boot on a USB key and reset the root password on your HD partition?

Frederic, (edited ) to linux in How safe are my data if my hard drive isn't encrypted?

If Windows, use BitLocker.

If Linux, use LUKS but you need to enter the passphrase at boot, you can securely put the key in TPM2 I think (à la Windows) but it may be complicated to setup, or just seal the phrase in TPM2 but if you boot on grub you can break grub and replace init with a shell in boot option and have access to the system I think :-/ but a simple crackhead thief would not understand that.

You can also have the key on a USB key, but if on the server and the server get stolen, it’s useless. You can setup a “anywhereUSB” and have your USB key in another room/place, etc, there is others possibilities.

I wanted to unlock with bluetooth but having the bluetooth HW driver and stack in initramfs was nightmarish a little bit :-/

Frederic, (edited ) to memes in Hallmark channel go brrrrr

Lacey Chabert 😊 Candace Cameron 😊

Frederic, to linux in find, grep, sed, and awk

Using un*x since the 90s, this is all I know. I like awk but it can go fucking complicated, I once maintain a 5000 lines script that was parsing csv to generate JavaScript…

Frederic, to memes in data loss

ah tabarnak…

Frederic, to memes in Were you listening to me?

The lady in red, she’s dancing with me :)

Frederic, to linux in The Linux kernel has been accidentally hardcoded to a maximum of 8 cores for nearly 20 years

Title bullshit, we have multicore machine for years, I can guarantee you this had about no impact else people running Xeon or Threadripper would have saw it at first try 15 years ago.

This looks like to have an impact on the scheduler but not on how many cores are used.

Frederic, to linux in cheapest new computer running linux &lt;$500

Yes, both are well known and (even if sometimes some people says they have lemons, for both bands) pretty solid, mine is 14 months old and runs 8h/day as my work PC

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #