[TriLUG] /etc/enviornment and proxy servers

Wayne Henley wayne at wh175.com
Mon May 23 12:57:21 EDT 2005


Maybe $BIGCOMPANY is using a proxy similar to a netcache, where 
different users can be provided with different permissions, or they are 
blocking the CONNECT method for HTTP proxy?

Who can say...

Just my .02

Wayne

Greg Brown wrote:

>This problem was solved by using a different login name and password. 
>I have no idea how the proxy server will let my username and pw out by
>setting the proxy server in Firefox, mozilla, and IE on XP, but not
>from the command line to do apt-gets, yums, etc.  Very strange.
>
>But I was finally able to run my apt-get using someone else's login
>(ssshhhh!! that part is a secret).
>
>Greg
>
>On 5/22/05, Neil Roeth <neil at occamsrazor.net> wrote:
>  
>
>>On May 20, Greg Brown (gwbrown1 at gmail.com) wrote:
>> > I'd like to get apt-get working from within $BIGCOMPANY.  As it
>> > stands, there is a proxy.  If memory serves, and google is correct, I
>> > should be able to put the following line into /etc/enviornment and
>> > have my apt-get be able to hop onto the Internet and grab files:
>> >
>> > http_proxy="http://<username>:<password>@proxy.company.com:8080/proxy/"
>> >
>> > However, this does not work.  Does anyone have any ideas why not?
>> >
>> > Greg
>>
>>I just saw this message; I see you got some responses but I did not see any
>>that said you had solved it yet.  I used to do the following, not in
>>/etc/environment, but from the command line before executing any apt-get
>>command:
>>
>>export http_proxy='http://<username>:<password>@proxy.company.com:8080'
>>
>>and it worked.  I'm not sure why you have the trailing "/proxy/" at the end of
>>your definition, it wasn't necessary for mine.  Also, a trailing slash was NOT
>>necessary.  I'd also double check that you have the correct proxy machine name
>>and port number.
>>
>>HTH
>>
>>--
>>Neil Roeth
>>--
>>TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
>>TriLUG Organizational FAQ  : http://trilug.org/faq/
>>TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>>TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>>
>>    
>>




More information about the TriLUG mailing list