From owner-freebsd-isp Mon May 27 14:07:17 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA12100 for isp-outgoing; Mon, 27 May 1996 14:07:17 -0700 (PDT) Received: from irbs.irbs.com ([199.182.75.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA12073 for ; Mon, 27 May 1996 14:07:08 -0700 (PDT) Received: (from jc@localhost) by irbs.irbs.com (8.7.5/8.6.6) id RAA04291; Mon, 27 May 1996 17:06:20 -0400 (EDT) From: John Capo Message-Id: <199605272106.RAA04291@irbs.irbs.com> Subject: Re: PPP Server To: root@netpc.com (root) Date: Mon, 27 May 1996 17:06:19 -0400 (EDT) Cc: freebsd-isp@freebsd.org In-Reply-To: from root at "May 27, 96 02:19:32 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk root writes: > > Can anyone help with the setup of how to have bsd answer the phone lines > and take ppp/slip/cslip connections . i have 2 class c's of ip's and want > to have some callers get dynamic and some get static ip's i have 4 boca > 16 port boards and i also have xylogics terminal servers here. I want to > get it going on the boca cards first..... > You're not going to like this but... First, become /very/ familiar with pppd or ppp and sliplogin. If you can't get them to work properly under controlled conditions there is no sense in going any further. Buy a Portmaster or more Xylogics and save yourself a lot of grief. Basically you have to write some scripts that exec ppp/pppd/sliplogin with the proper arguments. The script is the login shell for your dial-up IP users. Scripts for static IP users could be as simple as one script per user with the IP address in the script. Or you could use a common script and look up the IP address based on the users logname. Perl would be good for this. Dynamic IP is a bit more difficult. The folks that I have talked to that actually made it work and were satisfied with the scheme used an IP address based on the tty port the login is on. Any other scheme for picking the address to use has race conditions that have to be dealt with. There is no easy way to do this on the scale you are talking about. John Capo jc@irbs.com IRBS Engineering FreeBSD Servers and Workstations (954) 792-9551 Unix/Internet Consulting - ISP Solutions