Problem with mgetty and USRobotics Courier when >2400 bps

Gert Doering (gert@greenie.muc.de)
Thu, 1 May 1997 23:40:52 +0200


Hi,

check the calling modem. It really works with a USR Courier V.34, with
14.400, 28.800, whatever. No magic needed.

(My setup string for USR Courier basically does little more than set the 
modem to AT&F1).

If the modem repors NO CARRIER, it usually really is a communication/setup
problem between the modems. It is nearly never a mgetty problem.

gert


mirsad.redzepovic@netconnection.se wrote:
> Hi!
> 
> I have some major problems getting mgetty and dial-in to work with
> any speed greater than 2400 bps. 
> 
> SYSTEM: Compaq Prosignia 200 80MB/2.5GIG
> 	Linux 2.0.27
>    Mgetty 1.0.0
> 	USRobotics Courier Dual Standard V.34 Fax vith V34Bis
>    Two Boca I/O650 adapters with two serial ports each
> 
> PROBLEM: I can dial out on every port, with various speeds:
> 	 2400,14400,28800...
> 	 I can also dial in on every port, but only at 2400 bps.
> 	 If I try anything faster I get "NO CARRIER" error.
>    I have tryed hundreds of init-chat strings and
>    various gettydefs and inittabs.
>    I have even tryed to remove the BOCA-adapters and test on
>    the original serial port, with exactly the same result:
> 	2400 ok, anything faster ---> "NO CARRIER"
> 
> 
>  
> I am submitting the following files (in order):
> 
> /var/adm/mgetty_log_ttyS0
> /etc/inittab
> /etc/rc.d/rc.local
> /etc/gettydefs 
> /etc/mgetty.config
> 
> in mgetty_log_ttyS0 you can clearly see that I can dial-in
> at 2400 the first time. But when I try with higher speed, 9600
> i get "NO CARRIER"
> 
> 
> Thanks in advance for any help!
> 
> /Mirsad
> 
> #######################/var/adm/mgetty_log_ttyS0
> 04/27 05:35:26 yS0 mgetty: official release 1.0.0
> 04/27 05:35:26 yS0 check for lockfiles
> 04/27 05:35:26 yS0 checklock: stat failed, no file
> 04/27 05:35:26 yS0 locking the line
> 04/27 05:35:26 yS0 makelock(ttyS0) called
> 04/27 05:35:26 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
> 04/27 05:35:26 yS0 lock made
> 04/27 05:35:27 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
> 04/27 05:35:27 yS0 lowering DTR to reset Modem
> 04/27 05:35:27 yS0 tss: set speed to 115200 (10002)
> 04/27 05:35:27 yS0 tio_set_flow_control( HARD )
> 04/27 05:35:27 yS0 waiting for line to clear (VTIME), read: 
> 04/27 05:35:28 yS0 send: ATE1Q0V1S0=0[0d]
> 04/27 05:35:28 yS0 waiting for ``OK''
> 04/27 05:35:28 yS0 got: ATE1Q0V1S0=0[0d][0d][0a]OK ** found **
> 04/27 05:35:28 yS0 send: AT&C1&S0&D2S13=1[0d]
> 04/27 05:35:28 yS0 waiting for ``OK''
> 04/27 05:35:28 yS0 got: [0d][0a]AT&C1&S0&D2S13=1[0d][0d][0a]OK ** found **
> 04/27 05:35:28 yS0 waiting for line to clear (VTIME), read: [0d][0a]
> 04/27 05:35:28 yS0 removing lock file
> 04/27 05:35:28 yS0 waiting...
> 04/27 05:37:03 yS0 checking lockfiles, locking the line
> 04/27 05:37:03 yS0 makelock(ttyS0) called
> 04/27 05:37:03 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
> 04/27 05:37:03 yS0 lock made
> 04/27 05:37:03 yS0 waiting for ``RING''
> 04/27 05:37:03 yS0 got: [0d][0a]RING ** found **
> 04/27 05:37:03 yS0 send: ATA[0d]
> 04/27 05:37:03 yS0 waiting for ``CONNECT''
> 04/27 05:37:03 yS0 got: [0d][0a]ATA[0d][0d][0a]CONNECT ** found **
> 04/27 05:37:13 yS0 send: 
> 04/27 05:37:13 yS0 waiting for line to clear (VTIME), read: 
> 1200/ARQ/LAPM/V42BIS[0d][0a]
> 04/27 05:37:13 yS0 utmp + wtmp entry made
> 04/27 05:37:13 yS0 tio_set_flow_control( HARD )
> 04/27 05:37:13 yS0 getlogname (no opts), read:root[0d]
> 04/27 05:37:17 yS0 input finished with '\r', setting ICRNL ONLCR
> 04/27 05:37:17 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
> 04/27 05:37:17 yS0 match: user='root', key='/FIDO/'
> 04/27 05:37:17 yS0 match: user='root', key='*'*** hit!
> 04/27 05:37:17 yS0 calling login: cmd='/bin/login', argv[]='login root'
> 04/27 05:37:17 ##### data dev=ttyS0, pid=109, caller=none, conn='', name='',
> cmd='/bin/login', user='root'
> 
> 04/27 05:37:17 yS0 setenv: 'CALLER_ID=none'
> 04/27 05:37:17 yS0 setenv: 'CONNECT='
> --
> 04/27 05:37:29 yS0 mgetty: official release 1.0.0
> 04/27 05:37:29 yS0 check for lockfiles
> 04/27 05:37:29 yS0 checklock: no active process has lock, will remove
> 04/27 05:37:29 yS0 locking the line
> 04/27 05:37:29 yS0 makelock(ttyS0) called
> 04/27 05:37:29 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
> 04/27 05:37:29 yS0 lock made
> 04/27 05:37:30 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
> 04/27 05:37:30 yS0 lowering DTR to reset Modem
> 04/27 05:37:30 yS0 tss: set speed to 115200 (10002)
> 04/27 05:37:30 yS0 tio_set_flow_control( HARD )
> 04/27 05:37:30 yS0 waiting for line to clear (VTIME), read: 
> 04/27 05:37:31 yS0 send: ATE1Q0V1S0=0[0d]
> 04/27 05:37:31 yS0 waiting for ``OK''
> 04/27 05:37:31 yS0 got: ATE1Q0V1S0=0[0d][0d][0a]OK ** found **
> 04/27 05:37:31 yS0 send: AT&C1&S0&D2S13=1[0d]
> 04/27 05:37:31 yS0 waiting for ``OK''
> 04/27 05:37:31 yS0 got: [0d][0a]AT&C1&S0&D2S13=1[0d][0d][0a]OK ** found **
> 04/27 05:37:31 yS0 waiting for line to clear (VTIME), read: [0d][0a]
> 04/27 05:37:31 yS0 removing lock file
> 04/27 05:37:31 yS0 waiting...
> 04/27 05:37:53 yS0 checking lockfiles, locking the line
> 04/27 05:37:53 yS0 makelock(ttyS0) called
> 04/27 05:37:53 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
> 04/27 05:37:53 yS0 lock made
> 04/27 05:37:53 yS0 waiting for ``RING''
> 04/27 05:37:53 yS0 got: [0d][0a]RING ** found **
> 04/27 05:37:53 yS0 send: ATA[0d]
> 04/27 05:37:53 yS0 waiting for ``CONNECT''
> 04/27 05:37:53 yS0 got: [0d][0a]ATA[0d][0d][0a]NO CARRIER
> 04/27 05:38:54 yS0 found action string: ``NO CARRIER''
> 04/27 05:38:54 ##### failed A_FAIL dev=ttyS0, pid=155, caller=none, conn='',
> name=''
> 


-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de
.