mgetty and Sierra SQ3465

trovero@my-dejanews.com (trovero@my-dejanews.com)
Tue, 10 Nov 1998 04:45:17 +0100


Hi,

apologies if you received this message twice. I tried to send it few days ago,
but, apparently, it didn't make it through.

Has anyone had success in using mgetty with a Sierra SQ3465 internal
data/fax/voice modem? I am having a lot of different problems. I think I
read all the documentation I could find, and didn't come out with any
solution. Furthermore the documentation the modem came with sucks and, as I
gather, the manufacturer has gone out of business.

First, it cannot distinguish between different kind of calls. If I
set modem-type to auto, it believes that all calls are voice. If I set it
to c2.0, it believes all calls are fax.  If I set it to data, of course,
it believes all calls are data.

Well, so far not too bad, since, essentially, I don't care about fax and
voice.

The real problem is that I cannot login. Eventually I would like to
use AutoPPP, but right now I'd be happy enough if I could login "the old
way".

Well, that is not completely true: I logged in once, but could never
do it again, and I haven't changed anything since then. The log
of that one session comes later.

All other times, the program prints the login banner and then it seems to
hang up there and reads nothing from the modem. I tried using, among other
things, different lines (some are listed later on) in init-chat with
different combinations of &C# &D# (my modem seems not to understand what
&K# means) and ingore-carrier, but no success.

I am using RH Linux 5.1 with kernel 2.0.35 and the precompiled version of
mgetty that came with RH (1.1.14).

I would really appreciate if someone with more knowlege could help or point
me to the proper source of information. Please send me a copy of your reply,
as my news server seems to miss most messages to the list.

Logs follow the signature.

TIA,

Michele

