mgetty problems

mataire (mataire@compcentre.uz.ac.zw)
Mon, 8 Nov 1999 19:29:59 +0200




I am attaching the following files:

1.  mgetty.config
2.  login.config
3.  /var/log/mgetty.ttyS0
4. /etc/inittab

I am using a multitech modem 

mgetty.ttyS0
--------------
[B
11/07 14:11:54 yS0   waiting for line to clear (VTIME), read: [0d][0a]
11/07 14:11:54 yS0  send: \d\d\d+++\d\d\dAT&FS2=255[0d]
11/07 14:11:57 yS0  waiting for ``OK''
11/07 14:11:57 yS0   got: +++AT&FS2=255[0d]
11/07 14:11:57 yS0    CND: NO CARRIER+++AT&FS2=255[0d][0a]OK ** found **
11/07 14:11:58 yS0  send: ATN3S0=0S13.2=1[0d]
11/07 14:11:58 yS0  waiting for ``OK''
11/07 14:11:58 yS0   got: [0d]
11/07 14:11:58 yS0    CND: OK[0a]ATN3S0=0S13.2=1[0d]
11/07 14:11:58 yS0    CND: ATN3S0=0S13.2=1[0d][0a]OK ** found **
11/07 14:11:58 yS0  send: AT[0d]
11/07 14:11:58 yS0  do_stat: expect 'OK' ** found **
11/07 14:11:58 yS0  send: ATI2[0d]
11/07 14:11:58 yS0  do_stat: expect 'OK' ** found **
11/07 14:11:59 yS0   waiting for line to clear (VTIME), read: [0a]
11/07 14:11:59 yS0   removing lock file
11/07 14:11:59 yS0  waiting...
11/07 14:12:09 yS0    select returned 1
11/07 14:12:09 yS0   checking lockfiles, locking the line
11/07 14:12:09 yS0   makelock(ttyS0) called
11/07 14:12:09 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
11/07 14:12:09 yS0   lock made
11/07 14:12:09 yS0  wfr: waiting for ``RING''
11/07 14:12:09 yS0   got: [0d][0a]RING[0d]
11/07 14:12:09 yS0    CND: RING
11/07 14:12:09 yS0   wfr: rc=0, drn=0
11/07 14:12:09 yS0  send: ATA[0d]
11/07 14:12:09 yS0  waiting for ``CONNECT''
11/07 14:12:09 yS0   got: [00]
11/07 14:13:29 yS0  timeout in chat script, waiting for `CONNECT'
11/07 14:13:29 ##### failed timeout dev=ttyS0, pid=319, caller='none', conn='LAPM COMPRESSED', name=''


mgetty.comfig
---------------

speed 38400
port-owner uucp
port-group uucp
port-mode 0664
port ttyS0
debug 8
modem-type cls2
#init-chat "" ATZ\r\d\c OK ATDT\T OK
# the one below works O.K
init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK 
# init-chat "" \d\d\d++++\d\d\dAT&F OK
# init-chat "" \d\d\d+++\d\AT H0&F OK ATX4&D3 OK ATQ0L0 M0S0=0 OK
#
#init-chat "" \d\d\d+++\d\d\dATH0&F OK ATX4&D3 OK ATQ0L0M0S0=0 OK
#
# recommended
#init-chat "" ATS0=0&S1
statistics-chat "" AT OK ATI2 OK
statistics-file /tmp/statistics.2864
modem-type cls2
data-only y


login.config
---------------

U*	uucp	@	/usr/lib/uucp/uucico -l -u @
*	uucp    @	/usr/lib/uucp/uucico -l -u @
*	-	-	/bin/login @


/etc/inittab
------------


mo:23:respawn:/usr/sbin/mgetty -n1 -s 38400 -D /dev/ttyS0






----------
From: 	Neko (Simone Demmel)[SMTP:neko@greenie.muc.de]
Sent: 	Monday, November 08, 1999 7:18 PM
To: 	mataire@compcentre.uz.ac.zw
Cc: 	mgetty@muc.de
Subject: 	Re: mgetty problems

Hi,

mataire@compcentre.uz.ac.zw (mataire@compcentre.uz.ac.zw) - Fri, Nov 05, 1999 at 07:19:13AM +0200:
> I cant get mgetty to recieve incoming calls correctly.  When I dial in
> manually from another machine.  The modem reports connected but then gives
> gabage on the screen

What does garbage mean?

Please send the appropriate parts of your logfile, and include your
config-File.

Without this information nobody here can really help you (except
guessing - and that's not what you need)

neko
-- 
neko@greenie.muc.de 	  Simone Demmel		Muenchen (Germany)
Fax.: 089/356 550 25 		      http://greenie.muc.de/~neko/
        Wo ist am Internet der Henkel zum wegschmeissen?