> How do you set a machine to auto-mail the IP. It would mean i dont have to
> ring up my clients and ask them.

After successful connection, pppd runs the script /etc/ppp/ip-up.
Similarly after a successful disconnection, ip-down is run.

Something like this at the end of ip-up should do the trick:

/bin/echo `/bin/hostname` is online, IP is $4. | /usr/lib/sendmail your@email

-- adm



--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to