gk wrote:
> Most of this shouldn't be a problem. I can tell the ISDN adapter to
> only accept calls from my number, but how should I get it to run a
> script afterwards. And what would be the best way of having it tell me
> it's IP?
You can either use isdnlog's "START" function, which will execute
any specified program/script depending on the caller-ID, or vbox,
which does essentially the same. - Or, as others have suggested,
monitor Your logs somehow.
Then, You can use the script /etc/ppp/ip-up to send You some e-mail
with its IP address. Or, use some service like no-ip.org or the like
to reach Your box by name. In this case, though, Your box should be
up for more than some five minutes or so, until their records are
updated.
Cheers, Jack.
--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...
|