From owner-freebsd-isp Sun Jul 14 15:30:53 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA05483 for isp-outgoing; Sun, 14 Jul 1996 15:30:53 -0700 (PDT) Received: from katy.apana.org.au (katy.apana.org.au [202.12.89.57]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA05445 for ; Sun, 14 Jul 1996 15:30:35 -0700 (PDT) Received: (from davo@localhost) by katy.apana.org.au (8.7.5/8.6.12) id HAA10079; Mon, 15 Jul 1996 07:57:52 +0930 (CST) From: Dave Edwards Message-Id: <199607142227.HAA10079@katy.apana.org.au> Subject: Re: "Dynamic" sliplogin ? To: snar@lucky.net (Alexander Snarskii) Date: Mon, 15 Jul 1996 07:57:51 +0930 (CST) Cc: freebsd-isp@freebsd.org In-Reply-To: <199607141654.TAA04621@burka.carrier.kiev.ua> from Alexander Snarskii at "Jul 14, 96 07:54:20 pm" X-Mailer: ELM [version 2.4ME+ PL19 (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 'Alexander Snarskii scribbled..' > From owner-freebsd-isp@freefall.freebsd.org Mon Jul 15 03:48:44 1996 > From: Alexander Snarskii > Message-Id: <199607141654.TAA04621@burka.carrier.kiev.ua> > Subject: "Dynamic" sliplogin ? > To: freebsd-isp@freebsd.org > Date: Sun, 14 Jul 1996 19:54:20 +0300 (UKR) > Content-type: text/plain; charset=koi8-r > X-Mailer: ELM [version 2.4 PL23] > Content-Type: text > Sender: owner-isp@freebsd.org > X-Loop: FreeBSD.org > Precedence: bulk > > Hi! > > Did anybody know about the tool, which works like 'sliplogin', > but allows to dynamic ( and more than, dynamic and cached ) > assigning of remote slip addresses ? We use sliplogin here with dynamic addressing with no problems. Modify your /etc/sliphome/slip.login file to read.. -------- #/bin/sh - Port=`tty` TTY=`basename $Port` SRC_IP=203.14.158.4 echo "Running slip.login" > $Port sleep 5 echo "Checking for tty" > $Port case "$TTY" in cuaa0) DEST_IP=203.14.158.20;; cuaa1) DEST_IP=203.14.158.21;; cuaa2) DEST_IP=203.14.158.22;; cuaa3) DEST_IP=203.14.158.23;; cuaa4) DEST_IP=203.14.158.24;; cuaa5) DEST_IP=203.14.158.25;; *) esac if [ x$IP = xNone ]; then echo No IP for this port exit 1 fi echo >&- /sbin/ifconfig sl$1 inet $SRC_IP $DEST_IP mtu 1006 netmask 255.255.255.255 /usr/sbin/arp -s $DEST_IP 0:40:33:33:c9:37 temp publish echo "Your address is DEST_IP" > $Port echo "You can start slip now.." > $Port stty crtscts exit 0 --------- The users will need to look for and use the IP assigned to them. ciao dave -- Dave Edwards davo@katy.apana.org.au || davo@sa.apana.org.au Adelaide, South Australia ----