Linux compatibility on pfsense 2.0



  • 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,



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



  • 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 ??



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



  • 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.  ???



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



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



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



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


Log in to reply