*BSD News Article 29106


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!darwin.sura.net!udel!newsserv.cs.sunysb.edu!home.stark.cs.sunysb.EDU!stark!stark!gene
From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Newsgroups: comp.os.386bsd.questions
Subject: Re: getting ppp to work
Date: 2 Apr 94 06:54:52
Organization: Gene Stark's home system
Lines: 34
Message-ID: <STARK!GENE.94Apr2065452@stark.uucp>
References: <CnI4x2.7DC@usenet.ucs.indiana.edu>
NNTP-Posting-Host: home.stark.cs.sunysb.edu
In-reply-to: pi@nickel.ucs.indiana.edu's message of Wed, 30 Mar 1994 23:51:01 GMT

In article <CnI4x2.7DC@usenet.ucs.indiana.edu> pi@nickel.ucs.indiana.edu (Raymond L. Gilbert) writes:

>	   Hi... I'm running FreeBSD 1.1 BETA and am having some
>   troubles getting ppp to work on my generic 486DX/33 over
>   my Hayes compatible 9600 modem.

>   (I also tried just 1).  When I escape back out of tip to my local
>   system (using ~^Z), I cd to /usr/libexec and try: pppd /dev/tty01 9600
>   It starts to work for a little bit, then all of the sudden a few
>   seconds into it hangs up!  Here's the results from /var/log/messages:

Go to /usr/src/libexec/pppd, apply the following diffs to main.c,
and recompile.
							- Gene Stark

*** /usr.src/libexec/pppd/main.c	Thu Oct  7 04:09:13 1993
--- main.c	Fri Apr  1 09:20:19 1994
***************
*** 417,427 ****
--- 417,429 ----
    }
  
    /* drop dtr to hang up incase modem is off hook */
+ /*
    if (!default_device) {
        setdtr(fd, FALSE);
        sleep(1);
        setdtr(fd, TRUE);
    }
+ */
  
    /* set device to be controlling tty */
    if (ioctl(fd, TIOCSCTTY) < 0) {
--