From owner-freebsd-isp Tue Nov 28 10:12:49 1995 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA23493 for isp-outgoing; Tue, 28 Nov 1995 10:12:49 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA23484 for ; Tue, 28 Nov 1995 10:12:44 -0800 Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id MAA12856; Tue, 28 Nov 1995 12:12:03 -0600 From: Joe Greco Message-Id: <199511281812.MAA12856@brasil.moneng.mei.com> Subject: Re: Dynamic PPP... To: mnealey@metronet.com (Mike Nealey) Date: Tue, 28 Nov 1995 12:12:03 -0600 (CST) Cc: freebsd-isp@freebsd.org In-Reply-To: <199511271729.AA09299@metronet.com> from "Mike Nealey" at Nov 27, 95 11:29:08 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@freebsd.org Precedence: bulk > Hi all, > > I have a quick question. Is anyone out there offering dynamic ppp on > their systems? If you are, how are you setting it up? I have read the man > page and assorted documentation for ppp/pppd and the solution offered seems > rather ugly. Is there a more elegant solution? Stupid and yet simple: /usr/local/bin/ppplogin (login shell): #! /bin/sh - stty crtscts tty=`tty` tty=`basename ${tty}` exec /usr/sbin/ppp -direct "${tty}" /etc/ppp/ppp.conf: ttyd8: set debug lcp set ifaddr 206.55.67.17 206.55.67.72 set timeout 43200 ttyd9: set debug lcp set ifaddr 206.55.67.17 206.55.67.73 set timeout 43200 ttyda: set debug lcp set ifaddr 206.55.67.17 206.55.67.74 set timeout 43200 .... la de da, etc. Not true dynamic PPP in that you are reserving an IP for each serial port. However, this does prevent you from doing foolish things like overcommitting and it does make administration simpler because you can always reconstruct who was on a port given a hostname or whatever with very little effort. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847