mgetty & AutoPPP
Tom Reinertson (treinertson@uswest.net)
Tue, 31 Aug 1999 10:04:03 -0500
I'm trying to set up a dial in server which will be used by Windows
users for FTP and HTTP and I would like the connection procedure to be
as simple as possible for them. Namely, that they create a new
connection and enter the phone number, username, and password and the
rest is automatic -- just like their ISP.
I'm using the mgetty bundled in RedHat 6.0 (1.1.14) and I also picked up
Mick Dennis' document, Dialing Into Linux with Windows 95. I followed
these
instructions very carefully, but it doesn't work as advertised. If I
have Windows open a terminal window after dialing and enter the username
and password manually then pppd starts on the server and I can exit the
terminal window and the connection is made. But I cannot make the whole
thing happen automatically without user intervention. Windows just
reports
"Unable to make network connection." and terminates the connection.
My Linux mgetty log file follows. Any suggestions will be greatly
appreciated.
Tom
--
08/31 08:41:31 yS0 mgetty: experimental test release 1.1.14-Apr02
08/31 08:41:31 yS0 check for lockfiles
08/31 08:41:31 yS0 checklock: no active process has lock, will remove
08/31 08:41:31 yS0 locking the line
08/31 08:41:31 yS0 makelock(ttyS0) called
08/31 08:41:31 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
08/31 08:41:31 yS0 lock made
08/31 08:41:31 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
08/31 08:41:31 yS0 lowering DTR to reset Modem
08/31 08:41:32 yS0 tss: set speed to 57600 (10001)
08/31 08:41:32 yS0 tio_set_flow_control( HARD )
08/31 08:41:32 yS0 waiting for line to clear (VTIME), read:
[0a][0a]OK[0a][0a]
08/31 08:41:32 yS0 send: \dATQ0V1H0[0d]
08/31 08:41:32 yS0 waiting for ``OK''
08/31 08:41:32 yS0 got: ATQ0V1H0[0d]
08/31 08:41:32 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
08/31 08:41:33 yS0 send: ATS0=0Q0&D3&C1[0d]
08/31 08:41:33 yS0 waiting for ``OK''
08/31 08:41:33 yS0 got: [0d]
08/31 08:41:33 yS0 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
08/31 08:41:33 yS0 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
08/31 08:41:33 yS0 waiting for line to clear (VTIME), read: [0d][0a]
08/31 08:41:33 yS0 removing lock file
08/31 08:41:33 yS0 waiting...
08/31 08:41:51 yS0 select returned 1
08/31 08:41:51 yS0 checking lockfiles, locking the line
08/31 08:41:51 yS0 makelock(ttyS0) called
08/31 08:41:51 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
08/31 08:41:51 yS0 lock made
08/31 08:41:51 yS0 waiting for ``RING''
08/31 08:41:51 yS0 got: [0d]
08/31 08:41:51 yS0 CND: OK[0a]RING ** found **
08/31 08:41:51 yS0 waiting for ``RING''
08/31 08:41:51 yS0 got: [0d]
08/31 08:41:51 yS0 CND: RING[0a]
08/31 08:42:01 yS0 timeout in chat script, waiting for `RING'
08/31 08:42:01 ##### phone stopped ringing (rings=1)
08/31 08:42:01 yS0 waiting for line to clear (VTIME), read:
08/31 08:42:02 yS0 removing lock file
08/31 08:42:02 yS0 waiting...
08/31 08:42:23 yS0 select returned 1
08/31 08:42:23 yS0 checking lockfiles, locking the line
08/31 08:42:23 yS0 makelock(ttyS0) called
08/31 08:42:23 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
08/31 08:42:23 yS0 lock made
08/31 08:42:23 yS0 waiting for ``RING''
08/31 08:42:23 yS0 got: [0d][0a]RING ** found **
08/31 08:42:23 yS0 waiting for ``RING''
08/31 08:42:23 yS0 got: [0d]
08/31 08:42:23 yS0 CND: RING[0a][0d][0a]RING ** found **
08/31 08:42:29 yS0 CND: check no: 'none'
08/31 08:42:29 yS0 send: ATA[0d]
08/31 08:42:29 yS0 waiting for ``CONNECT''
08/31 08:42:29 yS0 got: [0d]
08/31 08:42:29 yS0 CND: RING[0a]ATA[0d]
08/31 08:42:29 yS0 CND: ATA[0d][0a]CONNECT ** found **
08/31 08:42:52 yS0 send:
08/31 08:42:52 yS0 waiting for ``_''
08/31 08:42:52 yS0 got: 57600[0d]
08/31 08:42:52 yS0 CND: CONNECT 57600
08/31 08:42:52 yS0 CND: found: 57600[0a] ** found **
08/31 08:42:52 yS0 waiting for line to clear (VTIME), read:
~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}&}!}?[bf][84]}'}"}(}"}-}#}&73~
08/31 08:42:52 yS0 looking for utmp entry... (my PID: 765)
08/31 08:42:52 yS0 utmp + wtmp entry made
08/31 08:42:53 yS0 tio_set_flow_control( HARD )
08/31 08:42:53 yS0 print welcome banner (/etc/issue)
08/31 08:42:53 yS0 getlogname (AUTO_PPP), read:~[ff]}#[c0]!
08/31 08:42:55 yS0 input finished with '\r', setting ICRNL ONLCR
08/31 08:42:55 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
08/31 08:42:55 yS0 login: use login config file
/etc/mgetty+sendfax/login.config
08/31 08:42:55 yS0 match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
08/31 08:42:55 yS0 login: utmp entry: a_ppp
08/31 08:42:55 yS0 looking for utmp entry... (my PID: 765)
08/31 08:42:55 yS0 utmp + wtmp entry made
08/31 08:42:55 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -chap +pap login kdebug 7 debug'
08/31 08:42:55 ##### data dev=ttyS0, pid=765, caller='none',
conn='57600', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
08/31 08:42:55 yS0 setenv: 'CALLER_ID=none'
08/31 08:42:55 yS0 setenv: 'CONNECT=57600'
--
08/31 08:42:58 yS0 mgetty: experimental test release 1.1.14-Apr02