mgetty multilink ppp problem

"Mike Taylor" (mtaylor@cl-sys.com)
Tue, 4 Jan 2000 12:22:32 -0500


Hi,

I'm having a problem with mgetty (1.1.21) and a multilink ppp device
(external ISDN
TA).  Any help with the following would be greatly appreciated.

I'm using mgetty to facilitate dial-in services on a machine running linux
kernel version
2.2.13.  When I set up the ISDN 'modem' to receive calls, and to NOT use
multilink
ppp, everything works great and I get this in my logfile:

01/02 22:32:38 yS3   got: [0d][0a]RING[0d]
01/02 22:32:38 yS3    CND: RING
01/02 22:32:38 yS3   wfr: rc=0, drn=0
01/02 22:32:38 yS3    CND: check no: 'none'
01/02 22:32:38 yS3  send: ATA[0d]
01/02 22:32:38 yS3  waiting for ``CONNECT''
01/02 22:32:38 yS3   got: ATA[0d]
01/02 22:32:38 yS3    CND: OKATA[0d][0a]CONNECT ** found **
01/02 22:32:39 yS3  send:
01/02 22:32:39 yS3  waiting for ``_''
01/02 22:32:39 yS3   got:  230400[0d]
01/02 22:32:39 yS3    CND: CONNECT 230400
01/02 22:32:39 yS3    CND: found: 230400 ** found **
01/02 22:32:39 yS3   waiting for line to clear (VTIME), read:
[0a]~[ff]}#[c0]!}!}"}
       !}"}&} }*} } }%}&N9B[b2]}1}$}%[dc]}3}-}$219272xxxx[a1][9c]~
01/02 22:32:39 yS3    looking for utmp entry... (my PID: 1966)
01/02 22:32:39 yS3   utmp + wtmp entry made
01/02 22:32:40 yS3   tio_set_flow_control( HARD )
01/02 22:32:40 yS3   print welcome banner (/etc/issue)
01/02 22:32:40 yS3   getlogname (AUTO_PPP), read:~[ff]}#[c0]!
01/02 22:32:42 yS3   input finished with '\r', setting ICRNL ONLCR
01/02 22:32:42 yS3   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
01/02 22:32:42 yS3    login: use login config file
/etc/mgetty+sendfax/login.config
01/02 22:32:42 yS3   match: user='/AutoPPP/', key=''
01/02 22:32:42 yS3   match: user='/AutoPPP/', key='cback'
01/02 22:32:42 yS3   match: user='/AutoPPP/', key='ppp'
01/02 22:32:42 yS3   match: user='/AutoPPP/', key='mtaylor'
01/02 22:32:42 yS3   match: user='/AutoPPP/', key=''
01/02 22:32:42 yS3   match: user='/AutoPPP/', key=''
01/02 22:32:42 yS3   match: user='/AutoPPP/', key='/FIDO/'
01/02 22:32:42 yS3   match: user='/AutoPPP/', key=''
01/02 22:32:42 yS3   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
01/02 22:32:42 yS3   calling login: cmd='/etc/ppp/ppplogin',
argv[]='ppplogin'
01/02 22:32:42 ##### data dev=ttyS3, pid=1966, caller='none', conn='230400',
name='',
       cmd='/etc/ppp/ppplogin', user='/AutoPPP/'
01/02 22:32:42 yS3   setenv: 'CALLER_ID=none'
01/02 22:32:42 yS3   setenv: 'CALLED_ID='
01/02 22:32:42 yS3   setenv: 'CONNECT=230400'
01/02 22:33:03 yS3  mgetty: experimental test release 1.1.21-Jul24

However, when I set my ISDN TA to use multilink PPP as its protocol, things
do not
go as smoothly.  The device answers, but then mgetty just hangs (/AutoPPP/
is never
found during getlogname) until the connection resets.  Here's what it looks
like in the logs:

01/02 16:44:13 yS3   got: [0d][0a]RING[0d]
01/02 16:44:13 yS3    CND: RING
01/02 16:44:13 yS3   wfr: rc=0, drn=0
01/02 16:44:13 yS3    CND: check no: 'none'
01/02 16:44:13 yS3  send: ATA[0d]
01/02 16:44:13 yS3  waiting for ``CONNECT''
01/02 16:44:13 yS3   got: ATA[0d]
01/02 16:44:13 yS3    CND: OKATA[0d][0a]CONNECT ** found **
01/02 16:44:13 yS3  send:
01/02 16:44:13 yS3  waiting for ``_''
01/02 16:44:13 yS3   got:  230400[0d]
01/02 16:44:13 yS3    CND: CONNECT 230400
01/02 16:44:13 yS3    CND: found: 230400 ** found **
01/02 16:44:13 yS3   waiting for line to clear (VTIME), read:
[0a]~[ff]}#[c0]!}!p} },}#}
       ([c0]'}!} } }![f2]-~~[ff]}#[c0]!}!q} },}#}([c0]'}!} } }!cx~~[ff]}#[
       c0]!}!r} },}#}([c0]'}!} } }![d0][86]~~[ff]}#[c0]!}!s} },}#}([c0]'}!
       } } }!A[d3]~~[ff]}#[c0]!}!t} },}#}([c0]'}!} } }![a7]s~~[ff]}#[c0]!}
       !u} },}#}([c0]'}!} } }!6&~~[ff]}#[c0]!}!v} },}#}([c0]'}!} } }![85][
       d8]~~[ff]}#[c0]!}!w} },}#}([c0]'}!} } }!}4[8d]~~[ff]}#[c0]!}!x} },}
       #}([c0]'}!} } }!X[91]~~[ff]}#[c0]!}!y} },}#}([c0]'}!} } }![c9][c4]~
       ~[ff]}#[c0]!}!z} },}#}([c0]'}!} } }!z:~~[ff]}#[c0]!}!{} },}#}([c0]'
       }!} } }![eb]o~~[ff]}#[c0]!}!|} },}#}([c0]'}!} } }!}-[cf]~~[ff]}#[c0
       ]!}!}]} },}#}([c0]'}!} } }![9c][9a]~~[ff]}#[c0]!}!}^} },}#}([c0]'}!
       } } }!/d~~[ff]}#[c0]!}![7f]} },}#}([c0]'}!} } }![be]1~~[ff]}#[c0]!}
       ![80]} },}
01/02 16:44:24 yS3  clean_line: only 500 of 1605 bytes logged
01/02 16:44:24 yS3    looking for utmp entry... (my PID: 1631)
01/02 16:44:24 yS3   utmp + wtmp entry made
01/02 16:44:25 yS3   tio_set_flow_control( HARD )
01/02 16:44:25 yS3   print welcome banner (/etc/issue)
01/02 16:44:25 yS3   getlogname (AUTO_PPP), read:
01/02 16:45:09 ##### failed dev=ttyS3, pid=1631, got signal 1, exiting
01/02 16:45:09 yS3   removing lock file
01/02 16:45:09 yS3  mgetty: experimental test release 1.1.21-Jul24


Again, thank you in advance for your help sorting this out.  Newsgroup
followups
or email to mtayor@cl-sys.com are fine.  I check both.

............................Mike Taylor