Re: i4b/ppp Probleme

From: Boris Staeblow <balu(at)dva.in-berlin.de>
Date: Thu, 6 Jul 2000 16:00:01 +0200

On Thu, Jul 06, 2000 at 09:38:17AM +0200, J Wunsch wrote:
> As Boris Staeblow wrote:
>
> > Die ppp-logs sind irgendwie nicht so eindeutig fuer mich.. :-(
> > Fuer mich sieht das so aus, als wenn CHAP nicht akzeptiert wird.
> > CHAP muss aber bei diesem Provider sein!
>
> Da wäre ich mir nach diesem Log aber nicht mehr so sicher... Es ist
> nämlich die Gegenseite, die CHAP ablehnt, während Deine Seite es immer
> wieder fordert.
>
> > Jul 5 23:25:20 dva ppp[55551]: tun0: LCP: deflink: RecvConfigRej(1) state = Req-Sent
> > Jul 5 23:25:20 dva ppp[55551]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
>
> Übersetzung: Deine Gegenseite schickt Dir ein configure reject für das
> Protokoll CHAP.

Dann habe ich das wenigstens richtig verstanden.

So, wenn ich mich jetzt aber mit i4b normal wie bisher einwaehle, funktioniert
alles wunderbar. Sprich: Chap wird sehr wohl akzeptiert, nur halt mit
Userland-ppp nicht!

$ spppcontrol isp0

isp0: phase=dead
        myauthproto=chap myauthname="dva"

Hier mal zum Vergleich ein tcpdump von isp0 nach der Einwahl:
(wirklich gleicher Provider!)
------------------------------------------------------------------------------
Script started on Thu Jul 6 15:41:28 2000
tcpdump: listening on isp0
ID-050 LCP: Configure-Request, Magic-Number=1865731503
ID-001 LCP: Configure-Request, Max-Rx-Unit=1524, Auth-Prot CHAP/MD5, \
            Multilink-MRRU, Multilink-ED, Link-Discriminator
ID-001 LCP: Configure-Reject, Multilink-MRRU, Multilink-ED, Link-Discriminator
ID-050 LCP: Configure-Ack, Magic-Number=1865731503
ID-002 LCP: Configure-Request, Max-Rx-Unit=1524, Auth-Prot CHAP/MD5
ID-002 LCP: Configure-Ack, Max-Rx-Unit=1524, Auth-Prot CHAP/MD5
ID-001 CHAP: Challenge, Value=a5135130ba8a21a7f277fe7f0f9bbd3a, Name=zebra
ID-001 CHAP: Response, Value=d05dfc5523841d42bac4c912e7c82e11, Name=dva
ID-001 CHAP: Success
ID-051 IPCP:
192.109.21.110.2278 > 192.109.42.4.domain: 20282+ A? gnu.in-berlin.de. (34)
ID-001 IPCP: IP-Compression-Protocol
ID-001 IPCP: IP-Compression-Protocol
ID-001 CCP:
ID-052 LCP: Protocol-Reject
ID-051 IPCP:
ID-002 IPCP: IP-Address=192.168.42.7
ID-002 IPCP: IP-Address=192.168.42.7
192.109.21.110.2279 > 192.109.42.4.domain: 20282+ A? gnu.in-berlin.de. (34)
192.109.42.4.domain > 192.109.21.110.2279: 20282* 1/5/5 A 192.109.42.4 (263)
192.109.21.110 > 192.109.42.4: icmp: echo request
192.109.42.4 > 192.109.21.110: icmp: echo reply
192.109.21.110 > 192.109.42.4: icmp: echo request
192.109.42.4 > 192.109.21.110: icmp: echo reply
^C
24 packets received by filter
0 packets dropped by kernel
-----------------------------------------------------------------------------

Deshalb bin ich irgendwie ziemlich ratlos.

Boris

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 06 Jul 2000 - 16:03:52 CEST

search this site