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

Re: probl me avec pppd




Stephane Bortzmeyer wrote:

> On Wednesday 28 October 1998, at 10 h 14, the keyboard of Daniel ANDRE
> <iris.technologies@iris-tech.fr> wrote:
>
> > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff40d9> <pcomp>
> > <accomp>]
>
> Vous demandez PAP (normal, vu vos options).
>
> > rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x3cd307> <pcomp> <accomp>
> > <callback 0x600>]
>
> Le machin à fenêtres demande le rappel !
>
> > sent [LCP ConfRej id=0x1 <callback 0x600>]
>
> Vous le refusez.
>
> > rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x3cd307> <pcomp> <accomp>
> ]
>
> Il renonce au rappel et continue.
>
> > sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <magic 0x3cd307> <pcomp> <accomp>
> ]
>
> Vous acceptez.
>
> > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff40d9> <pcomp>
> > <accomp>]
>
> Mais vous insistez pour PAP.
>
> > rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffff40d9> <pcomp>
> > <accomp>]
>
> Il accepte.
>

jusque là j'avais compris

> > rcvd [PAP AuthReq id=0x2 user="USER" password="PASSWD"]
>
> Il *vous* demande de vous authentifier. Ce n'est sans doute pas normal.
>
> Il faudrait la suite, vous avez coupé juste au moment où ça devenait intéressant !

 Je suis d'accord mais ce n'est pas moi qi ai coupe... le log s'arrête là!

Au fait j'utilise ppp-pam (comme suggéré dans les doc et par dselect)
j'ai essayé aussi en changeant le fichier /etc/pam.d/ppp comme suggéré dans un mail
sur debian-user par:
#%PAM-1.0
# Information for the PPPD process with the 'login' option.
auth    required        /usr/lib/security/pam_pwdb.so shadow nullok
auth    required        /usr/lib/security/pam_nologin.so
account required        /usr/lib/security/pam_permit.so
session required        /usr/lib/security/pam_permit.so

et là ça va un peut plus loin:

pppd 2.3.5 started by root, uid 0
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffffa004> <pcomp>
<accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xffffa004> <pcomp>
<accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x19dafe1> <pcomp> <accomp>
<callback 0x602>]
sent [LCP ConfRej id=0x2 <callback 0x600>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0x19dafe1> <pcomp> <accomp>]
sent [LCP ConfAck id=0x3 <asyncmap 0xa0000> <magic 0x19dafe1> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xffffa004]
rcvd [PAP AuthReq id=0x1 user="USER" password="PASSWD"]
user USER logged in
sent [PAP AuthAck id=0x1 "Success"]
write: warning: Input/output error(5)
sent [IPCP ConfReq id=0x1 <addr 192.168.33.254> <compress VJ 0f 01>]
write: warning: Input/output error(5)
sent [LCP EchoReq id=0x1 magic=0xffffa004]
write: warning: Input/output error(5)
Modem hangup
Connection terminated.
Exit.



FROM <dandre@iris-tech.fr>
RCPT <debian-french@lists.debian.org>
BODY
Received: from siris.iris-tech.fr(192.168.0.100) by Scomm via smap (V2.1)
	id xma007602; Wed, 28 Oct 98 12:21:26 +0100
Received: from iris-tech.fr (dan.iris-tech.fr [192.168.0.2])
          by siris.iris-tech.fr (8.8.5/jtpda-5.3) with ESMTP id MAA28387
          for <debian-french@lists.debian.org>; Wed, 28 Oct 1998 12:21:25 +0100
Message-ID: <3636FE34.559D1408@iris-tech.fr>
Date: Wed, 28 Oct 1998 12:21:25 +0100
From: Daniel ANDRE <dandre@iris-tech.fr>
Organization: IRIS Technologies
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Liste de diffusion Debian france <debian-french@lists.debian.org>
Subject: Re: probl me avec pppd


Reply to: