Subject: Re: poor man's demand-dial
To: Roland McGrath <>
From: Michael L. VanLoon -- <>
List: current-users
Date: 03/20/1995 06:46:32
>The remaining obstacle to such a thing is that pppd does not cope well
>with being hung up on.  From reading the code in the kernel and pppd,
>I cannot see why it fails; the loss of carrier detect should produce a
>SIGHUP sent to pppd, which should die gracefully on receipt of it.
>But in actuality, when the modem disconnects, pppd hangs there unaware
>with the line still in PPP line discipline and prevents anything else
>from using the line.

My pppd always gets sighup'd when the line drops.  Of course, I have
this explicit command in my connect script (the one called by pppd
-connect blah):

	stty crtscts clocal -mdmbuf -parity -ixon -ixany

This is on 1.0....

  Michael L. VanLoon                       
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4, PC532,
                           DEC pmax (MIPS R2k/3k), DEC/AXP (Alpha)
     NetBSD ports in progress: VAX and others...