john@amc-gw.UUCP (John Sambrook) (05/15/89)
[ Note: Please either post responses, or send mail to amc!john@uunet.uu.net.
The system I am posting this from is not yet registered in the UUCP
maps. Thanks. ]
I have a MicroVAX-II running Ultrix 3.0. I am having a problem with
UUCP in conjunction with a (very old) Hayes 1200 baud Smartmodem and
would appreciate any advice anyone could provide.
The problem is that the modem, when used by UUCP to place a call to
another system, sometimes fails to hang up. This only happens when
the conversation with the other system does not complete normally,
for example, if the expect-send script in L.sys is wrong. Usually
the called system will timeout and hangup, but some systems that we
call don't do this, with the result that the modem is tied up until
manually reset.
The modem is attached to one of the serial ports (/dev/tty06) on an
eight-line serial board, through a full modem-control cable. The
line is configured (in /etc/ttys) as:
tty06 "/etc/getty H1200" dialup on modem shared # Hayes 1200
The DIP switches on the modem are configured according to the entry in
the /etc/acucap file:
#
#Hayes 1200 smart modem. Switches set to 'English' mode.
# (touch tone dialing)
#
# switches = uudduuud (u=up, d=down)
hayes|h1200|smartmodem|HAYES smartmodem 1200 Touch tone (UNSUPPORTED):\
:cr:hu:ls:re:ss=\d+++\dATH\rATZ\r\d:sr=OK:sd#250000:di=ATDT:dt=\r:\
:dd#50000:fd#50:rs=,:os=CONNECT:ds=\d+++\dATZ\r:ab=\d+++\dATZ:
I should point out that when the UUCP connection is made normally this problem
does not occur; I suspect that somehow uucico is mananging to exit without
making sure that the line is hung up.
Any help would be appreciated.
--
John Sambrook Internet: amc!john@uunet.uu.net
Applied Microsystems Corporation UUCP: amc!john
Redmond, Washington 98073 Dial: (206) 882-2000 ext. 630grr@cbmvax.UUCP (George Robbins) (05/15/89)
In article <346@amc-gw.UUCP> john@amc-gw.UUCP (John Sambrook) writes: > > I have a MicroVAX-II running Ultrix 3.0. I am having a problem with > UUCP in conjunction with a (very old) Hayes 1200 baud Smartmodem and > would appreciate any advice anyone could provide. > > The problem is that the modem, when used by UUCP to place a call to > another system, sometimes fails to hang up. Make sure the hayes modem has it's switches set so that it terminates calls when the system drops DTR and that CD to the system reflects carrier detect and isn't being forced high. > The modem is attached to one of the serial ports (/dev/tty06) on an > eight-line serial board, through a full modem-control cable. The > line is configured (in /etc/ttys) as: Make sure your board supports modem control and isn't being disabled by the flags in the configuration file... > # > #Hayes 1200 smart modem. Switches set to 'English' mode. > # (touch tone dialing) > # > # switches = uudduuud (u=up, d=down) > hayes|h1200|smartmodem|HAYES smartmodem 1200 Touch tone (UNSUPPORTED):\ > :cr:hu:ls:re:ss=\d+++\dATH\rATZ\r\d:sr=OK:sd#250000:di=ATDT:dt=\r:\ > :dd#50000:fd#50:rs=,:os=CONNECT:ds=\d+++\dATZ\r:ab=\d+++\dATZ: I'm not sure the oldest Hayes modems support ATZ to hangup calls as used by the "ab=" and "ds=" strings. Check your manual, you may want to change the ATZ's to ATH0's if this is so, though I'm probably confused. > I should point out that when the UUCP connection is made normally this problem > does not occur; I suspect that somehow uucico is mananging to exit without > making sure that the line is hung up. Here, the remote system is probably hanging up on you, in the other case you're probably left talking to your modem... -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)