Wooah Eddie!!
You can handle this in several ways better than this. Both pump amd dhcpcd
provide hooks to scripts that will run when the lease is renewed, changed
etc.
Tell us which one you are using, nad I can provide more details.
And, even emailing it to you isn't as convenient as say ftping a html page
to some place with your latest ip on it.
Then a free dynamic Ip service is probably the ultimate, but I can't
suggest one - I was using dynodns, but it got ?bought? by deerfield, so
I'm assuming is not free anymore.
Anything but getting an email every 10 minutes (even if it's handled by a
procmail script) - ugh.
charles
On Fri, 22 Dec 2000, Eddie Strohmier wrote:
> Bob:
>
> A "Chris Dowling" was kind enough to share this for some other subscriber to
> this list. I have been looking for a script of this sort for a while as what
> I had been doing before was getting cron to e-mail me every hour so I know
> the IP address of network server on a dynamic dialup ISP. His script does
> not use cut but I bet cut could be utilized in some way here to achieve what
> you need. Here is the script:
>
> ifconfig ppp0 | grep 'inet addr' | awk -F: '{ print $2 } ' | awk '{ print
> $1 } ' | mail -s 'ip address' [EMAIL PROTECTED]
>
> Eddie Strohmier
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list