Fetch equivalent to wget
-
I just switched over to pfSense from m0n0wall this past weekend and I am definitely seeing the advantages of doing so. But, I am having a problem with fetch. I use OpenDNS for content filtering (my hardware won't handle pfSense's) and I normally update with a wget cron job from a Linux box. I was trying to use fetch with pfSense but for the life of me couldn't figure out the syntax. I was wondering if anyone could help.
the wget command:
wget -O - -q –http-user=username --http-passwd=password https://updates.opendns.com/nic/update
in return i get:
good my.wan.add.ress#I've tried various things with fetch (with HTTP_AUTH) and all I ever got were errors. I am new to the BSD cli, normally using linux but I would really appreciate any help.
Thanx
-
Should be:
fetch -qo - https://username:pass@updates.opendns.com/nic/update
-
Now I feel dumb, I thought I needed HTTP_AUTH somewhere. Thank you, jimp.