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

    $50 Linux binary compatablity with linux_base

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    5 Posts 4 Posters 5.3k 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.
    • V Offline
      Vaevictus
      last edited by

      Hello,

      I need to make a custom pfsense image that will actually execute linux binaries, as I need to make a pfsense server that can run some commercial software that is only available on linux.

      I have tested the application I need on normal freebsd 6.3 that has linux compat and it works fine.

      So, $50 for a release of pfsense that will run a linux branded binary.

      Regards,
      Craig

      1 Reply Last reply Reply Quote 0
      • E Offline
        eri--
        last edited by

        pkg_add -r linux_base-f7

        1 Reply Last reply Reply Quote 0
        • V Offline
          Vaevictus
          last edited by

          Hi all,

          LOL I wish it was as easy as that mate but it took a lot of work for non unix guy like myself.

          For those that want to know how to do this:

          follow the guide on how to set up a build environment for pfsense (on the wiki) but before you do a ./cvsup_current, you need to modify the pfsense.6 kernel config file to enable linux compatability in the kernel. pfSense.6 is in tools/builder_scripts/conf.

          add an options line for COMPAT_LINUX and while you are at it, add any other stuff you want like NETSMB, SMBFS etc

          go ahead with the cvsup_current step now and the freesbie scripts will build you your pfSense kernel with compat support.

          You still need to add the linux libraries to pfsense.

          For this, you have to go to /usr/ports/emulators/linux_base-fc4 and do a make install, then move the /compat folder that is created into your pfSense file system for inclusion on the CD

          Hope that helps,

          Craig

          1 Reply Last reply Reply Quote 0
          • D Offline
            dingo
            last edited by

            [Why do you need linux compat… is there another means to duplicate what u want to do with BSD software

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Especially since a lot of "commercial" linux software doesn't exactly run well on FreeBSD in linux-compatibility mode.

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