On Thu, Nov 10, 2005 at 03:59:47PM -0800, Carl Lowenstein wrote:
> On 11/10/05, Lan Barnes <[EMAIL PROTECTED]> wrote:
> > On Tue, Nov 08, 2005 at 12:19:28PM -0800, Ralph Shumaker wrote:
> > > Todd Walton wrote:
> > >
> > > >A simpler way of doing it (maybe) is simply to use her IP address.  In
> > > >this case you'd use a command like "ssh [EMAIL PROTECTED]", if
> > > >69.239.117.25 were her IP address.  The IP address will be different
> > > >every time she gets online.  A way to find out what it is is to have
> > > >her go to http://whatismyip.com/ .  Try it yourself right now.  That
> > > >tells you what IP address you are visiting the website from, i.e. that
> > > >is your IP.  When she goes to that website she'll see *her* IP.  Then
> > > >she can either call you and tell you it, or send you an email with it.
> > > >(There's no security risk with sending it through the email.)
> > > >
> > > >
> > >
> > > Is there a way to have her computer automaticly send me an email if her
> > > IP address has changed?  I think it tends to *not* change very often
> > > since she is on Cox.
> > >
> >
> > I'm seeing a perl cron job that runs /sbin/ifconfig at intervals, parses
> > the outside ethX card's IP addr, compares it to a addr stored in a file,
> > and writes a new file and sends email if changed.
> 
> Only works if your "outside ethX card" is part of the system on which
> you run /sbin/ifconfig.  If it is part of an external
> router/NAT/firewall box, you can't get there from here.  It's possible
> to interact with the management software of the external box to find
> out what IP address has been given to it by your cable modem, etc.  I
> once made a script that did that for my Linksys BEFW11S4.  But letting
> "whatismyip.com" do it for you seems easier.
> 
>     carl

Yup.

-- 
Lan Barnes                    [EMAIL PROTECTED]
Linux Guy, SCM Specialist     858-354-0616


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to