LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Proxy details for Debian (https://www.linuxquestions.org/questions/linux-newbie-8/proxy-details-for-debian-850689/)

tmccar 12-16-2010 11:05 AM

Proxy details for Debian
 
I'm installing Debian on VMplayer and getting "bad archive" when installing the packages so I assume it's not connecting to the internet. I can see what our company uses as a proxy configuration file (.pac) in Internet Explorer Options. How can I present this information to Debian? It's asking for proxy details in the format "http://[[user] [:pass] ]@[host:]:port}/

ilvista 12-16-2010 02:55 PM

on firefox

Edit->Preferences->Advanced->setting ->Automatic proxy configuration URL
enter the script location and select the "Reload" button

ilvista 12-16-2010 02:58 PM

if it doesn't work try to use a generic proxy pac configuration file
read this http://www.yolinux.com/TUTORIALS/Lin...iguration.html

TobiSGD 12-16-2010 02:59 PM

Quote:

Originally Posted by ilvista (Post 4193964)
on firefox

Edit->Preferences->Advanced->setting ->Automatic proxy configuration URL
enter the script location and select the "Reload" button

How does this help when the OP tries to install packages?


@tmccar: I think asking your tech guys would be the easiest way.

tmccar 12-17-2010 04:40 AM

Proxy for details Debian install
 
I'm not referring to the proxy for Firefox or IE. This is when /i'm installing Debian and it loads the packages from the mirror. Should I enter the details here (host, username etc) or leave it blank?

ilvista 12-17-2010 06:04 AM

yes leave it blank,and you can set up the proxy settings after the installation is finished.

http://www.vmware.com/pdf/GuestOS_guide.pdf

TobiSGD 12-17-2010 09:40 AM

Do you use the netinstall or CD1 for installing? If it is netinstall, you have to fill out the proxy field, or you will get a really basic CLI-system. I think you really should ask your tech guys for help, then.
If you use the CD1 you can do it like ilvista mentioned, but be aware that you will not be able to install extra software or make updates, until you have given the correct proxy data to apt.

markush 12-17-2010 11:47 AM

Hi,

systemwide setting of the proxyserver
Code:

export http_proxy="xxx.xxx.xxx.xxx:port"
afaik a proxy.pac script is configured the same way
Code:

export http_proxy="http://xxx.xxx.xxx.xxx/proxy.pac"
for ftp:
Code:

export ftp_proxy="xxx.xxx.xxx.xxx:port"
where of course xxx.xxx.xxx.xxx is the ipadress of the proxyserver or the script respectively and port is the portnumber.

Markus

tmccar 12-17-2010 03:10 PM

Quote:

Originally Posted by markush (Post 4194948)
Hi,

systemwide setting of the proxyserver
Code:

export http_proxy="xxx.xxx.xxx.xxx:port"
afaik a proxy.pac script is configured the same way
Code:

export http_proxy="http://xxx.xxx.xxx.xxx/proxy.pac"
for ftp:
Code:

export ftp_proxy="xxx.xxx.xxx.xxx:port"
where of course xxx.xxx.xxx.xxx is the ipadress of the proxyserver or the script respectively and port is the portnumber.

Markus

Thanks for your help - I am assuming this would be entered in a terminal session. But I am having a problem at the install stage. Are you familiar with the install screens, right at the start of the install, where it asks for proxy details? Then it goes and polls the mirrors for the packages? Well, I am getting "bad archive" or similar, so I am assuming that I need to enter proxy details on the line referred to above.
I may be wrong - maybe there's another reason I can't connect to the Internet.

markush 12-17-2010 03:23 PM

Well, I would try
Code:

http://user:password@proxy:port
but I don't have any experience with the installationprocess which you are performing.

Markus


All times are GMT -5. The time now is 10:33 PM.