From owner-freebsd-questions Thu Mar 6 19:31:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA07600 for questions-outgoing; Thu, 6 Mar 1997 19:31:14 -0800 (PST) Received: from auth.internode.net (drussell@auth.internode.net [198.161.228.75]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA07581 for ; Thu, 6 Mar 1997 19:31:11 -0800 (PST) Received: from localhost (drussell@localhost) by auth.internode.net (8.8.2/8.8.2) with SMTP id VAA21063 for ; Thu, 6 Mar 1997 21:10:02 -0700 Date: Thu, 6 Mar 1997 21:10:02 -0700 (MST) From: Doug Russell To: freebsd-questions@freebsd.org Subject: PPPd server, with statix AND dynamic IP users... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Please send a cc: of responses to me... drussell@internode.net, as I'm only subscribed to things like -current and -hackers. :) I am trying to figure out a way to have PPPd act as a "server" side of a connection, forcing users to use a certain IP address, varying by ttydX line they are connected to. The exception is the few priviledged users who have static IPs. This is driving me nuts. I don't see anything in the list archives, either. If I use the options.ttydX files, it is read after the command line, options file, etc, and so forces the user to use that address (regardless of what addresses are specified for that user in pap-secrets when using PAP, incidentally). If I use no "default" IP number in options or options.ttydX, and have the static IP users listed in pap-secrets, with a generic line for other users, it works, but the user has to specify the IP address from their end. If they don't specify an address, PPPd doesn't volunteer one, essentally. Has anyone ever done something like this? I can't specify a single address in options and override with ~/.ppprc, either, because then it doesn't change by tty, and ~/.ppprc is read before options.ttydX.... Hmm Ian and I are going to have to hack the ppp source somehow to get this to work if there isn't already a way to do it. If it isn't already there, we will make it clean and provide a diff, because this is something that really should be possible without a lot of fuss. Later......