mgetty does not answer
Biene (Biene@t-online.de)
Mon, 24 Jan 2000 22:54:47 +0100
Hi,
thank you very much! Your quick answer was very helpful.
We finally made a call, after we concentrated on the modem configuration.
Now we are refused by our Linux Server, during the user and password
authentification period.
Do you have another hint for this problem ?
thank you very much
SaBiene and Britta. :-)
sample call from our /var/log/mgetty.ttyS1
01/25 22:38:39 yS1 mgetty: experimental test release 1.1.19-Nov24
01/25 22:38:39 yS1 check for lockfiles
01/25 22:38:39 yS1 checklock: no active process has lock, will remove
01/25 22:38:39 yS1 locking the line
01/25 22:38:39 yS1 makelock(ttyS1) called
01/25 22:38:39 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
01/25 22:38:39 yS1 lock made
01/25 22:38:40 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
01/25 22:38:40 yS1 lowering DTR to reset Modem
01/25 22:38:40 yS1 tss: set speed to 19200 (016)
01/25 22:38:40 yS1 tio_set_flow_control( HARD )
01/25 22:38:40 yS1 waiting for line to clear (VTIME), read:
01/25 22:38:41 yS1 send: \dATQ0V1H0[0d]
01/25 22:38:41 yS1 waiting for ``OK''
01/25 22:38:41 yS1 got: ATQ0V1H0[0d]
01/25 22:38:41 yS1 CND: ATQ0V1H0[0d][0a]OK ** found **
01/25 22:38:41 yS1 send: ATS0=0Q0&D3&C1[0d]
01/25 22:38:41 yS1 waiting for ``OK''
01/25 22:38:41 yS1 got: [0d]
01/25 22:38:41 yS1 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
01/25 22:38:41 yS1 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
01/25 22:38:41 yS1 waiting for line to clear (VTIME), read: [0d][0a]
01/25 22:38:42 yS1 removing lock file
01/25 22:38:42 yS1 waiting...
01/25 22:44:44 yS1 select returned 1
01/25 22:44:44 yS1 checking lockfiles, locking the line
01/25 22:44:44 yS1 makelock(ttyS1) called
01/25 22:44:44 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
01/25 22:44:44 yS1 lock made
01/25 22:44:44 yS1 wfr: waiting for ``RING''
01/25 22:44:44 yS1 got: [0d][0a]RING[0d]
01/25 22:44:44 yS1 CND: RING
01/25 22:44:44 yS1 wfr: rc=0, drn=0
01/25 22:44:44 yS1 wfr: waiting for ``RING''
01/25 22:44:44 yS1 got: [0a][0d][0a]RING[0d]
01/25 22:44:49 yS1 CND: RING
01/25 22:44:49 yS1 wfr: rc=0, drn=0
01/25 22:44:49 yS1 wfr: waiting for ``RING''
01/25 22:44:49 yS1 got: [0a][0d][0a]RING[0d]
01/25 22:44:53 yS1 CND: RING
01/25 22:44:53 yS1 wfr: rc=0, drn=0
01/25 22:44:53 yS1 send: ATA[0d]
01/25 22:44:53 yS1 waiting for ``CONNECT''
01/25 22:44:53 yS1 got: ATA[0d]
01/25 22:44:53 yS1 CND: OKATA[0d][0a]CONNECT ** found **
01/25 22:45:07 yS1 send:
01/25 22:45:07 yS1 waiting for ``_''
01/25 22:45:07 yS1 got: 19200[0d]
01/25 22:45:07 yS1 CND: CONNECT 19200
01/25 22:45:07 yS1 CND: found: 19200[0a] ** found **
01/25 22:45:07 yS1 waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!} }
2}"}&} } } } }%}&} }
U[d5]}'}"}(}"}-}#}&}1}$}&N}3}7}!6[a4]V[80][d2][9b]}1[d3][bb][9f]} } } } } } } } }
} [e0]C~
01/25 22:45:08 yS1 looking for utmp entry... (my PID: 3509)
01/25 22:45:08 yS1 utmp + wtmp entry made
01/25 22:45:08 yS1 tio_set_flow_control( HARD )
01/25 22:45:08 yS1 print welcome banner (/etc/issue)
01/25 22:45:08 yS1 getlogname (AUTO_PPP), read:~[ff]}#[c0]!
01/25 22:45:11 yS1 input finished with '\r', setting ICRNL ONLCR
01/25 22:45:11 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
01/25 22:45:11 yS1 login: use login config file
/etc/mgetty+sendfax/login.config
01/25 22:45:11 yS1 match: user='/AutoPPP/', key=''
01/25 22:45:11 yS1 match: user='/AutoPPP/', key=''
01/25 22:45:11 yS1 match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
01/25 22:45:11 yS1 login: utmp entry: ppp
01/25 22:45:11 yS1 looking for utmp entry... (my PID: 3509)
01/25 22:45:11 yS1 utmp + wtmp entry made
01/25 22:45:11 yS1 calling login: cmd='/usr/sbin/pppd', argv[]='pppd auth -chap
+pap'
01/25 22:45:11 ##### data dev=ttyS1, pid=3509, caller='none', conn='19200',
name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Gert Doering schrieb:
> Hi,
>
> On Mon, Jan 24, 2000 at 11:42:15AM +0100, Biene wrote:
> > 01/25 10:10:09 yS1 send: ATS0=0Q0&D3&C1[0d]
> > 01/25 10:10:09 yS1 waiting for ``OK''
> > 01/25 10:10:09 yS1 got: [0d]
> > 01/25 10:10:09 yS1 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
> > 01/25 10:10:09 yS1 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
> > 01/25 10:10:10 yS1 waiting for line to clear (VTIME), read: [0d][0a]
> > 01/25 10:10:10 yS1 removing lock file
> > 01/25 10:10:10 yS1 waiting...
>
> This log only shows the modem initialization phase. Does anything happen
> when you call in? What kind of modem is this? Does any lights on the
> modem "flicker" when the phone is RINGing?
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
> //www.muc.de/~gert/
> Gert Doering - Munich, Germany gert@greenie.muc.de
> fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de