Re: cannot connect to Internet...http proxy?
Alle 05:44, giovedì 11 agosto 2005, perikillo ha scritto: > On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert > > <[EMAIL PROTECTED]> wrote: > > perikillo <[EMAIL PROTECTED]> writes: > > > In my work, we connect to the internet over one http proxy > > > (squid) running on fedora, with windows(98/2k/xp) we dont have any > > > problem to acces to the outside. I have my user and password, the > > > proxy have the IP: 192.168.1.2 Port 3128 > > > > > > I need to access to the internet to update my system because i > > > only download the mini-iso, and i need to update ports and kernel, i > > > need to install some packages, but went the /stand/sysinstall ask me > > > how i want to connect to the internet i chose HTTP Proxy, them he ask: > > > > > > Please enter the address of the http proxy in this format: > > > hostname: port (the ':port' is optional, default is 3128 ) > > > > > >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and > > > password, and say: > > > > > > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD > > > /snapshots/i386/5.3-RELEASE please check URL and try again" > > > > > > We use one DHCP server with windows that give the IP, i receive the > > > IP, but still cannot connect my freebsd box to the internet, some docs > > > say that if we receive our IP address from some DHCP we dont need to > > > worry about the DNS. I dont have nothing on /etc/resolv.conf > > > > > > Our subnet is W.X.2.Z --> my IP is 192.168.2.22 > > > > > > I forget something?, i need to ask something more to the person is > > > in charge of the Internet access? > > > > > > I really need to setup freebsd, because we need to test some > > > software before next friday. Hope you could help me, thanks. > > > > Set the HTTP_PROXY environment variable. > > See "man 3 fetch". > >Ok, i still have problems connecting my freebsd 5.3 to the outside, > i read man 3 fetch and have this examples: > > man 3 fetch > EXAMPLES > To access a proxy server on proxy.example.com port 8080, set the > HTTP_PROXY environment variable in a manner similar to this: > >HTTP_PROXY=http://proxy.example.com:8080 > > If the proxy server requires authentication, there are two options > avail- able for passing the authentication data. The first method is by > using the proxy URL: > >HTTP_PROXY=http://:@proxy.example.com:8080 > > The second method is by using the HTTP_PROXY_AUTH environment > variable: > >HTTP_PROXY=http://proxy.example.com:8080 >HTTP_PROXY_AUTH=basic:*:: > *** end man 3 fetch* > > Them i add this to my /root/.cshrc > > setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128 > setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128 > >Where 192.168.1.2 is my internal proxy(squid), that let goes out > side, that proxy is begin the firewall, all running on fedora on the > same box, is my setup correct or i didnt understand well? > > I dont get it, it looks very easy, any tip there? Put FETCH_ENV= HTTP_PROXY=http://:@proxy.example.com:8080 FETCH_ENV= FTP_PROXY=http://:@proxy.example.com:8080 in file /etc/make.conf It works for me!! Ciao from Rome Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cannot connect to Internet...http proxy?
On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert <[EMAIL PROTECTED]> wrote: > perikillo <[EMAIL PROTECTED]> writes: > > > In my work, we connect to the internet over one http proxy > > (squid) running on fedora, with windows(98/2k/xp) we dont have any > > problem to acces to the outside. I have my user and password, the > > proxy have the IP: 192.168.1.2 Port 3128 > > > > I need to access to the internet to update my system because i > > only download the mini-iso, and i need to update ports and kernel, i > > need to install some packages, but went the /stand/sysinstall ask me > > how i want to connect to the internet i chose HTTP Proxy, them he ask: > > > > Please enter the address of the http proxy in this format: > > hostname: port (the ':port' is optional, default is 3128 ) > > > >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and > > password, and say: > > > > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD > > /snapshots/i386/5.3-RELEASE please check URL and try again" > > > > We use one DHCP server with windows that give the IP, i receive the > > IP, but still cannot connect my freebsd box to the internet, some docs > > say that if we receive our IP address from some DHCP we dont need to > > worry about the DNS. I dont have nothing on /etc/resolv.conf > > > > Our subnet is W.X.2.Z --> my IP is 192.168.2.22 > > > > I forget something?, i need to ask something more to the person is > > in charge of the Internet access? > > > > I really need to setup freebsd, because we need to test some > > software before next friday. Hope you could help me, thanks. > > Set the HTTP_PROXY environment variable. > See "man 3 fetch". > Ok, i still have problems connecting my freebsd 5.3 to the outside, i read man 3 fetch and have this examples: man 3 fetch EXAMPLES To access a proxy server on proxy.example.com port 8080, set the HTTP_PROXY environment variable in a manner similar to this: HTTP_PROXY=http://proxy.example.com:8080 If the proxy server requires authentication, there are two options avail- able for passing the authentication data. The first method is by using the proxy URL: HTTP_PROXY=http://:@proxy.example.com:8080 The second method is by using the HTTP_PROXY_AUTH environment variable: HTTP_PROXY=http://proxy.example.com:8080 HTTP_PROXY_AUTH=basic:*:: *** end man 3 fetch* Them i add this to my /root/.cshrc setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128 setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128 Where 192.168.1.2 is my internal proxy(squid), that let goes out side, that proxy is begin the firewall, all running on fedora on the same box, is my setup correct or i didnt understand well? I dont get it, it looks very easy, any tip there? Thanks in advanced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cannot connect to Internet...http proxy?
perikillo <[EMAIL PROTECTED]> writes: > In my work, we connect to the internet over one http proxy > (squid) running on fedora, with windows(98/2k/xp) we dont have any > problem to acces to the outside. I have my user and password, the > proxy have the IP: 192.168.1.2 Port 3128 > > I need to access to the internet to update my system because i > only download the mini-iso, and i need to update ports and kernel, i > need to install some packages, but went the /stand/sysinstall ask me > how i want to connect to the internet i chose HTTP Proxy, them he ask: > > Please enter the address of the http proxy in this format: > hostname: port (the ':port' is optional, default is 3128 ) > >I give the IP of my proxy: 192.168.1.2, but he dont ask my user and > password, and say: > > "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD > /snapshots/i386/5.3-RELEASE please check URL and try again" > > We use one DHCP server with windows that give the IP, i receive the > IP, but still cannot connect my freebsd box to the internet, some docs > say that if we receive our IP address from some DHCP we dont need to > worry about the DNS. I dont have nothing on /etc/resolv.conf > > Our subnet is W.X.2.Z --> my IP is 192.168.2.22 > > I forget something?, i need to ask something more to the person is > in charge of the Internet access? > > I really need to setup freebsd, because we need to test some > software before next friday. Hope you could help me, thanks. Set the HTTP_PROXY environment variable. See "man 3 fetch". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cannot connect to Internet...http proxy?
Hi all. In my work, we connect to the internet over one http proxy (squid) running on fedora, with windows(98/2k/xp) we dont have any problem to acces to the outside. I have my user and password, the proxy have the IP: 192.168.1.2 Port 3128 I need to access to the internet to update my system because i only download the mini-iso, and i need to update ports and kernel, i need to install some packages, but went the /stand/sysinstall ask me how i want to connect to the internet i chose HTTP Proxy, them he ask: Please enter the address of the http proxy in this format: hostname: port (the ':port' is optional, default is 3128 ) I give the IP of my proxy: 192.168.1.2, but he dont ask my user and password, and say: "No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD /snapshots/i386/5.3-RELEASE please check URL and try again" We use one DHCP server with windows that give the IP, i receive the IP, but still cannot connect my freebsd box to the internet, some docs say that if we receive our IP address from some DHCP we dont need to worry about the DNS. I dont have nothing on /etc/resolv.conf Our subnet is W.X.2.Z --> my IP is 192.168.2.22 I forget something?, i need to ask something more to the person is in charge of the Internet access? I really need to setup freebsd, because we need to test some software before next friday. Hope you could help me, thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"