Hi Chris!
Tnx for the script for displaying the dynamic IP address:
> #!/bin/sh
> # name : ppp_ip
> #
> # 29/09/1998 V 1.0
> #
> # [EMAIL PROTECTED] http://chris.hislora.com.au
> #
> # this finds out the ppp link's ip number
> #
> PPP=`/sbin/ifconfig |grep P-t-P |cut -f2 -d :|cut -f1 -d ' '`
> echo " my ppp ip is " ${PPP}
>
Do you know of a way of picking up the IP address and send it out as
an e-mail? May be some pointers in the right direction? Functions
from the lib-www cgi package?
What I am trying to do is having my Linux box in Spain turn on and
send the IP address by e-mail to my Linux box in Norway when
someone is coming up my driveway. When the e-mail is received in
Norway I would connect to the Apache server in the Spain box and
look at the visitor using the on line camera.
I can basically do this now, but I have to be in Spain to send the IP
address manually to my friend in Norway!
Regards from Kjell (la3sg/ea7avp)