Hi, while this probably still works somehow (though the newest Technitium version requires .NET 9), I was able to make this work a bit easier, as there are official dotnet packages of FreeBSD in the official repositories. The OPNsense repositories do not provide it.
As such, using a separate OPNsense / FreeBSD 14 machine, I was able to fetch dotnet 9 and its required packages with this somewhat:
# Enable FreeBSD repositories
# In /usr/local/etc/pkg/repos/FreeBSD.conf, set this (vi/vim/nano):
# FreeBSD: { enabled: true }
# Search for the newest/desired dotnet version
pkg update
pkg search dotnet
# Use its output, I got dotnet-9.0.10
# Fetch dotnet and its dependencies to a local path
mkdir /tmp/dotnet
pkg fetch -d -o /tmp/dotnet dotnet-9.0.10
--
From there on, transfer over the pkg files to your actual OPNsense host (I did that with scp) and do pkg install on them. On my box, all dependencies were already installed in the same version as I got on my test VM.
You could also just enable FreeBSD repos on your actual OPNsense box outright and install dotnet-9 over there, but I felt that was a bit too risky for my taste. As such, I installed dotnet-9 on my test VM first and made sure Technitium actually ran.
This will probably cause some problems later down the line, as we will probably need to watch the dotnet package once Technitium migrates to dotnet10 or OPNsense goes to FreeBSD 15. Works for the moment, though, with Technitium 14.3
As such, using a separate OPNsense / FreeBSD 14 machine, I was able to fetch dotnet 9 and its required packages with this somewhat:
# Enable FreeBSD repositories
# In /usr/local/etc/pkg/repos/FreeBSD.conf, set this (vi/vim/nano):
# FreeBSD: { enabled: true }
# Search for the newest/desired dotnet version
pkg update
pkg search dotnet
# Use its output, I got dotnet-9.0.10
# Fetch dotnet and its dependencies to a local path
mkdir /tmp/dotnet
pkg fetch -d -o /tmp/dotnet dotnet-9.0.10
--
From there on, transfer over the pkg files to your actual OPNsense host (I did that with scp) and do pkg install on them. On my box, all dependencies were already installed in the same version as I got on my test VM.
You could also just enable FreeBSD repos on your actual OPNsense box outright and install dotnet-9 over there, but I felt that was a bit too risky for my taste. As such, I installed dotnet-9 on my test VM first and made sure Technitium actually ran.
This will probably cause some problems later down the line, as we will probably need to watch the dotnet package once Technitium migrates to dotnet10 or OPNsense goes to FreeBSD 15. Works for the moment, though, with Technitium 14.3
"