From owner-freebsd-questions Mon Jul 8 00:01:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA12656 for questions-outgoing; Mon, 8 Jul 1996 00:01:46 -0700 (PDT) Received: from gdi.uoregon.edu ([128.223.186.250]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA12651 for ; Mon, 8 Jul 1996 00:01:44 -0700 (PDT) Received: (from dwhite@localhost) by gdi.uoregon.edu (8.6.12/8.6.12) id AAA00383; Mon, 8 Jul 1996 00:01:49 -0700 Date: Mon, 8 Jul 1996 00:01:49 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Alain Thivillon cc: questions@freebsd.org Subject: Re: [Network] PPPD ou User PPP ? In-Reply-To: <199607060845.KAA15283@burzet.alma.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 6 Jul 1996, Alain Thivillon wrote: > Hi all, > > I'm trying to configure my FreeBSD server (HP LC 64/2Go, FreeBSD 2.1) > to serve as a PPP server for my remote users. I want the following > behaviour : > - no login shell started, direct CHAP authentification make an account with username 'ppp' no password, have it start up the pppd session as a script or directly from /etc/ttys. Then set up the pppd for chap. > - remote IP address choosed by remote adressing for some users, and > server adressing for others one (to allow someday packet filtering : > some users should be able to access local machines/services, others > no) huh? Using usermode ppp you can have it argue with the server to try to obtain specific IPs. If you want to do specific addressing I think that is possible, don't know though. > What is the best choice for this : kernel PPPD ou user mode PPP ? My intuition would say kernel mode for the higher performance since you don't need the user flexibility in usermode ppp in a noninteractive login. > Can i start ppp directly from /etc/ttys (whithout getty) ? I have no > luck whith this, because i always have a login prompt , even if i add > lo=/usr/sbin/ppp -direct [someusers] in /etc/gettytab. Dunno. > I have read the handbook, FAQ and others documents, but there is no > relay good advice on "server side" PPP. Go look again. I'm pretty sure there is a whole section devoted to all aspects of ppp, client and server. > Futhermore, when my 2 standard serial ports will be used, what is the > best choice for adding 4 or 8 input (Digiboard ?) Again, dunno. There is a cheaper type that is I think cyclades compatible. A fellow guru has two of these boards and they are dirt cheap but work well with FreeBSD. I wish I had details. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major