AutoPPP question

Marc SCHAEFER (schaefer@alphanet.ch)
Tue, 16 Jun 1998 09:37:02 +0200


Jeffrey R <texan@bay-city.net> wrote:
> /AutoPPP/       -       -       /usr/local/bin/pppd auth require-pap
> refuse-chap login

The one I use:

/AutoPPP/ - a_ppp   /usr/lib/ppp/pppd auth +chap -pap crtscts modem -detach debug

Please verify the path for your pppd. This setup works with notably
MS-WINDOWS'95.

I use a /etc/ppp/chap-secrets config file.

> 1) mgetty does not register the caller as a user /AutoPPP/ and config fails

Check that mgetty was compiled with PPP detection!

> Any help, tips, answers will be greatly appreciated, as I am out of time,
> pateince, and hair on this debug.

I have not understood if your problem is after or before mgetty
launches pppd. Verify this from the mgetty log (maybe augment the
mgetty debug level).

Should look like this:

   06/15 16:11:42 yS2  waiting...
   06/15 16:59:08 yS2    select returned 1
   06/15 16:59:08 yS2   checking lockfiles, locking the line
   06/15 16:59:08 yS2   makelock(ttyS2) called
   06/15 16:59:08 yS2   do_makelock: lock='/usr/spool/uucp/LCK..ttyS2'
   06/15 16:59:08 yS2   lock made
   06/15 16:59:08 yS2  waiting for ``RING''
   06/15 16:59:08 yS2   got: [0d]
   06/15 16:59:08 yS2    CND: OK[0a]RING ** found **
   06/15 16:59:08 yS2  send: ATA[0d]
   06/15 16:59:08 yS2  waiting for ``CONNECT''
   06/15 16:59:08 yS2   got: [0d]
   06/15 16:59:08 yS2    CND: RING[0a]ATA[0d]
   06/15 16:59:08 yS2    CND: ATA[0d][0a]CONNECT ** found **
   06/15 16:59:19 yS2  send: 
   06/15 16:59:19 yS2  waiting for ``_''
   06/15 16:59:19 yS2   got:  14400/ARQ/V32/LAPM/V42BIS[0d]
   06/15 16:59:19 yS2    CND: CONNECT 14400/ARQ/V32/LAPM/V42BIS
   06/15 16:59:19 yS2    CND: found: 14400/ARQ/V32/LAPM/V42BIS[0a] ** found **
   06/15 16:59:19 yS2   waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!}!} }7}}& }* } }}&} }[]}6}'}"}(}"}-}#}&[][c9]~
[ this line was changed to protect the innocent, I don't know what is
  encoded here
 ]
   06/15 16:59:19 yS2    looking for utmp entry... (my PID: 18259)
   06/15 16:59:19 yS2   utmp + wtmp entry made
   06/15 16:59:20 yS2   tio_set_flow_control( HARD )
   06/15 16:59:20 yS2   print welcome banner (/etc/issue.ttyS2)
   06/15 16:59:20 yS2   getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
   06/15 16:59:22 yS2   input finished with '\r', setting ICRNL ONLCR
   06/15 16:59:22 yS2   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
   06/15 16:59:22 yS2    login: use login config file /usr/lib/mgetty//login.config
   06/15 16:59:22 yS2   match: user='/AutoPPP/', key='/FIDO/'
   06/15 16:59:22 yS2   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
   06/15 16:59:22 yS2   login: utmp entry: a_ppp
   06/15 16:59:22 yS2    looking for utmp entry... (my PID: 18259)
   06/15 16:59:22 yS2   utmp + wtmp entry made
   06/15 16:59:22 yS2   calling login: cmd='/usr/lib/ppp/pppd', argv[]='pppd auth +chap -pap crtscts modem -detach debug'
   06/15 16:59:22 ##### data dev=ttyS2, pid=18259, caller=none, conn='14400/ARQ/V32/LAPM/V42BIS', name='', cmd='/usr/lib/ppp/pppd', user='/AutoPPP/'
   
   06/15 16:59:22 yS2   setenv: 'CALLER_ID=none'
   06/15 16:59:22 yS2   setenv: 'CONNECT=14400/ARQ/V32/LAPM/V42BIS'
   --