Toggen Blog
Tech tips
Articles
Latest
System Time UTC convert a local time to its UTC time
My system time is UTC and I want to convert from localtime Australia/Sydney to UTC date -u -d 'TZ="Australia/Sydney" 4:30PM' # output Tue 14 Oct 2025 05:30:00 UTC Getting the system timezone timedatectl status Local time: Tue 2025-10-14 07:24:24 UTC Universal time:...
Comprehending Netgate 1100 – Ports and VLAN’s
https://youtu.be/Bp_B79-WLlU?si=gEUiclgOElihCyGu Watch the above This image helps me visualise what is happening when VLANs are configured. Members map to the physical port numbers as follows. Switch Port numbers are listed under Interfaces / Switch / Ports 0 for the...
Identifying the physical drives in Unifi ENVR log messages
This post shows how to: View SATA drive information in Unifi Protect ENVR console or via command line (SSH console) map ataXX device to sdX device (e.g. ata15 to sdc) map sdX to device serial number (e.g. sdc = WD-SERIAL03) Use Unifi Protect Control Panel to map the...
Script to run the MacOS Built-in DHCP Server
For info on how to configure http://www.jacquesf.com/2011/04/mac-os-x-dhcp-server/ DHCP Server Start Stop Script #!/bin/bash # /usr/local/bin/dhcpmgmt.sh function start { sudo /bin/launchctl load -w /System/Library/LaunchDaemons/bootps.plist } function stop { sudo...
Change the display scale on Brave Browser on Arch Linux
I have a 4K screen. The default Brave font display is tiny So to change the display to make it a little bigger first copy the .desktop file to the Desktop cp /var/lib/flatpak/exports/share/applications/com.brave.Browser.desktop ~/Desktop/ then edit the Exec line in...
Add customized certs to XRDP
This replaces the www.xrdp.org cert and adds the ability to connect via DNS Name or IP using Subject Alternative Names. Example of adding subjectAltName so you can connect via mstsc.exe to multiple DNS names and IP Address or Addresses openssl req -x509 -newkey...
