eric@lucii.org on Tue, 26 Aug 2003 09:05:16 -0400


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

Re: [PLUG] finding the IP


Nevermind.   "ifconfig ppp0" does the trick.  In the immortal words of
Homer Simpson... DOH!

That reminds me: was DOH! ever used in the english language prior to The
Simpsons?  Seems to me it should have been :-)

Eric

On Tue, Aug 26, 2003 at 08:49:26AM -0400, 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
> 
> -- 
> #  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
> 
> 

-- 
#  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