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

    How to install wget and curl on pfsense shell?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 26.0k 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.
    • T
      torontob
      last edited by

      Hi everyone,

      I see that shell is practically stripped of a lot of useful tools. To start with I need wget and curl on shell. How can I install those two?

      apt-get?

      thanks

      1 Reply Last reply Reply Quote 0
      • E
        ericab
        last edited by

        pkg_add -r curl
        
        pkg_add -r wget
        
        1 Reply Last reply Reply Quote 0
        • T
          torontob
          last edited by

          Thank you very much. I shall try that.

          The reason why I want this is a safe reboot method to be able to curl or wget a file which contains instructions like "reboot" or do some other chores. Based on that, after wget grabs the file from my server how can I safely reboot pfSense from shell? would a simple "reboot" in shell be good enough? I am using Compact Flash card so I don't want any data loss to occur.

          Thanks again,

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

            Or just use "fetch" instead of wget/curl.

            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
            • T
              torontob
              last edited by

              Thanks. And safe reboot is?

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