View previous topic :: View next topic |
Author |
Message |
alexandreonline n00b
Joined: 17 Jun 2004 Posts: 19 Location: Brasilia, Brasil
|
Posted: Tue Jun 22, 2004 7:43 pm Post subject: Set Proxy durring instalation |
|
|
Hi everybody,
I try to install gentoo behind a proxy. and when I try to execute mirrorselect or emerge sync, I get no answer. The links web browser works perfectly, after I set the proxy server on his configuration. How can I configure gentoo to use proxy for these applications (emerge and mirrorselect)? |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Tue Jun 22, 2004 10:14 pm Post subject: |
|
|
Hi!
Your proxy needs to be able to use the CONNECT method on port 873 to support rsync (emerge sync).
To define the proxy execute the following commands:
Code: | prompt# export RSYNC_PROXY="yourproxy:proxyport"
prompt# export http_proxy="http://yourproxy:proxyport/"
prompt# export ftp_proxy="http://yourproxy:proxyport/" |
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
h0mer`- Apprentice
Joined: 02 Aug 2004 Posts: 215
|
Posted: Fri Aug 04, 2006 7:03 am Post subject: |
|
|
that is cool but to which file does it go? i dont want to type that every time i rebooted my gentoo... |
|
Back to top |
|
|
mamac l33t
Joined: 29 Feb 2004 Posts: 890
|
Posted: Fri Aug 04, 2006 12:44 pm Post subject: |
|
|
It doesn't go in any file, just use the export command.
By the way, I can't use proxy authentication with links, where do I specify username and password?
I specified them in export command, but I guess links doesn't handle export as I have to -http-proxy. _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
|
rizzurant Tux's lil' helper
Joined: 20 Feb 2006 Posts: 83 Location: Indonesia
|
Posted: Sat Aug 05, 2006 6:58 am Post subject: |
|
|
emerge-webrsync ?
i use stage 3, and portage use wget to fetch the distfiles
so just add proxy setting
cmiww |
|
Back to top |
|
|
h0mer`- Apprentice
Joined: 02 Aug 2004 Posts: 215
|
Posted: Wed Aug 09, 2006 12:58 pm Post subject: |
|
|
putting them in the wgetrc doesnt work for me...neither does putting them into the make.conf
okay i type the export command and everything works...but i dont want to type it every single time i reboot my linux... maybe its just me but where does export put this information.... and i dont want to make an extra file for it.... |
|
Back to top |
|
|
mamac l33t
Joined: 29 Feb 2004 Posts: 890
|
Posted: Wed Aug 09, 2006 1:22 pm Post subject: |
|
|
I created a script for export but it doesn't seem to work.
export command didn't make links to authenticate to the proxy during installation process, I managed to download stage and portage in another way.
Now that the system is installed, I can use links to browse the internet without using export or configuring network in links Does it use proxy settings of firefox? _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
|
hilde n00b
Joined: 09 Jun 2004 Posts: 42 Location: Buggenhout, Belgium
|
|
Back to top |
|
|
|