OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: REH on February 07, 2023, 02:46:53 PM

Title: DEC2750 won't update OPNsense
Post by: REH on February 07, 2023, 02:46:53 PM
Hello everyone,

A few years ago I bough a DEC2750 from OPNsense, that I recently got to hook up to my homelab. I have reset the box to factory settings and can ping 8.8.8.8 from opnsense, but when I try to update the system I get the bellow message. Also I have no internet on my laptop when connected directly to the LAN port on the DEC2750

How can I get it to update?


***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 21.7.1 (amd64/OpenSSL) at Tue Feb  7 13:37:26 UTC 2023
Fetching changelog information, please wait... done
Updating OPNsense repository catalogue...
pkg: https://opnsense-update.deciso.com/FILL-IN-YOUR-LICENSE-HERE/FreeBSD:12:amd64/21.7/latest/meta.txz: Forbidden
repository OPNsense has no meta file, using default settings
pkg: https://opnsense-update.deciso.com/FILL-IN-YOUR-LICENSE-HERE/FreeBSD:12:amd64/21.7/latest/packagesite.txz: Forbidden
Unable to update repository OPNsense
Error updating repositories!
pkg: Repository OPNsense cannot be opened. 'pkg update' required
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***


Rune
Title: Re: DEC2750 won't update OPNsense
Post by: ThomasHamel on February 07, 2023, 03:41:24 PM
Hello REH,

maybe you had a business license for OPNsense according to the log (.../FILL-IN-YOUR-LICENSE-HERE/...).

Look into System -> Firmware -> Settings -> Type.

When you have the selection "Business", try to change that to "Community".
Then press "Save" and try to update.


Regards

Thomas
Title: Re: DEC2750 won't update OPNsense
Post by: chemlud on February 07, 2023, 03:47:50 PM
QuoteAlso I have no internet on my laptop when connected directly to the LAN port on the DEC2750

But apparently you reach the GUI, so that should be your LAN port. Firewall rule for LAN in place? DNS working?
Title: Re: DEC2750 won't update OPNsense
Post by: REH on February 07, 2023, 07:51:11 PM
Quote from: ThomasHamel on February 07, 2023, 03:41:24 PM
Hello REH,

maybe you had a business license for OPNsense according to the log (.../FILL-IN-YOUR-LICENSE-HERE/...).

Look into System -> Firmware -> Settings -> Type.

When you have the selection "Business", try to change that to "Community".
Then press "Save" and try to update.


Regards

Thomas

Thank you Thomas! You where correct, needed to change to Community. Tried my old license code, but i guess it was expired.
Title: Re: DEC2750 won't update OPNsense
Post by: REH on February 07, 2023, 07:55:30 PM
Quote from: chemlud on February 07, 2023, 03:47:50 PM
QuoteAlso I have no internet on my laptop when connected directly to the LAN port on the DEC2750

But apparently you reach the GUI, so that should be your LAN port. Firewall rule for LAN in place? DNS working?

As far as I can see the automated rules are there for the LAN and I have put 8.8.8.8 as the DNS under general system settings.
Any idea as to where I should look next?
Title: Re: DEC2750 won't update OPNsense
Post by: chemlud on February 07, 2023, 08:25:39 PM
ping google.com works?

What is in WAN? Connection up and running?
Title: Re: DEC2750 won't update OPNsense
Post by: REH on February 07, 2023, 08:45:18 PM
Quote from: chemlud on February 07, 2023, 08:25:39 PM
ping google.com works?

What is in WAN? Connection up and running?

All works now.

Somehow I missed that my pc was connecting through an old network configuration that was not setup as automatic.  ::)