Fatal error: Unknown function: conf_mount_rw() in /etc/inc/pkg-utils.inc ?????



  • I BUY 5 EMBEDDED MACHINE ON NETGATE WEBSITE
    WITH PRELOAD PF 1.2.3-RC2
    built on Tue Jun 23 02:20:04 UTC 2009

    WHEN I ENABLE THE CAPTIVE PORTAL ON LAN INTERFACE RECEIVE THIS ERROR WHEN I TRY TO OPEN A BROWSER PAGE
    Fatal error: Unknown function: conf_mount_rw() in /etc/inc/pkg-utils.inc on line 47

    MACHINE WORK AND SURF GOODLY WITHOUT CAPTIVE ENABLED..

    PLEASE HELP I NEED THIS FOR CLOSE A WORK WITH ONE CLIENT!!



  • Packages are not officially supported on embedded installs:
    Read up on the wiki, the dev-wiki and the packages sub forum.
    There are various guides how you can do a "full install" on an embedded system.
    http://doc.pfsense.org/index.php/Full_Install_on_WRAP_Embedded_Router

    Check you CAPS lock before you post, it’s really annoying and deters people from replying.



  • with version 1.2.2 work goodly the captive.
    tanks for reply.

    sorry for caps !!



  • To anyone who runs into this problem in the future, you can use Diagnostics -> Edit file to open /etc/inc/pkg-utils.inc and towards the top of that file you will see several require_once lines. Add this line with the ones that are there:

    require_once("config.inc");

    then save the changes and that will fix it.

    Once the next official 1.2.3-RC, or shortly after 1.2.3 release is out, you'll want to re-flash with the new nanobsd embedded, which will also fix the problem. Current snapshots also do not have this problem, some that shipped from Netgate with images we provided them.



  • @tommyboy180:

    Packages are not officially supported on embedded installs:
    Read up on the wiki, the dev-wiki and the packages sub forum.
    There are various guides how you can do a "full install" on an embedded system.
    http://doc.pfsense.org/index.php/Full_Install_on_WRAP_Embedded_Router

    Check you CAPS lock before you post, it’s really annoying and deters people from replying.

    Tommy,

    I realize you probably posted this trying to be helpful but you should be more aware before you post something with such definitive tone.

    While it might be true that pf doesn't support packages on embedded it is NOT TRUE of Captive Portal.  Whether Captive is a package or not I'm too noob to know but your post triggered a whole slew of emails between Bill at Netgate and I as I thought he sold me something (m1n1wall) w/ unsupported software and Captive Portal was a primary need in my decision.  As it turns out the whole thing was a FALSE ALARM.

    Point:  Please be more aware and qualify or temper the tone of your posts if you're not a thousand percent sure.  You never know who will read your posts and what context they will be in.  I'm quite sure that your answer was incorrect, btw, as it pertained to appavito as well.
    In the end this cost me a fair bit of time and I'd guess Netgate wasn't too thrilled about it either.

    I wanted to post this also, so if anyone else comes looking they will not be misinformed.
    J.



  • @cmb:

    To anyone who runs into this problem in the future, you can use Diagnostics -> Edit file to open /etc/inc/pkg-utils.inc and towards the top of that file you will see several require_once lines. Add this line with the ones that are there:

    require_once("config.inc");

    then save the changes and that will fix it.

    Once the next official 1.2.3-RC, or shortly after 1.2.3 release is out, you'll want to re-flash with the new nanobsd embedded, which will also fix the problem. Current snapshots also do not have this problem, some that shipped from Netgate with images we provided them.

    Thank you CMB.  That indeed did fix my errors on the CP page.
    Looking forward to 1.2.3 stable but this RC seems to be now working for me well.

    Thanks again.

    J.


Log in to reply