I'm installing a DB server into a clients office, and I want to be able
to set up remote ssh access to the box from home.
The glitch is that the client's ADSL internet access has a dynamic IP
address. I wondered if anyone knew of any good ways that I can get the
debian box (which will be the DB server - and the only one I've access
to) to check what IP address the office gets, and automatically e-mail
me (or something) when it changes?
The full setup for the office is:
Internet
|
|
Modem/Router
|
/ \
/ \
/ \
Debian Windows
Server desktops
My setup at home is similar (though I've got linux desktops) and I I've
tried to get the IP address that the modem is assigned, but the only way
I've been able to is by visiting internet sites (like shields up) that
report that info back.
Any clues greatly appreciated.
Cheers,
David