eric@lucii.org on Tue, 26 Aug 2003 08:50:17 -0400 |
I've got a script (perl, natch) that emails me from a linux server when it's IP address changes. It uses cron to check hourly and compares against a file with the last IP. It determines the IP by parsing the output of "ifconfig eth1". Sadly, this does not work on a Verizon DSL line --- must be because of the use of PPPOE? /sbin/route does not work either... the IP is simply not there. Anyone know how to reliably determine the IP address of a box that's using PPPOE? TIA Eric -- # Eric Lucas # "Oh, I have slipped the surly bond of earth # And danced the skies on laughter-silvered wings... # -- John Gillespie Magee Jr. _________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|