Kevin Anderson wrote:
Create a cronjob that:Or, if you're using dhclient, modify the /sbin/dhclient-script script. There's a section there that actually handles a change in IP address. Just email the contents of $new_ip_address to your external mail account.
writes your IP address to a file called current every hour.
Compare the contents of current with the contends of old.
if they are different, then mail [EMAIL PROTECTED] < current
copy current over old
end
Then create the original old file for yourself.
Depending on how much you value SSH access, have it check hourly.
I find that SSH tunnelling suffices for most of my needs, but if you need more, try IPSec via FreeS/WAN.
I used to use an HP SCSI CD-RW drive with Linux and they're very reliable.
On yet another tangent, I hear that there'll be a new mechanism for using IDE CD-RW drives in kernel 2.6. It won't be using emulated SCSI over IDE like what's being used right now.
--
*Richard Plana, B.Sc., CCNA*
Secretary
Calgary Linux Users' Group
