Technical Posts
A collection of mostly IT centric posts from the last ~20 years
Articles
Latest
Run a command every 2 minutes Monday to Friday SystemD OnCalendar Snippet in a Specific Timezone
Just tried to check an OnCalendar snippet based on syntax mentioned on another website and it errored out systemd-analyze calendar 'Mon..Fri *-*-* *:*/2:00 Australia/Sydney' Failed to parse calendar specification 'Mon..Fri *-*-* *:*/2:00 Australia/Sydney': Invalid...
Add a SystemD Service to Run at 4:30PM Australia/Sydney time when the server is set to UTC
I have a server set to the UTC time zone. It is running near Sydney and reports are sent to east coast users every day at 4:30PM When I add a cron job I have to convert from Australia/Sydney time and specify the runtime in UTC time. When daylight savings takes effect...
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...