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

    Packages in embedded

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 1.9k 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 Offline
      loproc
      last edited by

      Hi all pfSense users / developers!

      I am working on a project for which I will be running pfSense on a Soekris net-5501 and I am wondering why package installation is totally unavailable when running the embedded version?

      I understand that this is due to the fact that the majority of embedded devices uses CF cards and the majority of packages may require write access, but my point is that that isn't a fair assumption. I realize that the package manager files is included in the embedded version, but not available in the menu - however package installation dosn't seem possible (at least not on 1.2-RELEASE) due to the filesystem being mounted as read-only at /etc/inc/pkg-utils.inc line 373 (fopen function call). Inserting conf_mount_rw(); before this line solves the issue, but I really think that this should be corrected by the developers (who knows a whole lot better than me if this causes problems later on) and included in the embedded distrubution (I don't like doing this sort of hacks myself on production equipment)

      Comments are very welcome!

      Sincerely yours
      Martin Kruse Jensen

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG Offline
        GruensFroeschli
        last edited by

        Since you seem to understand why packages are not officially supported on embedded installs:
        Read up on the wiki, the dev-wiki and the packages subforum.
        There are various guides how you can do a "fullinstall" on an embedded system.
        http://doc.pfsense.org/index.php/Full_Install_on_WRAP_Embedded_Router

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • L Offline
          loproc
          last edited by

          I really don't want to do a full install - since I will be using a CF card and that wouldn't be clever, from a write-wear point of view. The idea is that a many packages don't need to write a whole lot - pftop, sipproxy and nmap would be examples… And I think that it would be fair to allow users to install such packages - perhaps with a big flashy warning message.

          Maybe it would even be possible somehow to detect if the filesystem is a CF card, and skip the warning if it isn't.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            If you are prepared to deal with some of the possible side effects (which you are right might be limited), you can follow this guide from the docs:

            http://doc.pfsense.org/index.php/Installing_packages_on_embedded

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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