Copyright 1995, Derek Elder, Under GPL License.

This is a simple shell script that I wrote to allow psuedo-dynamic IP
addressing for PPP.  I was personally getting tired of assigning every
new PPP user an IP address.

This script sets an IP address to a tty.  I got this idea from esterm@
mgl.worldlinx.com.  He did a similar method of address, though hard coded
with sliplogin.  Each tty, in the case of my system, ttyS* for dialin
from my Boca 2016 and ttyp* from connections via telnet, has a unique
IP address.  Yes, this takes more addresses than if I had just a pool to
choose from independant of each tty, but this was very simple.

You will need to modify the script to reflect the IP addresses and
tty's that your system will use.

To Install:
Simply put this shell script into a readable directory -- in my cause, that
is /etc/ppp.  You will then use this file as the users login shell in the
passwd file.

If you have any questions or comments -- including bugs and such --
please email to djelder@basenet.net.

The usual bs:  I take no responsibility for what this may do to your
system. It isnt very tested...but it works here.  Use this at your own
risk!!! :)

Derek  
