From: Ruben Beltran del Rio Date: Sun, 21 Jan 2024 13:11:39 +0000 (+0100) Subject: Update learning file X-Git-Url: https://git.r.bdr.sh/rbdr/txt/commitdiff_plain/c57b0f384d921b6e365d429289b06bcd5180b5ad?hp=1260b987aba09650e21a367fd558a657f687db35 Update learning file --- diff --git a/learning.md b/learning.md index d99df73..e9e6074 100644 --- a/learning.md +++ b/learning.md @@ -1,3 +1,5 @@ +2024-01-18: MacPPP with modem initialization options works much better than ZTerm + FreePPP, and allows 115200 baud. You just have to set the modem to initialize with AT, and then dial PPP. +2024-01-17: Mastodon will NOT auto-clean the media directory, which can quickly bubble in size, and you can't ask sidekiq to deal with this so you need to set a cron job. A systemd.timer can handle both cases. 2024-01-16: With dnsmasq + tailscale you can easily combine your home lab with a remote server and make management a lot easier without exposing some services to the web. A local dnsmasq running on raspberry pi can make sure all local services have a nice name, and then can point an internal url to the vps. In firewalld you need to block connections unless they come from your 100.0.0.0/8 block. 2024-01-16: You don't actually need the users in unix in some situations, you can use an arbitrary number of the id and if the other system expects it, then it will work. In fact, you can "sudo" into that if runas_allow_unknown_id (then run sudo -u \#9999 ) 2024-01-15: SELinux provides restrictions to files I wasn't aware of, and can prevent execution in some contexts. With eza you can view it with -Z.