Hayes and Sun 3/160

Jim Burwell jimb at faatcrl.UUCP
Wed Jun 21 05:19:58 AEST 1989


Does anyone know if there is a (reletively) painless way to make
a Sun (3/160) running SunOS 3.x/BSD4.x communicate intelligently
with a Hayes compatible modem?  Right now, the only way the Sun
determines incomming baud rate is via modem line breaks.  Hayes 
modems send a "Connect <rate>" string (or code) to the DTE at the 
baud rate the computer last communicated with the modem, THEN it 
switches baud to the rate at which it's connected with the modem 
on the other end.  I think it would be much more effective (and 
easier for the dialin user) to have the OS set the serial port 
according to status codes received from the modem, and not rely on 
stuff like modem line breaks.  The information is there, it's just 
going to waste.  There is also another problem I have been 
experiencing with Hayes/Sun combo.  When a user does call in at a
lower baud rate than 2400 (we have a Hayes 2400 and a Concord 224),
the modem doesn't reset back to 2400 after the user logs off.  This
causes the modem to stay locked at 1200 baud, and a dialin at 2400 
always step down to 1200!  This would be cured if the OS would 
simply send any AT command (say an modem init string) to the modem
at 2400 baud after the user logged off.  But it seems that it 
doesn't.  Sigh.  Right now the "cure" is calling in on the other
modem, and doing a "tip" to a false phone number, which simply sends
an ATDT to the low-speed locked modem at 2400 baud, thus causing the
modem to switch to 2400, and allowing 2400 baud logins once again.

Please respond via E-mail, and if there is enough interest, I'll post
a summary on the net..

Thanx!

	-Jim Burwell


 



More information about the Comp.unix.questions mailing list