I'm using a Slackware 14 VirtualBox guest on Windows 7 behind a work proxy. Having battled a bit with network settings I've gotten to the point where I can browse the web in Firefox by using the proxy.pac script URL in LAN settings.

My question is how can I set up commandline packages (slackpkg and R in particular) which require the physical proxy address rather than using URL to download content. I can't figure out what the proxy address is that I should update /etc/profile with.

What am I missing here?


If firefox uses the desired proxy, then you can get the Proxy's IP and port. As root:

netstat -t -n -p | grep firefox
  • works perfectly - simple answer and easy to implement in a script. thanks – gareth_t Jul 17 '13 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.