Here's my ip-up.local script which e-mails me the new IP each time it
connects. It's associated with a bigger set of scripts I call inetfeeler,
so that's what inetfeeler means.
#!/bin/sh
[EMAIL PROTECTED] # administrator e-mail address
SYSTID=Providence # system ID for mail subject
/sbin/ifconfig | grep -e 'P-t-P' | /bin/mail -s "inetfeeler: $SYSTID PPP
up" $MAILTO
Lee Howard
At 03:05 PM 7/17/00 -0500, you wrote:
>
>Hello everybody!
>
> I have a linux server that connects over ppp link, as you know,
>every time it connects, it has a different ip.
>
> I want to know if there is already any solution so it could notice
>another server (linux) when the link comes up and what the ip is.
>
> Could I call an script from ip-up.local?
>
> Any idea?
>
> Thanks in advance...
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.