Tested between my home machine and my server-on-the-Internet, and…it just worked once I stopped using my usual Debian 10 server and “upgraded” to Ubuntu 20.04. Really good description is here. Significantly easier to configure compared to SoftEther which is what I used before. SoftEther can do much more though, but if all you want isContinue reading “Wireguard VPN”
Category Archives: OS
HTTPS on Synology’s DSM
My NAS is a Synology DS212 and it can do https. But to make it use my own CA’s certificate, a bit extra work is needed: Add my own root CA’s Certificate Use our own TLS Certificate Create certificate DSM → Control Panel → Security → Certificate → Add. Then Configure and use the newContinue reading “HTTPS on Synology’s DSM”
CGroups V2 on Debian
CGroups V2 is not enabled by default on Debian, but it can be enabled easily: To find out which cgroups version you use, this is v1: and this is v2:
Hiding the Mouse Cursor in X
Konsole hides the mouse cursor when typing. This is generally good. But this is Konsole’s behavior and not a general one. I don’t generally want the mouse cursor when typing. So how to remove it? Help comes from an old utility: xbanish. Clone the repo, and assuming you got the needed items to compile, 0.2sContinue reading “Hiding the Mouse Cursor in X”
k3s – local persistent storage
When using k3s and the built-in local persistent storage provider, once in a while you have to edit those files. While that usually works, sometimes you have to replace a 150kB binary file and when containers usually don’t have scp installed, there’s a problem… The fix is to modify the storage from outside the container.Continue reading “k3s – local persistent storage”
Disabling Waking up Computer via Mouse
My Linux machine keeps on waking up someone moves the mouse. Or kicks the table. While it’ll go back to sleep eventually, I’d rather not have it awake unless I want to use it. Disabling mouse events to wake up your computer is surprisingly simple. The thing to know is /proc/acpi/wakeup: XHCx is the USBContinue reading “Disabling Waking up Computer via Mouse”
Crosh and Web Fonts
Crosh, the Crostini shell, uses CSS to render the terminal. Gives you nice capabilities, but it’s also not compatible how normal Linux is configured. Zsh and in particular the PowerLevel10k theme uses Unicode characters quite a bit. So step 1 is using a font which works: Open the crosh terminal Control-Shift-P In the Text FontContinue reading “Crosh and Web Fonts”
Kubuntu 20.04 and Japanese Input
Enabling Japanese Input Method is always something which takes me more time that it should. Here the short version: Install ibus-mozc: apt install ibus-mozc Run im-config (it’s interactive) Log out and back in (all this is only active after re-login). For good measure re-start your X server (Ctrl-Alt-Backspace if enabled). You should now have theContinue reading “Kubuntu 20.04 and Japanese Input”
Fixing DNS Resolver on Kubuntu
systemd is nice in principle, but it does not always improve things. E.g. why does it need a DNS resolver? Fix #1 This will get rid of the initial DNS name not resolvable error I see sometimes: Change /etc/nsswitch.conf and remove in the hosts line the “[NOTFOUND=return]” Fix #2 This removes the local DNS proxy/cache:Continue reading “Fixing DNS Resolver on Kubuntu”