Problem.. AutoPPP BSD and PPP (mgetty)
Kornish Game Hen (gtyler@radish.net)
Wed, 3 Dec 1997 18:13:21 -0800
we are trying to get AutoPPP to work on our BSD v2.0 the modem answers and
using a win95 dialup client it works when you bring up a terminal window
and login.. yet if when we try autoPPP it is not getting the username...
log as follows..
from mgetty.log
-- this is the correct section where theproblem is occuring..
12/03 18:09:59 A0c CND: found: 28800/ARQ/V34/LAPM/V42BIS[0a] ** found **
12/03 18:09:59 A0c waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}&}%[e0];[cc]}'}"}(}"}-}#}&[ab][fe]~
12/03 18:10:00 A0c tio_set_flow_control( HARD )
12/03 18:10:00 A0c print welcome banner (/etc/issue)
12/03 18:10:00 A0c getlogname (AUTO_PPP), read:~[ff]}#[c0]!
12/03 18:10:02 A0c input finished with '\r', setting ICRNL ONLCR
12/03 18:10:02 A0c tio_get_rs232_lines: status: CTS DSR DCD
12/03 18:10:02 A0c login: use login config file /usr/local/etc/mgetty+sendfax/login.config
12/03 18:10:02 A0c match: user='/AutoPPP/', key=''
12/03 18:10:02 A0c match: user='/AutoPPP/', key='/FIDO/'
12/03 18:10:02 A0c match: user='/AutoPPP/', key=''
12/03 18:10:02 A0c match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
12/03 18:10:02 A0c login: utmp entry: a_ppp
12/03 18:10:02 A0c calling login: cmd='/usr/bin/ppp', argv[]='ppp'
12/03 18:10:02 ##### data dev=ttyA0c, pid=641, caller=none, conn='28800/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/bin/ppp', user='/AutoPPP/'
Why is it not getting the username ??
the win95 dialup client has been tested and works with other ISPs.
we are using init string "ATE1V1Q0&S0&D2&C1S0=0S13=1"
with USR modems..
thanks
Tyler K
<gtyler@radish.net>
--complete session as follows..
12/03 18:09:28 A0c mgetty: experimental test release 1.1.9-Aug17
12/03 18:09:28 A0c mgetty.c compiled at Nov 21 1997, 15:54:18
12/03 18:09:28 A0c reading configuration data for port 'ttyA0c'
12/03 18:09:28 A0c reading /usr/local/etc/mgetty+sendfax/mgetty.config...
12/03 18:09:28 A0c conf lib: read: 'debug 10'
12/03 18:09:28 A0c conf lib: read: 'fax-id 49 89 1234567'
12/03 18:09:28 A0c conf lib: read: 'speed 57600'
12/03 18:09:28 A0c conf lib: read: 'modem-type data'
12/03 18:09:28 A0c conf lib: read: 'toggle-dtr no'
12/03 18:09:28 A0c conf lib: read: 'init-chat "" \d\d\d+++\d\d\dATE1V1Q0&S0&D2&C1S0=0S13=1 OK'
12/03 18:09:28 A0c key: 'speed', type=0, flags=3, data=57600
12/03 18:09:28 A0c key: 'switchbd', type=0, flags=1, data=0
12/03 18:09:28 A0c key: 'direct', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'blocking', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'port-owner', type=1, flags=1, data=uucp
12/03 18:09:28 A0c key: 'port-group', type=1, flags=1, data=modem
12/03 18:09:28 A0c key: 'port-mode', type=0, flags=1, data=432
12/03 18:09:28 A0c key: 'toggle-dtr', type=3, flags=3, data=FALSE
12/03 18:09:28 A0c key: 'toggle-dtr-waittime', type=0, flags=1, data=500
12/03 18:09:28 A0c key: 'data-only', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'fax-only', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'modem-type', type=1, flags=3, data=data
12/03 18:09:28 A0c key: 'init-chat', type=2, flags=3, data= \d\d\d+++\d\d\dATE1V1Q0&S0&D2&C1S0=0S13=1 OK
12/03 18:09:28 A0c key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
12/03 18:09:28 A0c key: 'modem-check-time', type=0, flags=1, data=3600
12/03 18:09:28 A0c key: 'rings', type=0, flags=1, data=1
12/03 18:09:28 A0c key: 'get-cnd-chat', type=2, flags=0, data=(empty)
12/03 18:09:28 A0c key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
12/03 18:09:28 A0c key: 'answer-chat-timeout', type=0, flags=1, data=80
12/03 18:09:28 A0c key: 'autobauding', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'ringback', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'ringback-time', type=0, flags=1, data=30
12/03 18:09:28 A0c key: 'ignore-carrier', type=3, flags=1, data=FALSE
12/03 18:09:28 A0c key: 'issue-file', type=1, flags=1, data=/etc/issue
12/03 18:09:28 A0c key: 'prompt-waittime', type=0, flags=1, data=500
12/03 18:09:28 A0c key: 'login-prompt', type=1, flags=1, data=@!login:
12/03 18:09:28 A0c key: 'login-time', type=0, flags=1, data=240
12/03 18:09:28 A0c key: 'fido-send-emsi', type=3, flags=1, data=TRUE
12/03 18:09:28 A0c key: 'fax-id', type=1, flags=3, data=49 89 1234567
12/03 18:09:28 A0c key: 'fax-server-file', type=1, flags=0, data=(empty)
12/03 18:09:28 A0c key: 'diskspace', type=0, flags=1, data=1024
12/03 18:09:28 A0c key: 'notify', type=1, flags=1, data=faxadmin
12/03 18:09:28 A0c key: 'fax-owner', type=1, flags=1, data=uucp
12/03 18:09:28 A0c key: 'fax-group', type=1, flags=0, data=(empty)
12/03 18:09:28 A0c key: 'fax-mode', type=0, flags=1, data=432
12/03 18:09:28 A0c key: 'debug', type=0, flags=2, data=8
12/03 18:09:28 A0c key: 'statistics-chat', type=2, flags=0, data=(empty)
12/03 18:09:28 A0c key: 'statistics-file', type=1, flags=0, data=(empty)
12/03 18:09:28 A0c key: 'gettydefs', type=1, flags=1, data=n
12/03 18:09:28 A0c key: 'term', type=1, flags=0, data=(empty)
12/03 18:09:28 A0c check for lockfiles
12/03 18:09:28 A0c checklock: stat failed, no file
12/03 18:09:28 A0c locking the line
12/03 18:09:28 A0c makelock(ttyA0c) called
12/03 18:09:28 A0c do_makelock: lock='/var/spool/uucp/LCK..ttyA0c'
12/03 18:09:28 A0c lock made
12/03 18:09:28 A0c tio_get_rs232_lines: status: CTS DSR
12/03 18:09:28 A0c tss: set speed to 57600 (160400)
12/03 18:09:28 A0c tio_set_flow_control( HARD )
12/03 18:09:28 A0c waiting for line to clear (VTIME), read:
12/03 18:09:29 A0c send: \d\d\d+++\d\d\dATE1V1Q0&S0&D2&C1S0=0S13=1[0d]
12/03 18:09:32 A0c waiting for ``OK''
12/03 18:09:32 A0c got: +++ATE1V1Q0&S0&D2&C1S0=0S13=1[0d]
12/03 18:09:32 A0c CND: +++ATE1V1Q0&S0&D2&C1S0=0S13=1[0d][0a]OK ** found **
12/03 18:09:32 A0c waiting for line to clear (VTIME), read: [0d][0a]
12/03 18:09:32 A0c removing lock file
12/03 18:09:32 A0c waiting...
12/03 18:09:47 A0c select returned 1
12/03 18:09:47 A0c checking lockfiles, locking the line
12/03 18:09:47 A0c makelock(ttyA0c) called
12/03 18:09:47 A0c do_makelock: lock='/var/spool/uucp/LCK..ttyA0c'
12/03 18:09:47 A0c lock made
12/03 18:09:47 A0c waiting for ``RING''
12/03 18:09:47 A0c got: [0d]
12/03 18:09:47 A0c CND: OK[0a]RING ** found **
12/03 18:09:47 A0c send: ATA[0d]
12/03 18:09:47 A0c waiting for ``CONNECT''
12/03 18:09:47 A0c got: [0d]
12/03 18:09:47 A0c CND: RING[0a]ATA[0d]
12/03 18:09:47 A0c CND: ATA[0d][0a]CONNECT ** found **
12/03 18:09:59 A0c send:
12/03 18:09:59 A0c waiting for ``_''
12/03 18:09:59 A0c got: 28800/ARQ/V34/LAPM/V42BIS[0d]
12/03 18:09:59 A0c CND: CONNECT 28800/ARQ/V34/LAPM/V42BIS
12/03 18:09:59 A0c CND: found: 28800/ARQ/V34/LAPM/V42BIS[0a] ** found **
12/03 18:09:59 A0c waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}&}%[e0];[cc]}'}"}(}"}-}#}&[ab][fe]~
12/03 18:10:00 A0c tio_set_flow_control( HARD )
12/03 18:10:00 A0c print welcome banner (/etc/issue)
12/03 18:10:00 A0c getlogname (AUTO_PPP), read:~[ff]}#[c0]!
12/03 18:10:02 A0c input finished with '\r', setting ICRNL ONLCR
12/03 18:10:02 A0c tio_get_rs232_lines: status: CTS DSR DCD
12/03 18:10:02 A0c login: use login config file /usr/local/etc/mgetty+sendfax/login.config
12/03 18:10:02 A0c match: user='/AutoPPP/', key=''
12/03 18:10:02 A0c match: user='/AutoPPP/', key='/FIDO/'
12/03 18:10:02 A0c match: user='/AutoPPP/', key=''
12/03 18:10:02 A0c match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
12/03 18:10:02 A0c login: utmp entry: a_ppp
12/03 18:10:02 A0c calling login: cmd='/usr/bin/ppp', argv[]='ppp'
12/03 18:10:02 ##### data dev=ttyA0c, pid=641, caller=none, conn='28800/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/bin/ppp', user='/AutoPPP/'
12/03 18:10:02 A0c setenv: 'CALLER_ID=none'
12/03 18:10:02 A0c setenv: 'CONNECT=28800/ARQ/V34/LAPM/V42BIS'
---
.