**************************************************************************
Michele A. Trovero                            <trovero@stat.unc.edu>
UNC Dept. of Statistics            Oooo       <trovero@email.unc.edu>
New West, CB#3260            oooO  (   )      tel. (919) 962 5707 (w)
Chapel Hill  NC  27599      (   )   ) /            (919) 933 8999 (h)
USA                          \ (   (__)       fax  (919) 962 1279
                             (__)
**************************************************************************



/etc/mgetty+sendfax/login.config is completely commented out (now, it
wasn't when I loggen in succesfully, but it doesn't seem to make a
 difference).


Relevant parts of /etc/mgetty+sendfax/mgetty.config

# My modem
#
# I tried things commented out and none of them made a difference.
port ttyS1
debug 9
#force-init-chat
init-chat "" ATZ OK AT&D3&C1 OK
#init-chat "" ATZ OK
#init-chat "" ATZ OK ATQ0V1 OK AT&K3S0=5 OK
#init-chat "" ATZS0=0E1Q0&D3S7=90&S0 OK
rings 1
modem-type data
# ignore-carrier true
# switchbd 19200




The modem configuration:

ACTIVE PROFILE:
E1 L1 M1 T Q0 V1 X4 Y1 &C1 &D0 &R1 &S0 &T0 &U0 &X0
\C2 \F0 \G0 \N3 \Q3 \T000 \V2 %A3 %D1 %E0
S00:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:045 S08:002 S09:006
S10:014
S12:050 S18:000 S25:005 S38:020

STORED PROFILE 0:
E1 L1 M1 T Q0 V1 X4 Y1 &C1 &D0 &R1 &S0 &T0 &U0 &X0
\C2 \F0 \G0 \N3 \Q3 \T000 \V2 %A3 %D1 %E0
S00:000 S06:002 S07:045 S08:002 S09:006 S10:014 S25:005 S38:020


One of the many unsuccessful attempts:

10/30 01:25:14 yS1  mgetty: experimental test release 1.1.14-Apr02
10/30 01:25:14 yS1  check for lockfiles
10/30 01:25:14 yS1   checklock: no active process has lock, will remove
10/30 01:25:14 yS1  locking the line
10/30 01:25:14 yS1   makelock(ttyS1) called
10/30 01:25:14 yS1   do_makelock: lock='/var/lock/LCK..ttyS1'
10/30 01:25:14 yS1   lock made
10/30 01:25:15 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR
10/30 01:25:14 yS1   lock made
10/30 01:25:15 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR
10/30 01:25:15 yS1  lowering DTR to reset Modem
10/30 01:25:16 yS1   tss: set speed to 57600 (10001)
10/30 01:25:16 yS1   tio_set_flow_control( HARD )
10/30 01:25:16 yS1   waiting for line to clear (VTIME), read:
10/30 01:25:16 yS1  send: ATZ[0d]
10/30 01:25:16 yS1  waiting for ``OK''
10/30 01:25:16 yS1   got: ATZ[0d]
10/30 01:25:16 yS1    CND: ATZ[0d][0a]OK ** found **
10/30 01:25:16 yS1   waiting for line to clear (VTIME), read: [0d][0a]
10/30 01:25:16 yS1   removing lock file
10/30 01:25:16 yS1  waiting...
10/30 01:25:37 yS1    select returned 1
10/30 01:25:37 yS1   checking lockfiles, locking the line
10/30 01:25:37 yS1   makelock(ttyS1) called
10/30 01:25:37 yS1   do_makelock: lock='/var/lock/LCK..ttyS1'
10/30 01:25:37 yS1   lock made
10/30 01:25:37 yS1  waiting for ``RING''
10/30 01:25:37 yS1   got: [0d]
10/30 01:25:37 yS1    CND: OK[0a]RING ** found **
10/30 01:25:37 yS1  waiting for ``RING''
10/30 01:25:37 yS1   got: [0d]
10/30 01:25:37 yS1    CND: RING[0a][0d][0a]RING ** found **
10/30 01:25:43 yS1  waiting for ``RING''
10/30 01:25:43 yS1   got: [0d]
10/30 01:25:43 yS1    CND: RING[0a][0d][0a]RING ** found **
10/30 01:25:43 yS1   got: [0d]
10/30 01:25:43 yS1    CND: RING[0a][0d][0a]RING ** found **
10/30 01:25:49 yS1  waiting for ``RING''
10/30 01:25:49 yS1   got: [0d]
10/30 01:25:49 yS1    CND: RING[0a][0d][0a]RING ** found **
10/30 01:25:55 yS1  waiting for ``RING''
10/30 01:25:55 yS1   got: [0d]
10/30 01:25:55 yS1    CND: RING[0a][0d][0a]RING ** found **
10/30 01:26:01 yS1  send: ATA[0d]
10/30 01:26:01 yS1  waiting for ``CONNECT''
10/30 01:26:01 yS1   got: [0d]
10/30 01:26:01 yS1    CND: RING[0a]ATA[0d]
10/30 01:26:01 yS1    CND: ATA[0d][0a]CONNECT ** found **
10/30 01:26:13 yS1  send:
10/30 01:26:13 yS1  waiting for ``_''
10/30 01:26:13 yS1   got:  57600/REL[0d]
10/30 01:26:13 yS1    CND: CONNECT 57600/REL
10/30 01:26:13 yS1    CND: found: 57600/REL[0a] ** found **
10/30 01:26:13 yS1   waiting for line to clear (VTIME), read:
10/30 01:26:13 yS1  warning: carrier signal is ignored
10/30 01:26:13 yS1    looking for utmp entry... (my PID: 788)
10/30 01:26:13 yS1   utmp + wtmp entry made
10/30 01:26:14 yS1   tio_set_flow_control( HARD )
10/30 01:26:14 yS1   print welcome banner (/etc/issue)
10/30 01:26:14 yS1   getlogname (AUTO_PPP), read:[0d]
10/30 01:26:52 yS1   input finished with '\r', setting ICRNL ONLCR
10/30 01:26:52 yS1   tio_set_flow_control( HARD )
 10/30 01:26:52 yS1   input finished with '\r', setting ICRNL ONLCR
10/30 01:26:52 yS1   tio_set_flow_control( HARD )
10/30 01:26:52 yS1   print welcome banner (/etc/issue)
10/30 01:26:52 yS1   getlogname (AUTO_PPP), read:[0a]
10/30 01:26:52 yS1   tio_set_flow_control( HARD )
10/30 01:26:52 yS1   print welcome banner (/etc/issue)
10/30 01:26:52 yS1   getlogname (AUTO_PPP), read:NO CARRIER[0d]
10/30 01:26:52 ##### failed dev=ttyS1, pid=788, got modem error 'NO
CARRIER'


The (only :( ) successful Attempt:

10/30 00:41:27 yS1    CND: RING[0a][0d][0a]RING ** found **
10/30 00:41:33 yS1  send: ATA[0d]
10/30 00:41:33 yS1  waiting for ``CONNECT''
10/30 00:41:33 yS1   got: [0d]
10/30 00:41:33 yS1    CND: RING[0a]ATA[0d]
10/30 00:41:33 yS1    CND: ATA[0d][0a]CONNECT ** found **
10/30 00:41:52 yS1  send:
10/30 00:41:52 yS1  waiting for ``_''
10/30 00:41:52 yS1   got:  57600[0d]
10/30 00:41:52 yS1    CND: CONNECT 57600
10/30 00:41:52 yS1    CND: found: 57600[0a] ** found **
10/30 00:41:52 yS1   waiting for line to clear (VTIME), read:
10/30 00:41:52 yS1  warning: carrier signal is ignored
10/30 00:41:52 yS1   waiting for line to clear (VTIME), read:
10/30 00:41:52 yS1  warning: carrier signal is ignored
10/30 00:41:52 yS1    looking for utmp entry... (my PID: 333)
10/30 00:41:53 yS1   utmp + wtmp entry made
10/30 00:41:53 yS1   tio_set_flow_control( HARD )
10/30 00:41:53 yS1   print welcome banner (/etc/issue)
10/30 00:41:53 yS1   getlogname (AUTO_PPP), read:[0d]
10/30 00:41:53 yS1   input finished with '\r', setting ICRNL ONLCR
10/30 00:41:53 yS1   tio_set_flow_control( HARD )
10/30 00:41:53 yS1   print welcome banner (/etc/issue)
10/30 00:41:53 yS1   getlogname (AUTO_PPP), read:trovero[0d]
10/30 00:42:01 yS1   input finished with '\r', setting ICRNL ONLCR
10/30 00:42:01 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
10/30 00:42:01 yS1    login: use login config file
/etc/mgetty+sendfax/login.config
10/30 00:42:01 yS1   match: user='trovero', key=''
10/30 00:42:01 yS1   match: user='trovero', key='/FIDO/'
10/30 00:42:01 yS1   match: user='trovero', key=''
10/30 00:42:01 yS1   match: user='trovero', key='/AutoPPP/'
10/30 00:42:01 yS1   match: user='trovero', key='*'*** hit!
10/30 00:42:01 yS1   calling login: cmd='/bin/login', argv[]='login
trovero'
10/30 00:42:01 ##### data dev=ttyS1, pid=333, caller='none', conn='57600',
name='', cmd='/bin/login', user='trovero'




-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own