PAP authentication failure

Justin Burdine (justin@mvfx.com)
Thu, 11 Feb 1999 20:30:16 +0000


anyone know where I can find in-depth PAP auth documentation... for
FreeBSD (suppose it doesn't matter)
I am able to connect to my machine however the PAP authentication
fails.  I have scoured the pppd man page, however I still think that my
pap-secrets file isn't right...

any help would be awesome!
    thanks,    Justin


here is my pap-secrets file

client    server     secret            ip address
*               justin           ""                     10.62.7.2
*               justin                                    10.62.7.3
*               dialup          ""                    10.62.7.4
*               dialup                                   10.62.7.5

    This is a test to see which way would authenticate...  I suppose
none of these is the right way.
the server  name is dialup and I am dialing in from a win95 box called
blueberry... I was confused as to how PAP takes my username and password
from win95 dialup connection and compares it to the /etc/passwd...


here is my mgetty.ttyd0 log

02/11 14:06:36 yd0  mgetty: experimental test release 1.1.16-Jul05
02/11 14:06:36 yd0  check for lockfiles
02/11 14:06:36 yd0   checklock: no active process has lock, will remove
02/11 14:06:37 yd0  locking the line
02/11 14:06:37 yd0   makelock(ttyd0) called
02/11 14:06:37 yd0   do_makelock: lock='/var/spool/lock/LCK..ttyd0'
02/11 14:06:37 yd0   lock made
02/11 14:06:39 yd0   tio_get_rs232_lines: status: RTS CTS DSR DTR
02/11 14:06:39 yd0  lowering DTR to reset Modem
02/11 14:06:40 yd0   tss: set speed to 19200 (45400)
02/11 14:06:40 yd0   tio_set_flow_control( HARD )
02/11 14:06:40 yd0   waiting for line to clear (VTIME), read:
02/11 14:06:40 yd0  send: ATF1[0d]
02/11 14:06:40 yd0  waiting for ``OK''
02/11 14:06:40 yd0   got: ATF1[0d]
02/11 14:06:40 yd0    CND: ATF1[0d][0a]OK ** found **
02/11 14:06:40 yd0   waiting for line to clear (VTIME), read: [0d][0a]
02/11 14:06:40 yd0   removing lock file
02/11 14:06:40 yd0  waiting...
02/11 14:08:32 yd0    select returned 1
02/11 14:08:32 yd0   checking lockfiles, locking the line
02/11 14:08:32 yd0   makelock(ttyd0) called
02/11 14:08:32 yd0   do_makelock: lock='/var/spool/lock/LCK..ttyd0'
02/11 14:08:32 yd0   lock made
02/11 14:08:32 yd0  wfr: waiting for ``RING''
02/11 14:08:32 yd0   got: [0d][0a]RING[0d]
02/11 14:08:32 yd0    CND: RING
02/11 14:08:33 yd0   wfr: rc=0, drn=0
02/11 14:08:33 yd0    CND: check no: 'none'
02/11 14:08:33 yd0  send: ATA[0d]
02/11 14:08:33 yd0  waiting for ``CONNECT''
02/11 14:08:33 yd0   got: ATA[0d]
02/11 14:08:33 yd0    CND: OKATA[0d][0a]CONNECT ** found **
02/11 14:08:44 yd0  send:
02/11 14:08:44 yd0  waiting for ``_''
02/11 14:08:44 yd0   got:  28800/ARQ/V34/LAPM/V42BIS[0d]
02/11 14:08:44 yd0    CND: CONNECT 28800/ARQ/V34/LAPM/V42BIS
02/11 14:08:44 yd0    CND: found: 28800/ARQ/V34/LAPM/V42BIS ** found **
02/11 14:08:44 yd0   waiting for line to clear (VTIME), read:
[0a]~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}&} [c3][97]X}'}"}(}"}-}#}&6[d8]~
02/11 14:08:44 yd0  warning: carrier signal is ignored
02/11 14:08:44 yd0   utmp + wtmp entry made
02/11 14:08:45 yd0   tio_set_flow_control( HARD )
02/11 14:08:45 yd0   print welcome banner (/etc/issue)
02/11 14:08:45 yd0   getlogname (AUTO_PPP), read:~[ff]}#[c0]!
02/11 14:08:47 yd0   input finished with '\r', setting ICRNL ONLCR
02/11 14:08:47 yd0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
02/11 14:08:47 yd0    login: use login config file
/usr/local/etc/mgetty+sendfax/login.config
02/11 14:08:47 yd0   match: user='/AutoPPP/', key=''
02/11 14:08:47 yd0   match: user='/AutoPPP/', key=''
02/11 14:08:47 yd0   match: user='/AutoPPP/', key=''
02/11 14:08:47 yd0   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
02/11 14:08:47 yd0   login: utmp entry: a_ppp
02/11 14:08:47 yd0   utmp + wtmp entry made
02/11 14:08:47 yd0   calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -chap +pap login debug'
02/11 14:08:47 ##### data dev=ttyd0, pid=2523, caller='none',
conn='28800/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd',
user='/AutoPPP/'


--
 Justin Burdine                                    Manex Visual Effects
Data Resource Mgr.                                  (510)864-0600 X7136
                       currently in production
                    'The Matrix' & 'Deep Blue Sea'