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

[ale] Offsite backup

Here is a little something that I wrote to do the same.  This script if 
you run a cron job to run every hour will check the external ip and will 
then email it to you if it changes.  Basic, but its what I use.


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