Solved freebsd-update use with proxy

hello

what is the correct way to use freebsd-update command behind proxy ?

i tryed :
Code:
env http_proxy=http://10.0.0.1:8080/ freebsd-update fetch
with no luck.
 
freebsd-update(8) uses fetch(1) to get the patches and so you should be able to proxy it quite easily.

What is the error you're getting? Errors are important because different issues result in different errors. Knowing the exact error is therefor an indication where to look.
 
thanks for your replys ,for some strange reason the above command i posted now works fine.
last 2 days i was getting error messages "Fetching metadata signature...failed"
 
I have the following in my .cshrc on all machines:

Code:
#setenv HTTP_PROXY http:// ... whatever ... /

if ($?HTTP_PROXY) then
   if (! $?FTP_PROXY) then
      setenv FTP_PROXY $HTTP_PROXY
   endif
   setenv http_proxy $HTTP_PROXY
endif

if ($?FTP_PROXY) then
   setenv ftp_proxy $FTP_PROXY
endif

With that you only uncomment and fill the first line once, and you are covered for practically all software that uses proxies.
 
Back
Top