meliton / KMS-on-pfSense

Add a KMS server in your pfSense firewall appliance
20 stars 8 forks source link

Issue on latest OPNSense 20.7 #1

Closed unhappytroll closed 4 years ago

unhappytroll commented 4 years ago

Log:

================================================================

> ----------------------------------------------
> |      Hello, this is OPNsense 20.7          |         @@@@@@@@@@@@@@@
> ----------------------------------------------
> admin@OPNsense:~ % sudo curl -L meliton.github.io/kms2pfsense.sh | sudo sh
> Password:
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100  3276  100  3276    0     0  10049      0 --:--:-- --:--:-- --:--:-- 10080
> 
> ======= CHECKING for compatible device
>  PASSED - Running on FreeBSD
>  PASSED - Hardware platform is amd64
>  FAILED - Wrong OS version. Not at least 11.xx

==================================================================

Current OPNsense using FreeBSD 12.x, I believe you are just checking for 11.x, but not for any higher number in

# check for OS version 11.xx or higher
case "$(uname -r 2>/dev/null | grep -c "11." )" in

Current workaround is to create a local file and change 11 to 12, ofc, vlmcsd working just fine, no need to recompile it.

meliton commented 4 years ago

Thanks @unhappytroll for info. I updated the installer to include checks for 11.xx and 12.xx. Keep on KMS'ing