From owner-freebsd-hackers Sun Sep 24 07:11:47 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA27719 for hackers-outgoing; Sun, 24 Sep 1995 07:11:47 -0700 Received: from haywire.DIALix.COM (news@haywire.DIALix.COM [192.203.228.65]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA27714 for ; Sun, 24 Sep 1995 07:11:40 -0700 Received: (from news@localhost) by haywire.DIALix.COM (sendmail) id WAA04847 for freebsd-hackers@freebsd.org; Sun, 24 Sep 1995 22:11:09 +0800 (WST) Received: from GATEWAY by haywire.DIALix.COM with netnews for freebsd-hackers@freebsd.org (problems to: usenet@haywire.dialix.com) To: freebsd-hackers@freebsd.org Date: 24 Sep 1995 22:11:04 +0800 From: peter@haywire.dialix.com (Peter Wemm) Message-ID: <443oto$4nb$1@haywire.DIALix.COM> Organization: DIALix Services, Perth, Australia. References: <199509241222.WAA21144@asstdc.scgt.oz.au>, <199509241238.NAA02437@toplink1.toplink.net> Subject: Re: pppd server with dynamic ip assignment Sender: owner-hackers@freebsd.org Precedence: bulk ck@toplink.de (Christian Kratzer) writes: >Hi >> The person to speak to is probably Rod Grimes as his "signature" appears in >> the RCS identifiers. If it's a small(-ish) patch, you could probably post it >> to the -hackers list anyway. >Actually Peter Wemm who said he was currently incorporating a new pppd already >contacted me. The patch is on it's way to him and has also been cc'ed to hackers. I've been asked to hold back until FreeBSD-2.1 has been released, as it would make David's job more difficult with bigger diffs to read through. BTW: the name in the $Id$ line isn't really a good guide as to who's the maintainer. Right before 2.0.5 was released, Rod was the one who did the (infamous) "Delete trailing whitespace" cleanup, so his name is the last one that was stored on may files in the release. Incidently, I'm not sure that this patch is the best way to do it.. From what I've seen, it looks like it might be just as easy to create a hack script like this: % cat /etc/ppp/startup #! /bin/sh case "`tty`" in /dev/ttyd0) args=":ppp-005.toplink.de" ;; /dev/ttyd1) args=":ppp-005.toplink.de" ;; /dev/ttyd2) args=":ppp-005.toplink.de" ;; ... /dev/ttyd7) args=":ppp-010.toplink.de" ;; *) echo "This tty not supported.."; exit 1 ;; esac exec pppd $args And set the login shell of each "user" to be "/etc/ppp/startup". Their .ppprc will still work the same. Cheers, -Peter >Greetings >Christian >-- >TopLink GbR, Internet Services info@toplink.de >Christian Kratzer http://www.toplink.de/ >Phone: +49 7452 87174 >Fax: +49 7452 87175 FreeBSD spoken here!