JP Toto on Tue, 26 Aug 2003 09:07:06 -0400


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

Re: [PLUG] finding the IP


I don't think I can offer an intelligent solution to this problem but I would love to see the script. Any chance you could post it for us?

eric@lucii.org wrote:

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


-- JP Toto ViceClown@yahoo.com jtoto@member.fsf.org

"Everybody hits.... wuhoo!!!"

_________________________________________________________________________
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