[unix-pc.general] Trouble with Unix PC internal modem

jpb@valkyrie.UUCP (Joe Block) (03/13/89)

Occasionally my Unix PC's internal modem locks and will not dial out or
answer the phone while it's in data mode.  Sometimes this can be fixed
by toggling the line to voice and then back to data, but uucp (I have
the store's HDB uucp installed) doesn't recognize this.  The only
solution I've found is to shut the system down and restart it.  Are
there any control codes I can send the modem to get it to reset itself
without a shutdown?  I want to run the system as a BBS again, and would
like to periodically reset the modem to be sure that outside callers can
dial in.

JB
-- 
Joe Block    
uucp: ncar!umigw!\
                  >umbio!{jpb,valkyrie!jpb,valkyrie!root}
           gould!/   "A dirty mind is a terrible thing to waste."

wtm@neoucom.UUCP (Bill Mayhew) (03/15/89)

/etc/rc runs a 68K executable file named /etc/.modeminit.
.modeminit seems to do some magic to initialize the OBM.  It
doesn't seem to do any harm to run .modeminit as long as there
isn't any ongoing phone activity.  I just tried running it, and it
clicked some realy, but not the line relay as the click was softer
than the clanking sound the line realy makes on my machine.  The
ultimate test was that the OBM still worked afterword.

As usual, .modeminit doesn't seem to be documented; at least if it
is lurking in the manuals, it has eluded my search thus far.

Here is a strings of .modeminit:
---------------------------------
 .data
PN^Nup
XON^Nu
/etc/.lineone
/etc/.linetwo
/dev/ph1
/dev/ph0
Failed to open modem port.  Error return= %d
Answer Tone
2100 Hz Tone
Answer Tone
2100 Hz Tone
1800 Hz Guard Tone
1800 Hz Guard Tone
/etc/.modem
/etc/.modem file not found.
IOCTL Failed in setting the following parameter:%s
Error Returned = %d
@(#) adminbin:adminbin.sl 1.137 
----------------------------------


--Bill
  wtm@impulse.UUCP