Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Firmware update via non-internetconnected method
« previous
next »
Print
Pages: [
1
]
Author
Topic: Firmware update via non-internetconnected method (Read 1001 times)
Ricardo
Full Member
Posts: 233
Karma: 12
Firmware update via non-internetconnected method
«
on:
March 02, 2023, 04:58:34 pm »
Hello folks!
Is there a way to download the installer packages on another machine, and transfer it to the opnsense machine via USB or similar transfer method. So in case the opnsense machine has no internet access during the update (for whatever reason you can imagine), the update could still be initiated using the files transferred to the opnsense machines filesystem, instead of going out to the internet for the download?
Checking the docs for the Update section did not reveal any such details.
«
Last Edit: March 02, 2023, 05:00:18 pm by Ricardo
»
Logged
alex303
Jr. Member
Posts: 50
Karma: 6
Re: Firmware update via non-internetconnected method
«
Reply #1 on:
March 02, 2023, 05:34:30 pm »
You need to make a list of installed packages on the machine you want to update manually by typing this from terminal:
Code:
[Select]
pkg info >list.txt
This will create a file list.txt that contains names of all packages installed on your system. Stick a USB flash drive, mount it, and copy list.txt. Unmount it, and stick it into another machine with internet connection. From that machine go to
https://pkg.opnsense.org/
and select a directory matching the version you have installed on the machine that you want to update. Download all packages listed in your list.txt and put them on your flash drive.
Once done, get back to machine you want to update. Stick your flash in it, mount it, change directory to one that contains all your .pkg files you manually downloaded and run:
Code:
[Select]
pkg add *.pkg
Logged
Ricardo
Full Member
Posts: 233
Karma: 12
Re: Firmware update via non-internetconnected method
«
Reply #2 on:
March 02, 2023, 06:05:28 pm »
What about the base-23.1.xxx , kernel-23.1.xxx , and packages-23.1.<INSERT SSL FLAVOR HERE> files?
Logged
alex303
Jr. Member
Posts: 50
Karma: 6
Re: Firmware update via non-internetconnected method
«
Reply #3 on:
March 02, 2023, 07:57:06 pm »
I see the files for 22.1 version
https://pkg.opnsense.org/FreeBSD:13:amd64/22.1/sets/
but nothing after that. Perhaps someone else can chime in.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Firmware update via non-internetconnected method