Hi JF-
I dont know what disrto your using but..
here is how i /trap/ a dynamic ip#
cut out every thing between the line paste it into your
favorte editor /pico for instance/ save it to a file name
on your path i called mine /bin/myip
then as root issue the command chmod +x /bin/myip

cut here-------------

# !/bin/sh
# call this myip
# this files assumes you have the following binaries in your path:
# ifconfig,grep,cut
ifconfig ppp0 |grep inet |cut -c 21-35 >~/ip.number

cut here-------------

this should give you the number of your latest ip number.
there's alot you can do with this.
for instance put this line in your ip-up file /a file that
is ran every time you connect to the net./
yours -*might*- be in /etc/ppp
good luck

JF wrote:
> dynamic.  (changes every damn time I use it!)

-- 
later on,
digs
:wq

Reply via email to