TIL that you can analyze live packets from remote network interfaces in Wireshark with the following command: ssh $SSH_TARGET "tcpdump -w- -U -i $REMOTE_INTERFACE" | wireshark -k -i- It’s essentially three commands glued together in a big pipe. On the left side of the pipe, we have the following...
This article describes how I got a NixOS install working with multiple encrypted ZFS disks. Motivation Skip this part if you don’t care about me. I finally installed NixOS on my (formerly) Arch Linux laptop. Doing so presented a couple of challenges. The biggest one was the fact that it had an...
What is this systemd service I have on my computer? ❯ cat /etc/systemd/system/install-bootloader-on-shutdown.service [Unit] Description=Install bootloader on shutdown DefaultDependencies=no Before=shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=bootctl install...
To lock a drawing tablet to a single monitor, the command is xinput map-to-output $STYLUS $MONITOR where $STYLUS is gottten from xinput: ❯ xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ ... ⎜ ↳ HID 256c:006d Pen Pen (0) id=26 [slave pointer...
Cal Poly’s VPN uses GlobalProtect, but IT doesn’t support Linux. That sucks, because I use Linux most of the time. Instead, OpenConnect seems to work, with the following command: openconnect --protocol=gp cpvpn.calpoly.edu --user=<user> This may need to be run as root. Additionally, it does...