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

    Linux compatibility on pfsense 2.0

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    9 Posts 3 Posters 3.5k 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.
    • B
      beo
      last edited by

      Hi all,

      I'm trying to run a pair of linux binaries (static compiled) on pfsense 2.0, last updated RC3. Googling I found this :

      http://forum.pfsense.org/index.php?topic=25331.0
      http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-install.html

      First problem, I tried to load the linux.ko of FreeBSD 8.0 and 8.1, and :

      kldload: can't load linux.ko: No such file or directory

      I don't know what to do, any ideas ?

      Thanks in advance,

      1 Reply Last reply Reply Quote 0
      • B
        beo
        last edited by

        Nobody knows anything ? or it's a TABOO ??  :o

        1 Reply Last reply Reply Quote 0
        • B
          beo
          last edited by

          I tried the whole process with pfsense 1.2.3 (stable version) and I was able to run linux binaries.
          On pfsense 2.0, I can't load linux.ko, the first step, I suppose that the "COMPAT LINUX" is disabled on the kernel ?? or am I wrong?  :'(

          Now I have, a pfSense 2.0RC3 running with vlans, openvpn servers, and all of the rest of the configuration. Gives me an enormous laziness and sadness back to a previous version :'(

          Any ideas ??

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            You could try copying linux.ko from a FreeBSD 8.1 installation to the appropriate place on your pfSense box.

            pfSense is intended to be a firewall, not a place to run "random" applications. That's probably why the standard distribution doesn't seem to include the FreeBSD support for running Linux binaries.

            1 Reply Last reply Reply Quote 0
            • B
              beo
              last edited by

              I tried linux.ko from FreeBSD 8.1 and FreeBSD 8.0, not works.
              On pfsense 1.2.3 with linux.ko from FreeBSD 7.2 works ok.

              My idea is to run two linux apps that save me a physical machine.  ???

              1 Reply Last reply Reply Quote 0
              • W
                wallabybob
                last edited by

                Some linux apps can be built to run on FreeBSD. Have you looked for a FreeBSD port or package?

                1 Reply Last reply Reply Quote 0
                • B
                  beo
                  last edited by

                  @wallabybob:

                  Some linux apps can be built to run on FreeBSD. Have you looked for a FreeBSD port or package?

                  I haven't the source code of these apps

                  1 Reply Last reply Reply Quote 0
                  • F
                    focalguy
                    last edited by

                    @beo:

                    My idea is to run two linux apps that save me a physical machine.  ???

                    How about virtuals? You could install VMWare ESXi on the physical machine and then have pfsense and another linux machine all on the same hardware. This way you wouldn't risk compromising your firewall with other applications and you would still only be using one physical machine.

                    1 Reply Last reply Reply Quote 0
                    • B
                      beo
                      last edited by

                      @focalguy:

                      @beo:

                      My idea is to run two linux apps that save me a physical machine.  ???

                      How about virtuals? You could install VMWare ESXi on the physical machine and then have pfsense and another linux machine all on the same hardware. This way you wouldn't risk compromising your firewall with other applications and you would still only be using one physical machine.

                      It's a Pentium 4 - 2,8Ghz - 1GB RAM - 40 GB HDD

                      Very Bad for ESXi

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