How to install wget and curl on pfsense shell?
-
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
-
pkg_add -r curl pkg_add -r wget
-
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,
-
Or just use "fetch" instead of wget/curl.
-
Thanks. And safe reboot is?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.