From owner-freebsd-isp Tue Jun 4 16:46:24 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA23387 for isp-outgoing; Tue, 4 Jun 1996 16:46:24 -0700 (PDT) Received: from tweety.bhp.com.au (tweety.bhp.com.au [192.83.224.130]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA23374 for ; Tue, 4 Jun 1996 16:46:19 -0700 (PDT) Received: from gossamer (gossamer.itmel.bhp.com.au [134.18.115.254]) by tweety.bhp.com.au (8.7.5/8.7.5) with ESMTP id KAA00788 for ; Wed, 5 Jun 1996 10:45:32 +1100 (EST) Received: from netman.nzsakl.bhp.com.au (netman.nzsakl.bhp.com.au [152.153.40.126]) by gossamer (8.7.1/8.7.1) with ESMTP id JAA00218 for ; Wed, 5 Jun 1996 09:45:38 +1000 (EST) Received: from abevin (abevin.nzsakl.bhp.com.au [152.153.41.20]) by netman.nzsakl.bhp.com.au (8.7.3/8.7.3) with SMTP id LAA13104 for ; Wed, 5 Jun 1996 11:45:23 +1200 (NZST) Message-ID: <31B4BCB3.5A32@nzsakl.bhp.com.au> Date: Wed, 05 Jun 1996 11:46:11 +1300 From: Andrew Bevin X-Mailer: Mozilla 2.0 (Win16; I) MIME-Version: 1.0 To: freebsd-isp@freebsd.org Subject: pppd questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm a small isp in New Zealand running FreeBSD 2.1 Stable. I am currently using pppd with PAP authentation. I have pppd running directly on the dialin ports rather than getty. I have PAP using the 'login' feature where it uses the password file and updates wtmp. Due to the way I am billed I charge by IP traffic rather than time, therefore it is easier for me to allocate fixed IP addresses to my users. At the moment I have to tell by users to enter their IP address in there TCP setup rather than have my server allocate them an IP address. I cant find a way to allocate the users their IP address on connect. pppd can set the IP addresses that users _can_ have via pap_secrets but pppd doesnt force the user to have that IP address. I can't user ~/.ppprc as it seems that pppd is not reading the ~/.ppprc file as the user is not actually logging into the server. Does any one know how I can allocate the IP address on a user basis? With PAP and the 'login' option pppd is adding an entry to wtmp, but it doesn't seem to be updating wtmp it when the user exits. I could look at this myself, but I wonder if it is something that is being looked at at the moment? Despite runnning Stable I am still getting the left over arp entries appearing after a user falls off the system. At the moment I have a script that deletes these entries every 5 minutes. Is there a solution imminent? TIA Andrew Bevin