Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can we patch the image with these files ourselves?

    Scheduled Pinned Locked Moved Hardware
    9 Posts 3 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lamer01
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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

        L 1 Reply Last reply Reply Quote 0
        • L
          lamer01 @stephenw10
          last edited by

          @stephenw10 what command would be need to install from the install media?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            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

            L 1 Reply Last reply Reply Quote 1
            • L
              lamer01 @stephenw10
              last edited by

              @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).

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by stephenw10

                  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

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    lamer01 @A Former User
                    last edited by

                    @dobby_ I already have a bunch small nuc-style hardware ( i have 4 of them ).

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @lamer01
                      last edited by

                      @lamer01

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.