LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   export proxy on Gentoo (virtual machine) (https://www.linuxquestions.org/questions/linux-newbie-8/export-proxy-on-gentoo-virtual-machine-860531/)

LoDam 02-03-2011 02:11 PM

export proxy on Gentoo (virtual machine)
 
Hello LQ,

I'm trying to install Gentoo on a virtual machine (VirtualBox installed on my debian squeeze).

My connexion at home is veeery slow, so I wanted to do it at work (don't judge me!), the thing is I' behinf a proxy.

I tried the command
Code:

export http_proxy="proxy:port"
but couldn't ping anything.
On the other hand, when i use
Code:

links www.google.com -http-proxy host:port
that works...

So i was able to download the stage3 file and start preparing the system, but I have some troubles when it comes to use the provided tools (the tool to add a mirror can't retrieve the list for example, and I guess I could not emerge anything either)

Any idea why the export thing doesn't work, or what I did wrong?

stress_junkie 02-03-2011 02:50 PM

Ping isn't going to use http proxy because it works differently than http. Evidently the ping ICMP ECHO REQUEST does not use a port.

It is possible that your network admin has disabled ICMP from leaving the building.

A network admin would install an http proxy expressly for the purpose of filtering network traffic into and out of the local network. That would explain why other network utilities would not be able to work when trying to go out onto the Internet.

LoDam 02-04-2011 03:29 AM

Ho, I see...
well thank's for the answer!


All times are GMT -5. The time now is 01:57 AM.