/bin/echo `/bin/hostname` is online, IP is $4. | /usr/lib/sendmail
[EMAIL PROTECTED] does not work! Sniff Sniff
It just mails me /gunhead is online, ip is .
Any ideas?
Carlo
----- Original Message -----
From: "Adam Moore" <[EMAIL PROTECTED]>
To: "Carlo" <[EMAIL PROTECTED]>
Cc: "Andrew Macks" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 22, 2000 2:46 PM
Subject: Re: [SLUG] Soundblaster Live and another question
>
> > 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
>
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text