*BSD News Article 75555


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!newsfeed.direct.ca!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is there a PPP manual ?
Date: Tue, 06 Aug 1996 08:51:05 -0700
Organization: A poorly-installed InterNetNews site
Lines: 44
Message-ID: <320769E9.49A9@www.play-hookey.com>
References: <DvpK8D.DHu.G.nanguo@nanguo.chalmers.com.au>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

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.

All the info is there fore you, but you do have to read it carefully!

I hope this helps!
-- 

Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |