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

    Installing curl package on embedded 2.2?

    2.2 Snapshot Feedback and Problems - RETIRED
    2
    2
    1.5k
    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.
    • U
      Utterly
      last edited by

      First of all, wanted to just say how awesome pfsense is.  I'm evaluating it to switch from my existing Asus N16.  The performance on a N2930 powered Jetway  is phenomenal (90Mb/s Openvpn=30% on one core)  I do have one more thing to solve before I can replace my router, though;  I use a PIA VPN, and you need a script to handle automatic port forward updates.  I see a recent openssh is included in 2.2's nanobsd, which is one prerequisite, but I know curl isn't.  Although fetch is included, from what I can tell (and you can correct me if I'm wrong,) it won't do a "post" method, like "curl -d"

      Having a post method is really useful for scripts having remote communication to web enabled applications, generally.  I'm intending to support pfsense if I can get this working in a production sense.

      I'm basically an low-intermediate linux user, although that's mostly with ubuntu.  I understand that "sideloading" packages into the embedded pfsense isn't supported, per se, and I'm prepared to fix whatever might break by trying this.

      So, is this possible, and if so, could you give me some pointers on how I might achieve it?

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

        See the 2.2 section here:
        https://doc.pfsense.org/index.php/Installing_FreeBSD_Packages

        pkg install curl
        

        On NanoBSD you will need to switch the disk to RW first.
        https://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write

        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.