*BSD News Article 34571


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!news.iastate.edu!michaelv
From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Curious Serial Line Behaviour
Followup-To: comp.os.386bsd.bugs
Date: 19 Aug 1994 02:52:11 GMT
Organization: HeadCandy Associates... Playing with your mind
Lines: 22
Distribution: world
Message-ID: <MICHAELV.94Aug18215216@MindBender.HeadCandy.com>
References: <330vps$cu3@cs.ubc.ca>
NNTP-Posting-Host: stingray.cc.iastate.edu
In-reply-to: coatta@frood.nsg.bc.ca's message of 19 Aug 1994 00:53:16 GMT

In article <330vps$cu3@cs.ubc.ca> coatta@frood.nsg.bc.ca (Terry Coatta) writes:

   I encountered this behaviour in attempting to start up the ppp
   daemon from with an expect script.  I open /dev/cua01 inside
   the script and then use expect to deal with initializing the
   modem, dialing, etc.  Once a connection is established, I close
   /dev/cua01 in the script and then start pppd.  However, due to
   the above-noted behaviour, pppd fails due to /dev/cua01 being
   busy.

Well, for one thing, it sounds like you're trying to make things way
more complicated than they need to be.  On my NetBSD system, I just
use the "connect" option to pppd, and use a chat script from connect.
It works perfectly every time.

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Michael L. VanLoon     michaelv@HeadCandy.com     michaelv@iastate.edu
  Free your mind and your machine -- NetBSD free un*x for PC/Mac/Amiga/etc.
     Working NetBSD ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4c, PC532
               In progress: DEC pmax (MIPS R2k/3k), VAX, Sun4m
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -