LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2010, 12:05 PM   #1
tmccar
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
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] [ass] ]@[host:]ort}/
 
Old 12-16-2010, 03:55 PM   #2
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Rep: Reputation: 21
on firefox

Edit->Preferences->Advanced->setting ->Automatic proxy configuration URL
enter the script location and select the "Reload" button
 
Old 12-16-2010, 03:58 PM   #3
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Rep: Reputation: 21
if it doesn't work try to use a generic proxy pac configuration file
read this http://www.yolinux.com/TUTORIALS/Lin...iguration.html
 
Old 12-16-2010, 03:59 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by ilvista View Post
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.
 
Old 12-17-2010, 05:40 AM   #5
tmccar
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 12-17-2010, 07:04 AM   #6
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Rep: Reputation: 21
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
 
Old 12-17-2010, 10:40 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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.
 
Old 12-17-2010, 12:47 PM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
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
 
Old 12-17-2010, 04:10 PM   #9
tmccar
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
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.
 
Old 12-17-2010, 04:23 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sound not working properly on Runescape (Java) (Details in post) - Debian GNU/Linux DebianUserfg Linux - Newbie 10 07-03-2011 07:49 PM
Looking for details on the FreeNAS switch to Debian evo2 Debian 2 12-09-2009 03:31 AM
squid proxy details sunlinux Linux - Software 1 02-06-2008 09:30 PM
How prevent squid to send Proxy Server Details? sarajevo Linux - Security 2 06-22-2007 04:31 PM
How do you disable going through a proxy in Debian? sanfran49 Linux - Software 2 02-12-2004 05:14 PM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration