Subject: Re: pb with com port , pppd and tip on NetBSD 1.0
To: None <Thierry.Leconte@irisa.fr>
From: Patrick Arnoux <parnoux@orli.com>
List: port-i386
Date: 05/05/1995 15:01:01
> pppd and tip block during the open of the /dev/ttyxx
> 
> I added O_NONBLOCK to the open options in pppd and
> had good results : I can connect to the remote host and ftp etc ...
> 
> Is there a other solution ?

Your modem has "DCD" off. A better setup is to allow "DCD" to be on all
the time and pulse off upon loss of carrier.

I believe the code for that is "&C2" on most communication modems.

If your modem does'nt allow that option, it suffers from the dreaded
"Hayes syndrome", where they assume that all modem connections take place
interactively.

I also setup "DSR" the same way (command &S2) as well as "CTS" on always with
hardware flow control enabled.

The additional benefit of pulsing "DCD" off is that upon loss of carrier,
pppd will exit, allowing you, if you want a full time connection, to have it
started by "init" or do it in a shell script loop.

Patrick Arnoux
parnoux@orli.com

(What .sig?)