[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Proxy auth mit auto-login



Hallo,

ich habe ein Problem mit dem passwortgeschützten Proxyzugang. apt
muß über diesen Proxy (Linux-Rechner: benhur, Proxy squid). Dazu
habe ich
  export http_proxy="http://proxyuser:passw@benhur:8080";
gesetzt ('benhur' kann aufgelöst werden).

Leider funktioniert auto-login nicht. Wenn ich lynx verwende (mit
gleicher $http_proxy) sehe ich folgendes:

  Alert!: Proxy authorization required -- retrying
  Username for 'wwwoffle-proxy' at proxy 'proxyuser':

User und Passwort manuell eingetippt und es geht.

Um apt bzw. dselect ans laufen zubekommen habe ich auch
entsprechende Angaben in /etc/apt/atp.conf gemacht. Leider auch
erfolglos.

So nun daheim, und alles nachgespielt Unterschied: wwwoffle als
Proxy.  Ergebnis: dito !-( Auch hier schaffen es lynx und atp nicht
sich zu authentisieren.

Beispiel mit lynx und Auszügen aus deamon.log (wwwoffled debug):
$ export http_proxy="http://proxyuser:passw@127.0.0.1:8080";
$ lynx http://www.debian.de

wwwoffled[4721]: HTTP Proxy connection from host localhost (127.0.0.1). 
wwwoffled[4721]: Forked wwwoffles -autodial (pid=6087). 
wwwoffles[6087]: HTTP Proxy connection rejected from
                 unauthenticated user. 
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wwwoffled[4721]: Child wwwoffles exited with status 0 (pid=6087). 
wwwoffled[4721]: Currently running: 0 servers total, 0 fetchers. 
wwwoffled[4721]: HTTP Proxy connection from host localhost (127.0.0.1).
wwwoffled[4721]: Forked wwwoffles -autodial (pid=6088). 

$ eingabe von 'user' und 'password' auf der console ...

wwwoffles[6088]: HTTP Proxy connection from user 'proxyuser'. 
wwwoffles[6088]: URL='http://www.debian.de/'. 
wwwoffles[6088]: proto='http'; host='www.debian.de'; path='/';
                 args='(null)'; user:pass='(null):(null)'. 
wwwoffles[6088]: Cache Access Status='Cached Page Used'. 
wwwoffled[4721]: Child wwwoffles exited with status 0 (pid=6088). 
wwwoffled[4721]: Currently running: 0 servers total, 0 fetchers. 

Ich brauche aber ein auto-login?

Das setzen von http_proxy mit 'user' und 'password' sollte den Proxy
doch befriedigen?! Ich habe es schon einmal geschafft die
debian-Kiste über den Proxy (benhur) upzudaten. IMHO genau nach
dieser Methode. Aber nun ...

Scheinbar habe ich ein großes Brett vorm Kopp. Kann jemand helfen es
zu entfernen? Wäre echt dankbar!

cu
Juergen



Reply to: