u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is ThinkPad L390y running Arch.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 27 Posts
  • 460 Comments
Joined 3 years ago
cake
Cake day: June 17th, 2023

help-circle









  • Problem with plain Wireguard is if you can’t open ports on some devices to get a direct connection. It should be just fine with hub and spoke model, but NAT Traversal of Tailscale makes a huge difference. I can get a direct connection between 2 devices connected to mobile data and behind CG-NAT.
    And also the config management if you have too many devices.

    Hub and spoke, you just add new devices to Wireguard on the main device, and the new peer. Full mesh, oof.

    But as far as configuring Wireguard goes, that’s pretty simple. And then there’s the weird stuff with MTU and fragmentation… but that’s not something Wireguard-specific.






  • I recently tried Ubuntu.
    Wait, no, I fought Ubuntu.

    Firefox was snap. OK, remove it and apt install. Nope, that installs a snap. Now, one more thing, for some reason uninstalling the snap version of Firefox took several minutes each time where it was “disconnecting” it from a bunch of things, or something along those lines.

    So I followed the Mozilla guide for Firefox installation on Ubuntu. Did it work? No. The higher priority setting for Mozilla repo from their guide didn’t work.
    Finally, I found the answer on OMG Ubuntu, and I could finally install the regular Firefox package.








  • I don’t know if it should be a bad thing. Inside the tar archive the configs were already organized into their respective dirctories, this way with --preserve-permissions --overwrite I could just quickly add the desired versions of configs.
    Some examples of contents:

    -rw-r--r-- root/root      2201 2026-02-18 08:08 etc/pam.d/sshd
    -rw-r--r-- root/root       399 2026-02-17 23:22 etc/pam.d/sudo
    -rw-r--r-- root/root      2208 2026-02-18 09:13 etc/sysctl.conf
    drwx------ user/user         0 2026-02-17 23:28 home/user/.ssh/
    -rw------- user/user       205 2026-02-17 23:29 home/user/.ssh/authorized_keys
    drwxrwxr-x user/user         0 2026-02-18 16:30 home/user/.vnc/
    -rw-rw-r-- user/user        85 2026-02-18 15:32 home/user/.vnc/tigervnc.conf
    -rw-r--r-- root/root      3553 2026-02-18 08:04 etc/ssh/sshd_config
    

    Keeps permissions, keeps ownership, puts things where they belong (or copies from where they were), and you end up with a single file that can be stored on whatever filesystem.