Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
John Abreau <jabr at blu.org> writes: > What I plan to do is run a cron script that periodically checks the ip > address from ifconfig. When the address changes, the script will email the > new address to a mailbox outside my home network. Why not just key off the DHCP scripts? Most DHCP implementations will run a script when the DHCP state changes; you can key off of that to email yourself. For example, pump lets you set a script in /etc/pump.conf (script = /path/to/XXX). man pump for more info. Dhcpcd also provides a script, as does dhclient. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL N1NWH warlord at MIT.EDU PGP key available - Subcription/unsubscription/info requests: send e-mail with "subscribe", "unsubscribe", or "info" on the first line of the message body to discuss-request at blu.org (Subject line is ignored).
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |