The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Need to update ports from behind proxy
Author: Dave Bechtel 
Date:   12-05-05 19:23

I did the usual searches on this (google, searching the diary) but have been unable to come up with a good answer that will also help other people.

I have a central Linux server running Squid (port 3128); also using PC-BSD 0.6 (freebsd with KDE) on a laptop with a static IP address on both sides.

The proper environment vars in tcsh are set in ~/.cshrc:
[[
setenv FTP_PROXY http://10.0.0.5:3128/
setenv HTTP_PROXY http://10.0.0.5:3128/
]]

' pkg_add -r ' works, but cvsup fails with a hostname lookup error:
[[
Name lookup failure for "cvsup13.FreeBSD.org": Host name lookup failed
Will retry at 14:24:59
]]

--I got around it by temporarily installing an additional PCMCIA Ether card and bypassing the Squid server (long story) but there is another user on the PC-BSD forum that is having the same issue.

--Is there a way to update the ports tree using Squid? TIA.

Reply To This Message
 
 Re: Need to update ports from behind proxy
Author: Ben 
Date:   02-06-05 17:30

I do not know if this will work but you could try setting DNS to go through the proxy as well.


-Ben

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org