I need to access the internet using a proxy server, which requires my windows username and password. I'm having trouble getting this to work: strangely, apt, systems update etc works just fine, whereas browsers, and possibly other applications too, fail.
I configured my /etc/apt/apt.conf and /etc/environment according to some very helpful posts on these forums. My apt.conf is
But when I use the equivalent syntax in /etc/environment (omitting the "Acquire::"), firefox and chrome won't connect; in fact they pretty much hang. For the moment, I'm running without the doman\user and password in /etc/environment and firefox does eventually come back with a request for the username and password, and then seems to get something back from the server before stopping again. To be clear, as I dropped the user & password from /etc/environment as it wasn't helping, I now get this in a terminal
The issue may be that I'm running under a virtual machine, under virtualbox to be precise (I've seen the same issue with vmware as well). I'm using 12.04 and have seen the same problems with unity and with classic gnome, which I'm running now.
tony@precise:~$ echo $http_proxy
I can't change the network settings in windows, but my feeling is that virtualbox (using the NAT option) should behave just like a regular windows application from the proxy server's point of view. This view is supported by the fact that apt works without any problems whatsoever (and when I used the alternate installer, I typed in the proxy server settings during the installation process, and the installer was able to download all the updates during installation).
I've also tried running chrome using the command-line proxy-server setting and configuring firefox Edit/Preferences network connection to be the same as in my host Windows Tools/Options, but this doesn't seem to help.
My knowledge of networking is very limited, so the following may not be at all relevant, but in case it helps I get the following in a terminal.
hopefully someone can point me in the right direction.
tony@precise:~$ host google.com
google.com has address 126.96.36.199
google.com has address 188.8.131.52
google.com has address 184.108.40.206
google.com has address 220.127.116.11
google.com has address 18.104.22.168
google.com has address 22.214.171.124
google.com has address 126.96.36.199
google.com has address 188.8.131.52
google.com has address 184.108.40.206
google.com has address 220.127.116.11
google.com has address 18.104.22.168
google.com has IPv6 address 2a00:1450:4009:805::1005
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.