*BSD News Article 76300


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!mr.net!uunet!in3.uu.net!newsie.dmc.com!news.zipnet.net!usenet
From: Justin Seger <jseger@zipnet.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is there a PPP manual ?
Date: Sat, 17 Aug 1996 11:22:27 -0400
Organization: ZIPNET.NET - The NorthEast US's premier ISP
Lines: 44
Message-ID: <3215E3B3.2BD1@zipnet.net>
References: <DvpK8D.DHu.G.nanguo@nanguo.chalmers.com.au> <320769E9.49A9@www.play-hookey.com>
Reply-To: jseger@zipnet.net
NNTP-Posting-Host: ip15-max1-bos.zipnet.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b7 (WinNT; I)

Ken Bigelow wrote:
> 
> Robert Chalmers wrote:
> >
> > No, I don't mean the man pages. I mean a definitive, clear
> > set of instructions for implementing PPPD.
> >
> > It seems that FreeBSD can be used as a gateway, from a network to
> > the internet, via an ISP. Trouble is figuring out how to do that.
> >
> > On a standard PC, ie; 2 com ports, how does one do the following :-
> >
> > 1.      Setup com2 for dial out at 38K
> >
> > 2.      Set up PPPD to dial up the ISP and stay connected, re-connecting
> >                 if there is a down. Based on a permanent connection.
> >
> > 3.      Route traffic from the network to which it is attached
> >                 by Ethernet, out to the Internet, and pickup
> >                 traffic from the Internet for the internal
> >                 network. Not acting as a DNS server, just a router?
> >
> > Is this possible with FreeBSD?
> >
> 
> Easily -- my site does just that, except that I start at 115200 just for
> luck. Read the Handbook as well as the man page on pppd. Especially read
> about the /etc/ppp/options file, which is where pppd is
> controlled/configured. Mine starts from /etc/rc.local with the line:
> 
>         pppd /dev/cuaa1 115200
> 
> In case the ip-down check doesn't work, I also have a cron task running
> every 5 minutes to ping my ISP connect port. If that fails, the script
> kills off pppd and restarts.

I'm setting up a similar thing but have been using the user ppp (tun0). 
Can
this be down with user ppp or must I switch to the kernel
implementation?
Im running 2.0.5 (upgrading to 2.1.5 this weekend.)

Thanks in advance,
-Justin Seger-