Quoting Tech Support <[EMAIL PROTECTED]>:
> run ifconfig

That is one way.  Another is: look at the /etc/ppp/ip-up shell script.
When ppp starts up, it runs this script passing various bits of info
too it.  One of those being your assigned IP.  This script also runs
anything it finds in /etc/ppp/ip-up.d/ (passing the same info).

I wrote a quickie script which saves the info somewhere.  (/var/run seems
like a good place.)

When ppp shuts down, it runs the script /etc/ppp/ip-down and anything it
finds in /etc/ppp/ip-down.d/. 

         bob
-- 
 bob billson        email: [EMAIL PROTECTED]        ham: kc2wz
                                                    Linux geek   /)
 "Níl aon tinteán mar do thinteán féin."            beekeeper -8|||}
        --Dorothy                                                \)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to