Add "modem" to your options file Hope this helps J. Jan De Landtsheer 46-48,Av. du pres. Wilson 93210 La Plaine St.-Denis tel:+33 1 49469808 fax:+33 1 49469809 E-Mail: [EMAIL PROTECTED] On Thu, 8 Apr 1999, John Krivitsky wrote: > This is a `potential' bug report for pppd, version 2.3.4 & 5. I say > `potential' because it might just be me doing something stupid, but I > don't think so. The problem is that pppd is not detecting when the modem > hangs up through means outside of its own control, such as carrier lost. > This is not simply a case of hardware flow control not correctly > detecting the DCD line, as I describe below: > > The architecture is Linux 2.0.32 & 36 (Red Hat 5.2). A standard modem > (tested with multiple modems) is connected to com 2 (/dev/cua1). PPP is > configured in dial-out mode only with the following options in > /etc/ppp/options: > > lock > demand > ipcp-accept-remote > defaultroute > > The only command line options are serial speed, modem port and connect > parameter (using chat). > > The modem cable has been checked for connectivity of all control lines, > not just TX, RX and GND. The `statserial' utility is reporting the > status of the DCD line correctly - the modem is correctly detecting and > signalling DCD status to the serial port. pppd is assuming that it is > still connected (/etc/ppp/ip-down is not getting executed as per normal, > and nothing unusual is logged in syslog in verbose mode). > > However, when I add the options: > > lcp-echo-failure 3 > lcp-echo-interval 60 > > It correctly detects a loss of carrier almost immediately. My > understanding from the above options is that it should take 3 minutes to > detect a loss of carrier, or at the very least, if an lcp-echo request > is not immediately returned and pppd retries several times in quick > succession, an average of half a minute. > > What it appears is happening is that the presence of the lcp-echo-* > options is enabling pppd to check carrier detect, otherwise it ignores > the DCD. > > Please let me know if it's just me being stupid. > > Thanks! > > jk > > - > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in > the body of a message to [EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [EMAIL PROTECTED]
