Portsnap behind proxy squid not update

Edgardo Nuevo darknighter at gmail.com
Mon Jun 23 04:01:17 UTC 2008


>> I have a proxy (squid) that gives Internet to a set of pcs, one of
>> them is a FreeBSD 6.2, when wanting to upgrade ports (
>> portsnap fetch)  gives me the messages following:
>>
>> PC1 # fetch portsnap
>
> Did you mean (and actually type) 'portsnap fetch'?
>
I wrong to write


>> But I fail to upgrade ports, then modify the
>> file. cshrc and leave it well
>> # ee. cshrc
>> setenv HTTP_PROXY http://10.0.1.1:3128
>
> No need to specify the port in your case; 3128 is default for HTTP_PROXY.
> Does your proxy server require authentication?  If so, you need to specify
> authorization parameters as outlined in man fetch(3).
>
>> setenv FTP_PROXY ftp://10.0.1.1:3128
>> setenv FTP_PASSIVE_MODE ftp://10.0.1.1:3128
>
My proxy not require authentication.

> BTW, although FTP_PASSIVE_MODE is enabled by setting it to anything other
> than 'no', you probably want to set it to something logical like "YES"
> instead of just re-listing the proxy URL. :-)
>
Sorry, I do not understand ( I am using a tool Translation )

Meet as debug to solve the problem?

Thanks


More information about the freebsd-questions mailing list