[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Offsite backup

On Sat, 2004-01-10 at 20:33, James P. Kinney III wrote:
> If you use something like the automatic scripts from dyndns, you can
> just point to the box you have listed there.
> Or you can add a script on a cron job that checks for an updated IP
> address and send an email to you. I use that method as it is pretty
> easy.

<homer> Doh! I left out the notion of doing a traceroute back to a
standard spot. Then just pull out the line you want. Thats the method I
have found to get around some brain dead access boxes that have no way
to script in an auto checker. The web access ones are pretty easy,
though. Use wget and its cookie/login features to grab the status page
and then dump it through some perl to strip out the chaff.
> On Sat, 2004-01-10 at 19:03, Chris Fowler wrote:
> > I plan on installing a Linux machine at my father's house to be an
> > offsite backup.  It will be sitting on a private lan behind a SMC
> > wireless router.  The router is attached to Comcast.  I need some way of
> > having this box report to me every day what its IP address is.
> > 
> > One idea is to write a client/server app in perl that will simply send a
> > hello UDP packet.  I can then parse the source address from that packet.
> > Then the perl script will update my /etc/hosts file on my server in
> > Buford.  He lives in Lincolnton, NC.
> > 
> > Thanks,
> > Chris
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part