Monitoring dip Serial Port -- Anybody 'Been There, Done That?

Monitoring dip Serial Port -- Anybody 'Been There, Done That?

Post by Kevin Reynold » Sat, 25 May 1996 04:00:00


A couple of mornings ago, my linux box had failed to send/receive mail
from my ISP.  After closer examination, I found that my 28.8 phone line
and modem had "hosed".

I didn't see a way to check this in dip and restart -- the man pages
references the line dropping out and dip closing the connection.  Forgive
me if I missed something; please let me know and I'll go away embarrassed
for wasting everyone's time...

Something that caught my eye in the UPS-HOWTO was the powerd daemon.  It
monitors the serial port for different line conditions like power failure
and low battery condition.  Is there a way to build a daemon similar to
this one to monitor the serial port status on the appropriate lines to
reset the modem and restart dip?  I know this is only as good as what the
modem sets the lines to, and may be unnecessary -- dip may handle the
unusual line conditions, even though I didn't see anything in writing
(the serial port and modem gurus can probably chime in at this point).

Anyway, hearty discussion of this would be welcome, if it already hasn't
been beat to death.

Kevin Reynolds -- "Oilfield Trash"

               majoring in Warped (sorry IBM OS/2) Humor


1. serial ports, DIP: why can't I get > 2400 baud?

This is weird:  under DOS, my modem (a 14,400 baud V.32bis V.42 PM14400FX)
works just fine, and will happily connect at 57,600 baud.  

But when I try to connect to the same Annex number using DIP, the modem
will only negotiate a 2400 baud connection!

What might I be doing wrong?  I specify "speed 57600" in DIP.  Is there
something I need to do to configure my serial ports under Linux?

2. future of UNIX?

3. serial ports work with DOS but don't probe with FreeBSD 2.2.2

4. Automating Password Changes

5. How do I get 'w' to say that i am doing something else

6. USB DSL modem to USB input on router..see this!

7. advice on ioctl and serial ports; creating port monitor

8. Loss of keyboard input

9. What am I doing wrong with 'chat'?

10. PARALLEL PORT: Has anybody done this?

11. dip error when line 'port cua0' is hit

12. PC COM 4 port serial card anybody?

13. serial port on v490 and Serial port on StorEdge 3510