Summary: Help of PPP

From: Shouben Zhou (zshouben@pcs.cnu.edu)
Date: Mon Mar 06 1995 - 19:11:37 CST


First thanks the followings who all gave the great answers.

Pablo Ruiz <ruiz@babbage.csee.usf.edu>
grevemes@VTC.TACOM.Army.Mil (Steven Grevemeyer)
Scott Spevacek <spev@badger.state.wi.us>

The script below works for me!
-------------------------------------------------
#!/bin/csh
#
stty crtscts -tostop
/usr/bin/mesg n
#
foreach i ( ppp0 ppp1 ppp2 ppp3 ppp4 )
        if ( !(-e /usr/ppp/.ppp/$i) ) then
        goto connect
        endif
end
error:
        echo " Sorry, there are no available addresses."
exit 1

connect:
        touch /usr/ppp/.ppp/$i
        /usr/ppp/etc/pppd netmask 255.255.255.0 proxyarp 137.155.3.2:$i
        rm /usr/ppp/.ppp/$i >& /dev/null
exit 0
---------------------------------------------------------------------

Original post:
>
> Could anybody tell me how to dynamically assign remote IP number
> through PPP connections ?
> Thanks in advanced,
>
>

*--------------------------------------------------------------------*
* Shouben Zhou | *
* Department of Physics | e-mail: zhou@pcs.cnu.edu *
* and Computer Science | *
* Christopher Newport University | Phone : (804)-594-7749 *
*--------------------------------------------------------------------*



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT