LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-11-2014, 11:46 PM   #1
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Rep: Reputation: Disabled
Question proxy settings for apt-get problems


This may sound simple at first, but it's far from simple. At my college, we have a really weird proxy setup. I used the
Code:
Aquire::http::Proxy "http://DOMAIN\USERNAME:PASSWORD@PROXYADDRESS:PORT/";
in a /etc/apt/apt.conf file that I created, and a 0Proxy file in the apt.conf.d folder. Nothing worked. The repositories are unblocked, but apt-get cannot connect. Because of this, my system still had the bash flaw. It cannot update whatsoever. I really don't want to have to go off campus for this (it's an inconvenience).

This is via my phone because the wifi shuts off at 11:30pm central time(us).

Thanks ahead of time.
 
Old 11-12-2014, 01:26 PM   #2
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
Our wifi also has a configuration file for auto config proxys (.dat) and a security certificate.
 
Old 11-12-2014, 03:56 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
You need to read the actual proxy file and use the server ip and ports named in it.

Usual warning about asking admin too applies.
 
Old 11-12-2014, 11:48 PM   #4
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
How would all of that be used? Where does what go, and how?
 
Old 11-13-2014, 02:58 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
You may be able to use export. https://help.ubuntu.com/community/AptGet/Howto
http://askubuntu.com/questions/41693...behind-a-proxy


Linux hasn't seemed to get proxies working very well globally in the OS. But, you can try it first too.

Putting in the correct ip's and names associated with proxy may work too.

So, you tend to have to make a file edit to each app that uses the proxy. You need the real ip address and port not any aquire statement.

Without knowing what the system is I can't even say if they allow apt to use ports.

Last edited by jefro; 11-13-2014 at 03:03 PM.
 
  


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] Proxy settings in network system settings missing rsciw Linux - Desktop 1 01-14-2013 08:31 AM
Unable to connect to proxy server though wi fi connection active proxy settings ok ncpanicker Linux - Wireless Networking 3 04-11-2011 03:27 AM
mandriva 2007 proxy settings - no proxy.cfg file. shankhs Mandriva 7 06-17-2009 06:27 AM
problems with apt-get, synaptic and proxy ernesto_cgf Ubuntu 11 04-30-2008 02:29 AM
proxy settings for apt? h/w Linux - Software 0 09-26-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:36 PM.

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
Open Source Consulting | Domain Registration