Date: Wed, 27 Aug 1997 16:20:01 -0700 From: Scott Johnson <srj@jps.net> To: freebsd-questions@freebsd.org Subject: FreeBSD doesn't see the phone line drop. Help! Message-ID: <3.0.2.32.19970827162001.00caa740@mail.jps.net>
next in thread | raw e-mail | index | archive | help
Hi, I've got a FreeBSD 2.1.0 setup that is routing traffic to/from my home LAN to my ISP. Pac Bell has had muddier than usual lines, and it's causing the modem to give up and hang up. Problem is, iijppp isn't seeing DCD go low. I have the comstate program that Bruce Evans posted (thanks, BTW) and it shows DCD toggling from low to high on carrier detect, and toggling back to low when the line goes bad (some well-placed whistling into a phone causes this for testing purposes) Problem is, iijppp just goes on merrily stuffing packets down the bad interface and doesn't acknowledge that the connection is gone-- so you have to go in and manually close the connection. The logfile shows bunches of HDLC errors when this is happening. -----begin----- $ telnet localhost 3000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. User Process PPP. Written by Toshiharu OHNO. Working in auto mode. PPP ON kauai> #<whistle into phone until line drops-- PPP stays capitalized, indicating it thinks the line is still up> PPP ON kauai> close ppp ON kauai> #<sounds of redialing> -----end----- So, am I assuming anything wrong? Should it work this way? I'd *like* a redial to occur if the line craps out-- or at least have it acknowledge it so I don't have to go and pull it down myself. Here's the stty for the modem port: -----begin----- 1-# stty -a -f /dev/cuaa1 speed 9600 baud; 0 rows; 0 columns; lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk -brkint -inpck -ignpar -parmrk oflags: -opost -onlcr -oxtabs cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>; eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>; stop = ^S; susp = ^Z; time = 0; werase = ^W; -----end-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.2.32.19970827162001.00caa740>