Install Guix

  • 31 Posts
  • 412 Comments
Joined 1 year ago
cake
Cake day: January 21st, 2025

help-circle

  • setup with no need of complex licenses, it would be interesting

    It doesn’t seem like you need any licensing, it’s like a walkie talkie.

    it could prove as a useful city project for cheap, reliant, local communications

    I’m not sure if that’s the right usecase. Meshtastic seems to be for short-range, line-of-sight-ish communication. Apparently, you can set up repeaters to expand the coverage area, but it seems like buildings, trees, etc will dramatically affect the signal strength. (I think?)











  • Harden your server first

    Do you have any tutorials or guides on this handy?

    Use your router/server to block some counties using geoip

    Yeah, definitely all my users are in the same town/region/country as me. So this could be doable.

    Configure rate limits in Nginx

    Hm, currently using Caddy as my reverse proxy. I guess there’s some module for this.

    only open ports in your firewall you really want to open

    The only port I need open is 443 for accessing Jellyfin and Immich. I can definitely block 22 from the public internet. And fuck it no automatic redirects from 80 to 443. TLS or bust.


  • I am kinda interested in WireGuard, but how does it work with multiple non-PC devices on different networks? Tailscale runs seamlessly on my Arch laptop, but Android, TVs, and streaming sticks have hiccups from time to time.

    I have services that I want to share with my non-techie family. If a service stops working, they suck at debugging and fixing the issue on their own.





  • I missed this part during my first read:

    This screen allows you to customise which fields are displayed in the currently selected window. Use cursor keys (or Alt + j and k) to move up and down this list, d to toggle whether a field is displayed and s to choose the field by which the window is sorted.

    and when I tried it, it seemed like my commands weren’t doing anything… so in case anyone else finds this helpful…

    How to sort columns in top.

    • Launch top
    • Press f (not SHIFT+F)
    • Use arrow keys or alt+j / alt+k to select a column
    • Press s to sort by the column you’ve currently selected
      • note: you won’t get any obvious feedback, this is normal… I guess
      • look at the top line: whose current sort field is $COLUMN_NAME
      • this line will change when you press s
    • Press q to exit the Fields Management screen
    • Selected column should now be sorted from largest to smallest

    At this point, top may not look like it sorted the selected column. It may be helpful to tell top to highlight the currently sorted column. Press x to do this.

    Now it should be easier to tell which column was sorted.


  • Wait… what?

    $ top --version
    top from procps-ng 4.0.5-dirty
    

    The following utilities are provided by procps:

    • free - Report the amounts of free and used memory in the system
    • hugetop - Report hugepage usage of processes and the system as a whole
    • kill - Send a signal to a process based on PID
    • pgrep - List processes based on name or other attributes
    • pkill - Send a signal to a process based on name or other attributes
    • pmap - Report the memory map of a process
    • ps - Report process information including PID and resource usage
    • pwdx - Report the current working directory of a process
    • skill - Obsolete version of pgrep/pkill
    • slabtop - Display kernel slab cache information in real time
    • snice - Renice a process
    • sysctl - Read or write kernel parameters at run-time
    • tload - Graphical representation of system load average
    • top - Dynamic real-time view of running processes
    • uptime - Display how long the system has been running
    • vmstat - Report virtual memory statistics
    • w - Report logged in users and what they are doing
    • watch - Execute a program periodically, showing output fullscreen

    https://gitlab.com/procps-ng/procps

    Oh, so these guys manage top and a few other common utilities.