James McDonald

Unifi cli commands for UDM / USG

UDM CLI COMMAND TO CHECK CONNECTIONS Unifi uses Strongswan for its IPSec VPN tunnels https://www.strongswan.org/ So check the documentation https://docs.strongswan.org/docs/5.9/swanctl/swanctl.html Check all IPSec Tunnels ipsec statusall To restart ipsec ipsec restart...

MFC-J4540DW – Does not support duplex scanning

Just tried to do 2 sided scanning with my MFC-J4540DW Brother printer. (AUD $329) Unfortunately this printer doesn't have - 2 sided scan settings option which should appear under Scan Settings in the iPrint&Scan application To get 2-sided scanning in the...

Virtualize Disks with Disk2VHD

To do a physical to virtual https://learn.microsoft.com/en-us/sysinternals/downloads/disk2vhd You can choose either to create in VHDX or VHD To convert VHDX to VHD If you create the disk in VHDX format and want to run it in Virtual Box you will need to convert it to...

[Solved] Event Id 4101 Several Times per day

TLDR; Try swapping to another video card. I built a small form factor PC https://toggen.com.au/it-tips/pc-build/ with a Gigabyte GeForce GT 710 Passive 2GB graphics card and have been using it with 2 displays. I am running it with Windows 11 Several times a day the...

CakePHP 4 – Logging to Syslog

The documentation at https://book.cakephp.org/4/en/core-libraries/logging.html#logging-to-syslog recommends logging to Syslog in production by adding the following snippet to config/bootstrap.php Log::setConfig('default', [ 'engine' => 'Syslog' ]); If you add a prefix...

Malware Removal

https://www.hitmanpro.com/en-us/hmp Malware removal product. Leaving this here so I can find it again in future if needed

blobfuse2 Setup

BlobFuse2 is a Microsoft maintained utility to mount a remote Azure Storage Account Blob Container or folder into the Linux file system and then interact with it as if it was local. You need some directories to serve as a cache and mount point. You could put them...

Ubuntu 22.04 Stuck on curtin command in-target

Just doing an install on VMWare 5.5 of Ubuntu 22.04 and have been seeing curtin command in-target for over an hour. I selected to update the installer before beginning the install and selected the standard server install (not the "minimal") When I select View full...

UDM – IPS

I was trialing a site-to-site IPSec VPN between an Azure two NIC PFSense intance and my UDM (See image) I found that when I was trying to reach www.postfix.org with browser or ping I couldn't. I thought it was something to do with have a PFSense / UDM s2s VPN I tried...

Azure pfsense

Things I learn't while installing the pfsense The VHD for import into Azure has to be specially configured. A good blog article with screen shots is https://www.christofvg.be/2019/01/12/pfSense-on-Azure-Part-1-Create-pfSense-Virtual-Machine/ VHD format, Fixed Size...

Digital Ocean

The good news is Digital Ocean has a Sydney data centre. The bad news is they only support Linux workloads (unless you bring a custom image) They're a great option if you don't want to pay a premium to Azure or AWS