working behind a proxy/firewall
Paul.Newman at pgen.com
Paul.Newman at pgen.com
Mon Jul 24 12:12:58 BST 2000
Thanks to Nik and Martin for the responses. Here's how I did it in the end, and
this works for ports and pkg_add -r. I read man fetch and figured it out from
there. Of all the places!
1. configure networking - add the interface by using /stand/sysinstall to find
the DHCP server and configure the ip address (incidentally it's a bit strange
but I have to do this every time I reboot as ifconfig -a shows I dont have an IP
address - even though sysinstall is recording the IP address of the DHCP server
and making a record of it in my config files (forgotten where). That shouldnt be
the case, should it? After I come out of /stand/sysinstall and do ifconfig -a
then the IP address has been fetched.
2. export the following environment variables
# being the IP address and port number of the HTTP proxy server
# you can tell if you need the basic bit by running mozilla and see if it asks
for your username and password for basicrealm if
# you try to go somewhere after telling it your proxy IP number and password.
After basic is your proxy server's IP address
# and port number.
This sets you up for using the HTTP proxy. According to man fetch, HTTP proxies
can also handle FTP.
For good measure I added the following (They might not be needed but I havent
tried it without them)
# being the same address and port as the http proxy server
FTP_PASSWORD=my.email at my.domain
# my proxy server passes an illegal email address to ftp servers otherwise
(user at localhost)
#dunno what that does
This seems to work for fetching stuff using ports now.
By the way, I installed 4.0 release and then applied the 4.0-update package to
update my ports collection to the latest one. Now I have not been successful in
doing a make install of some packages - compiles fail (enlightenment 0.16-3)or
it claims the makefile is not tarrying with the source (sawmill/sawfish - yes I
can provide the exact output if needed). Is that sort of stuff common with ports
or could it be me? Should I email the maintainer if this happens?
________________________ Disclaimer Notice ____________________________
This E-mail message is private and confidential and should only be read
by those to whom it is addressed.
If you are not the intended recipient, you are hereby notified that any
dissemination, distribution, copying, reproduction, modification or
publication of this communication is strictly prohibited. Please delete
the message from your computer and destroy any copies.
This message is not intended to be relied upon by any person without
subsequent written confirmation of its contents. This company therefore
disclaims all responsibility and accepts no liability of any kind which
may arise from any person acting, or refraining from acting, upon the
contents of the message without having had subsequent written
If you have received this communication in error, or if any problems
occur in transmission please notify us immediately by telephone on
+44 (0)24 76 424000
More information about the Ukfreebsd