TheHobbyist

joined 1 year ago
[–] TheHobbyist@lemmy.zip 2 points 6 days ago* (last edited 6 days ago) (1 children)

Is Mint using Wayland? If not, how well does it work with touchpad gestures? I'm asking because at least on Fedora, when I try it on X11, it does not have the same level of advanced touchpad gestures as on Wayland.

[–] TheHobbyist@lemmy.zip 0 points 6 days ago

Frankly, anything with KDE Plasma (like Fedora), is a pretty solid choice too for people coming from Windows.

[–] TheHobbyist@lemmy.zip 2 points 1 week ago

I hear you, but how much time was Synology given? If it was no time at all (which it seems is what happened here??), that does not even give Synology a chance and that's what I'm concerned with. If they get a month (give or take), then sure, disclose it and too bad for them if they don't have a fix, they should have taken it more seriously, but I'm wondering about how much time they were even given in this case.

[–] TheHobbyist@lemmy.zip 8 points 1 week ago

It's about online games and anti cheat. Many companies will not allow anti cheat to work on Linux because they "require" kernel level anti cheat, a big security and privacy concern.

You can read more about anti cheat games and their compatibility with Linux here: https://areweanticheatyet.com/

[–] TheHobbyist@lemmy.zip 12 points 1 week ago (7 children)

Was it that the talk was a last minute change (replacing another scheduled talk) so the responsible disclosure was made in a rush without giving synology more time to provide the patch before the talk was presented?

If so, who decided it was a good idea to present something regarding a vulnerability without the fix being available yet?

[–] TheHobbyist@lemmy.zip -1 points 1 week ago (1 children)

I'm not sure, I read that ZFS can help in the case of ransomware, so I assumed it would extend to accidental formatting but maybe there's a key difference.

[–] TheHobbyist@lemmy.zip -1 points 1 week ago* (last edited 1 week ago) (4 children)

I think these kind of situations are where ZFS snapshots shine: you're back in a matter of seconds with no data loss (assuming you have a recent snapshot before the mistake).

Edit: yeah no, if you operate at the disk level directly, no local ZFS snapshot could save you...

[–] TheHobbyist@lemmy.zip 1 points 2 weeks ago

They do mention compatibility a lot, if it's hardware, I agree with you. But perhaps they mean something else?

 

cross-posted from: https://lemmy.world/post/21664063

Linux Mint and Framework Laptops Join Forces

The October 2024 edition of Linux Mint’s Monthly News brings exciting updates, including a significant announcement about collaboration with Framework Laptops, having potential to advance Mint’s compatibility with hardware designed with flexibility, repairability, and sustainability in mind.

For those unfamiliar, unlike most traditional laptops, which are often difficult or impossible to repair or upgrade, Framework laptops are built to be user-friendly, making it easy to replace or upgrade components. This modular approach extends the laptop’s lifespan and promotes sustainability by reducing e-waste.

[–] TheHobbyist@lemmy.zip 51 points 2 weeks ago

This. I will resume my recommendation of Bitwarden.

[–] TheHobbyist@lemmy.zip 3 points 2 weeks ago (1 children)

I didn't say it can't. But I'm not sure how well it is optimized for it. From my initial testing it queues queries and submits them one after another to the model, I have not seen it batch compute the queries, but maybe it's a setup thing on my side. vLLM on the other hand is designed specifically for the multi co current user use case and has multiple optimizations for it.

[–] TheHobbyist@lemmy.zip 23 points 2 weeks ago* (last edited 2 weeks ago) (5 children)

I run the Mistral-Nemo(12B) and Mistral-Small (22B) on my GPU and they are pretty code. As others have said, the GPU memory is one of the most limiting factors. 8B models are decent, 15-25B models are good and 70B+ models are excellent (solely based on my own experience). Go for q4_K models, as they will run many times faster than higher quantization with little performance degradation. They typically come in S (Small), M (Medium) and (Large) and take the largest which fits in your GPU memory. If you go below q4, you may see more severe and noticeable performance degradation.

If you need to serve only one user at the time, ollama +Webui works great. If you need multiple users at the same time, check out vLLM.

Edit: I'm simplifying it very much, but hopefully should it is simple and actionable as a starting point. I've also seen great stuff from Gemma2-27B

Edit2: added links

Edit3: a decent GPU regarding bang for buck IMO is the RTX 3060 with 12GB. It may be available on the used market for a decent price and offers a good amount of VRAM and GPU performance for the cost. I would like to propose AMD GPUs as they offer much more GPU mem for their price but they are not all as supported with ROCm and I'm not sure about the compatibility for these tools, so perhaps others can chime in.

Edit4: you can also use openwebui with vscode with the continue.dev extension such that you can have a copilot type LLM in your editor.

29
submitted 1 month ago* (last edited 1 month ago) by TheHobbyist@lemmy.zip to c/linux@lemmy.ml
 

Hi folks,

I have Alpine Linux installed in an encrypted LUKS partition. I came across this tutorial which shows how to setup a key in a USB drive and when the drive is inserted and the computer booted, the LUKS partition auto-unlocks with the key on the USB drive.

https://askubuntu.com/questions/1414617/configure-ubuntu-22-04-zfs-for-automatic-luks-unlock-on-boot-via-usb-drive

I would like to setup the same thing but I do not have Alpine linux installed on ZFS, so I'm looking for ways to adapt the instructions.

So far, what I've done is:

  1. I've setup the key on the usb stick and I can unlock the LUKS partition with that key.
  2. create a /etc/mkinitfs/features.d/usb-unlock.sh script with the following content:

(the echo to /dev/kmesg was to check whether the script did indeed run at boot by trying to print to the kernel messages but I can't find anything in the kernel messages).

#!/bin/sh

echo "usb-unlock script starting..." > /dev/kmsg

USB_MOUNT="/mnt/my-usb-key" # The USB stick mounting point
LUKS_KEY_FILE="awesome.key"  # The name of your keyfile on the USB stick

# Search for the USB stick with the key
for device in $(ls /dev/disk/by-uuid/*); do
    mount $device $USB_MOUNT 2>/dev/null
    if [ -f "$USB_MOUNT/$LUKS_KEY_FILE" ]; then
        # Unlock the LUKS partition
        cryptsetup luksOpen /dev/sda3 cryptroot \
            --key-file "$USB_MOUNT/$LUKS_KEY_FILE" && exit 0
    fi
    umount $USB_MOUNT
done
echo "No USB key found, falling back to password prompt." # this message never appears, despite not having found the key on the usb stick

echo "usb-unlock script ending." > /dev/kmsg
  1. I added usb-unlock to the features in mkinitfs.conf:
mytestalpine:~# cat /etc/mkinitfs/mkinitfs.conf 
features="ata base ide scsi usb virtio ext4 cryptsetup keymap usb-unlock"
  1. run mkinitfs to rebuild the initramfs. Then reboot to test the implementation, which was unsuccessful.

What am I missing / doing wrong? Thank you for your help!

Edit: forgot to add step 4

 

Hi folks,

I seem to be having some internet connectivity issues lately and I would like to monitor my access to the internet. I have a homelab and was wondering whether someone had perhaps something like a docker container which pings a custom website every so often and plots a timescale of when the connection was successful and when it was not.

Or perhaps you have another suggestion? I know of dashboards like grafana but I don't know whether they can be configured to actually generate that data or whether they rely on a third party to feed them. Thanks!

view more: next ›