*BSD News Article 42470


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.pfc.forestry.ca!bcsystems!nntp.cs.ubc.ca!alberta!quartz.ucs.ualberta.ca!tribune.usask.ca!decwrl!hookup!swrinde!pipex!peernews.demon.co.uk!demon!pencotts.demon.co.uk!arg
Newsgroups: comp.os.386bsd.questions
Subject: Re: does kermit drop the line when exiting?
Message-ID: <D3suDI.2G0@pencotts.demon.co.uk>
From: arg@pencotts.demon.co.uk
Date: Fri, 10 Feb 1995 19:34:29 GMT
References: <paigenD3E73J.JGp@netcom.com> <3h76op$brp@gaia.ucs.orst.edu> 
 <3hdp7c$1p9@awfulhak.demon.co.uk>
Organization: NET-TEL Computer Systems Ltd
Lines: 27

Or better still run 'chat' or similar from within pppd, with somthing like:

pppd connect 'chat -v -f chat.script' /dev/cua01 38400


When used like this, pppd opens the port and then passes the file descriptors
as stdin/stdout to the "connect" program - in this case 'chat', but could
be anything.  This means that the port doesn't get closed between the
dial script and the ppp starting up - hence no problems with DTR.

A simple chat.script looks like:

ABORT "NO CARRIER" ABORT BUSY "" ATDT12345678 CONNECT
'' ogin:--ogin: myuserid
ssword: mypass



Even better still is the new user-mode ppp in the 2.0-950202-SNAP release,
which has the easiest user interface to get up and running that I have
ever come across.  Unfortunately, although I can get it up and connected,
(ping, traceroute etc working fine), as soon as I try to send TCP
packets my PC spontaneously reboots (not even a kernel panic - it just
reboots!).  Anyone else got further than this?


andrew.gordon@net-tel.co.uk