Re: proxy usuario en apt-get
Aqui te mando my apt-conf q' funciona bien.
Solo tenes q' escrivir tu proxy y puerto en los lugares indicados y
copiar el file
en "/etc/apt/" bajo el mismo nombre.
gustavo
Robin Ross wrote:
Buenas listeros:
Hola: acabo de instalar el Knoppix 3.2 en mi maquina, ya que me habia
tronado mi Debian, (instale el knoppix por razones de tiempo y
facilidad,), pero yo navego a traves de un proxy y usuario, pero no
se como poder ponerle al apt-get para que reconozca tales, en dselect,
solo me dice como ponerle el proxy y el puerto, pero no como ponerle
el proxy=puerto, y usuario=contraseña, Alguno de ustedes podria
decirme como puedo configurarle al apt-get el proxy, puerto, usuario y
contraseña??
// Options for the downloading routines
Acquire
{
Queue-Mode "host"; // host|access
Retries "0";
Source-Symlinks "true";
// HTTP method configuration
http
{
Proxy "http://wwwproxy.ac.il:8080";
Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
Timeout "120";
Pipeline-Depth "5";
// Cache Control. Note these do not work with Squid 2.0.2
No-Cache "false";
Max-Age "86400"; // 1 Day age on index files
No-Store "false"; // Prevent the cache from storing archives
};
ftp
{
Proxy "ftp://wwwproxy.ac.il:8080";
Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
/* Required script to perform proxy login. This example should work
for tisfwtk */
ProxyLogin
{
"USER $(PROXY_USER)";
"PASS $(PROXY_PASS)";
"USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
"PASS $(SITE_PASS)";
};
Timeout "120";
/* Passive mode control, proxy, non-proxy and per-host. Pasv mode
is prefered if possible */
Passive "true";
Proxy::Passive "true";
Passive::http.us.debian.org "true"; // Specific per-host setting
};
cdrom
{
Mount "/cdrom";
// You need the trailing slash!
"/cdrom/"
{
Mount "sleep 1000";
UMount "sleep 500";
}
};
};
Reply to: