Dialing into Linux with AutoPPP authetication

Guilherme Isaac Schreiber Litwinski (adler@mrnet.com.br)
Mon, 12 Apr 1999 16:18:03 -0300


Gert Doering wrote:

>
> How do the mgetty and PPP log files look like?
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
>                                                            //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             gert@greenie.muc.de
> fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de

                                 <--------------mgetty log --------------->
04/09 16:49:24 yS3  waiting...
04/09 16:50:40 yS3   checking lockfiles, locking the line
04/09 16:50:40 yS3   makelock(ttyS3) called
04/09 16:50:40 yS3   do_makelock: lock='/var/lock/LCK..ttyS3'
04/09 16:50:40 yS3   lock made
04/09 16:50:40 yS3  waiting for ``RING''
04/09 16:50:40 yS3   got: [0d][0a]RING ** found **
04/09 16:50:40 yS3  send: ATA[0d]
04/09 16:50:40 yS3  waiting for ``CONNECT''
04/09 16:50:40 yS3   got: [0d][0a]ATA[0d][0d][0a]+FDM[0d][0a][0d][0a]CONNECT ** found
**
04/09 16:50:55 yS3  send:
04/09 16:50:55 yS3  waiting for ``
''
04/09 16:50:55 yS3   got:  28800/ARQ/V34/LAPM/V42BIS[0d][0a] ** found **
04/09 16:50:55 yS3   waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!}!} }7}"}&}
}*} } }%}&} ^&T}'}"}(}"}-}#}&[e5][e7]~
04/09 16:50:55 yS3   utmp + wtmp entry made
04/09 16:50:56 yS3   tio_set_flow_control( HARD )
04/09 16:50:56 yS3   getlogname (AUTO_PPP), read:~[ff]}#[c0]!
04/09 16:50:58 yS3   input finished with '\r', setting ICRNL ONLCR
04/09 16:50:58 yS3   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
04/09 16:50:58 yS3   match: user='/AutoPPP/', key=''
04/09 16:50:58 yS3   match: user='/AutoPPP/', key=''
04/09 16:50:58 yS3   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
04/09 16:50:58 yS3   login: utmp entry: a_ppp
04/09 16:50:58 yS3   utmp + wtmp entry made
04/09 16:50:58 yS3   calling login: cmd='/usr/sbin/pppd', argv[]='pppd auth login +pap
-chap modem crtscts proxyarp lock'
04/09 16:50:58 ##### data dev=ttyS3, pid=443, caller=none,
conn='28800/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

04/09 16:50:58 yS3   setenv: 'CALLER_ID=none'
04/09 16:50:58 yS3   setenv: 'CONNECT=28800/ARQ/V34/LAPM/V42BIS'
                          <--------------mgetty log --------------->


                          <-------------PPP log -------------------->
Apr  8 17:25:42 adler kernel: PPP: version 2.2.0 (dynamic channel allocation)
Apr  8 17:25:42 adler kernel: PPP Dynamic channel allocation code copyright 1995
Caldera, Inc.
Apr  8 17:25:42 adler kernel: PPP line discipline registered.
Apr  8 17:25:42 adler kernel: registered device ppp0
Apr  8 17:25:42 adler pppd[444]: pppd 2.3.3 started by LOGIN, uid 0
Apr  8 17:25:42 adler pppd[444]: Using interface ppp0
Apr  8 17:25:42 adler pppd[444]: Connect: ppp0 <--> /dev/ttyC0
Apr  8 17:25:45 adler pppd[444]: Can't open PAP password file /etc/ppp/pap-secrets: No
such file or directory
Apr  8 17:25:45 adler pppd[444]: Connection terminated.
Apr  8 17:25:46 adler pppd[444]: Exit.

Apr  9 16:10:35 adler pppd[450]: pppd 2.3.3 started by a_ppp, uid 0
Apr  9 16:10:35 adler pppd[450]: Using interface ppp0
Apr  9 16:10:35 adler pppd[450]: Connect: ppp0 <--> /dev/ttyS3
Apr  9 16:10:35 adler pppd[450]: Warning - secret file /etc/ppp/pap-secrets has world
and/or group access
Apr  9 16:10:38 adler pppd[450]: Warning - secret file /etc/ppp/pap-secrets has world
and/or group access
Apr  9 16:10:38 adler pppd[450]: PAP authentication failure for marcelo
Apr  9 16:10:38 adler pppd[450]: Connection terminated.