# IT

13 posts

  1. Troubleshooting pfSense DHCP High Availability

    A checklist for when pfSense DHCP failover keeps breaking: matching VIP and skew settings, failover peer IPs, and checking logs and port 519.

  2. When Available Packages Don't Show Up in pfSense (feat. "libssl.so.30" not found)

    After upgrading pfSense to 2.7.2, Available Packages was empty and pkg couldn't find libssl.so.30. Switching the update branch to 2.7.0 fixed it.

  3. FastAPI WebSockets with Uvicorn and Nginx (Including Reverse Proxy)

    Issues hit moving a FastAPI WebSocket chat from local to production: SSL handshake errors under Uvicorn and 404s behind Nginx without Upgrade headers.

  4. Accessing a Raspberry Pi Installed at a Client Site

    Reach a Raspberry Pi inside a client's internal network without port forwarding, using SSH reverse tunneling (ssh -R) from the Pi to an external server.

  5. Fixing Broken Korean Locale on Ubuntu

    Korean text shows up garbled in the Proxmox web terminal, unlike over SSH. Installing locales and setting ko_KR.UTF-8 in /etc/default/locale fixes it.

  6. How to Use the Python Logger

    How to configure Python's logging module with basicConfig and getLogger to control log format and level across modules, and why to configure before import.

  7. Controlling Bluetooth with Python on Ubuntu

    A Python script that drives bluetoothctl and hcitool on Ubuntu to check every 30 seconds and reconnect a Bluetooth audio module when it drops.

  8. Database Lab - CHAR vs NUMERIC vs TIME

    Benchmarking HH:MM time storage in PostgreSQL 13 as CHAR(4), two NUMERIC columns, or TIME: TIME was fastest and the split NUMERIC columns the slowest.

  9. How Does Google Say to Write Docstrings?

    What Google's Python Style Guide says on when and how to write docstrings, compared with MIT's lessons on specs, and why docstrings are part of building code.

  10. Using HP OfficeJet Scan to Network Folder with an Ubuntu Server

    HP OfficeJet scan to a Samba share on Ubuntu kept failing; Samba logs and the man page showed the fix: server min protocol = NT1 in smb.conf.

  11. Using PyCharm Remotely

    How to set up PyCharm Professional's SSH Interpreter so code written on a Windows desktop runs on a remote Linux server, plus folder sync and Deployment.

  12. When Do Linux Init Scripts Run?

    Comparing three ways to run a script at boot on Linux: crontab @reboot, rc.local, and an init.d service. Syslog shows they run as init.d, crontab, rc.local.

  13. Let's Build Our Own Speedtest Server

    After failing to self-host an Ookla Speedtest Mini server, I set up LibreSpeed on a local web server and tested it from the browser and from librespeed-cli.