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

    How can I add new applications to the embedded firmware?

    Development
    2
    4
    3.8k
    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.
    • P
      pb
      last edited by

      Hi all,
      i am trying to add new apllication to pfsense embedded.
      I'am working in VMWare Developers Edition. Here I added the needed application and everything in working fine.
      Then, within the VMWare environment, I generated the embedded firmware with the command ./build_embedded.sh
      and transfered it to the flash. Everything seemd to be fine, the image was successfully generated, but, after rebooting the Wrap board  I had the surprise to find no new application installed on it.

      How can I add new applications to the embedded firmware (Wrap board) just working in the VMWare environment?
      I'd like to generate a ready to go image for the embedded firmware within VMWare.

      Paolo

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        Look for the text:

        Only include Lighty in packages list

        (cd /var/db/pkg && ls | grep lighttpd) > conf/packages

        …. from build_embedded.sh

        Here is where you can install additional FreeBSD packages.  Simply add the package to the vmware image and modify the above to include the custom package.  For example if you where including mtr (my traceroute) you would do something like:

        Only include Lighty in packages list

        (cd /var/db/pkg && ls | grep lighttpd) > conf/packages
        (cd /var/db/pkg && ls | grep mtr) >> conf/packages

        The package needs to already be installed in the FreeBSD build envonrment via ports or pkg_add.

        Example: pkg_add -r mtr

        1 Reply Last reply Reply Quote 0
        • P
          pb
          last edited by

          Thanks for the answer.
          But this method does not create also the user of which the application has need.
          How I can make this ?

          Paolo

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            Edit the scripts.  You have ALL the source.

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