Can we patch the image with these files ourselves?
-
Re: realtek-re-kmod missing in pfSense 2.6 repository?
Anyway to patch the existing image with these files ourselves? I like to have a reproducable way to quickly install pfSense on a new device in case of failure without having to manually manipulate the install.
-
Anything's possible, it's just code!
But not easily. There's no mechanism to include pkgs in an install like that after it's been built.
One thing you could do is put the pkg itself onto the install media. You would still need to copy and install it manually but you would not need network access to do so.
Steve
-
@stephenw10 what command would be need to install from the install media?
-
You can use
pkg add
to install it from a local file just as you do with a remote url that isn't in system pkg repo.Steve
-
@stephenw10 So, theoretically, the whole adding could be scripted. Call pkg add and copy conf file (presumably pre-created and added to image). What directory paths would be available on the mounted usb stick by the time we get to the cmd line at the terminal (after the install wizard is finished I assume).
-
You probably want to put it in the fat32 partition since that's far easier to deal with than anything else. You do have to mount that from the shell in the install though.
-
Anyway to patch the existing image with these files
ourselves?You should perhaps also be able to take and go with supported hardware like intel nics.
I like to have a reproducable way to quickly install
pfSense on a new device in case of failure without
having to manually manipulate the install.I am pretty sure the Realtek drivers were producing some failures and must be swapped out for the actual version
of pfSense and not for ever and on the other side you will
be able to know a workarround given by @stephenw10 -
@dobby_ I already have a bunch small nuc-style hardware ( i have 4 of them ).
-
@dobby_ I already have a bunch small nuc-style hardware ( i have 4 of them ).
Than it makes more sense to prepare an image to install it on all devices that is matching and/or fitting your needs for sure.
I want only to tell you that this is only a situation where
this drivers will be "discard" and they will be later for
sure inside of pfSense again. So nothing really wrong
with pfSense itselfs.