Click to See Complete Forum and Search --> : doing stuff when online


dvdnut
01-26-2001, 07:14 PM
I know this can be done as a former work colleague showed me.

What I want to do is this:
As soon as the linux box gets online via dialup (ppp0) I want it to do two things.

First to update the dyndns information for the host and.

To email me the current IP address and/or ftp it to a website where only I know the url and post the IP there.

Does anyone know how to do this, as I have a very small idea but need to be shown in the right direction. I know there is some coding involved so I would like some help with that also

Thanks very much

dvd.

zGoRNz
01-26-2001, 07:44 PM
/etc/ppp/ip-up

for slack atleast

you put any bash commands you want there,
back when i used dial up i had
ddup --host XXX (or something like that)

as for the ftping ip thing, i say just use the dynamic dns

------------------
Dunt Dunt Duh...
GoRN To The Rescue,
Yet Again
zGoRNz@yahoo.com
aim: GoRNToTheRescue

FoBoT
01-26-2001, 10:20 PM
this might be what you are looking for
http://ipcheck.sourceforge.net/

here is another
http://www.scrounge.org/ipwatch/

i have used the second one with yi.org (dynamic dns service) the first one is recommended by the people that run dyndns.org



------------------
FoBoT
Fixer Of Broken Things
Use the right tool for the right job!

dvdnut
01-27-2001, 05:24 AM
the ipcheck one was an invalid host on sourceforge.

i am using redhat, possibly moving to mandrake so does the same apply to that as well as slack for the ip-up feature?