[oclug] How to verify my IP address remotely

Paul Skinner skin at slammed-j.ca
Thu Jul 10 17:27:37 EDT 2003


This should answer your original question anyways.

http://www.whatismyip.com/

Paul

-----Original Message-----
From: oclug-admin at lists.oclug.on.ca
[mailto:oclug-admin at lists.oclug.on.ca]On Behalf Of David G.
Sent: Thursday, July 10, 2003 4:02 PM
To: oclug at lists.oclug.on.ca
Subject: [oclug] How to verify my IP address remotely


Greetings All:

My home LAN is behind a hardware router that does a good job of
restoring my DSL connection when for whatever reason Sympatico forces me
to do so, but unfortunately the pppoe DHCP means that I end up with a
different IP address.

When I am away for a few days, I want to know what the current IP
address of my router is, so I can ssh into one of the computers.

I was thinking of whacking together a bash script (please don't try to
teach me something else) to have a computer on the LAN periodically
e-mail itself via some e-mail program (not sure which one, bundled with
Redhat) using my Sympatico account and grep the incoming header for
"sympatico.ca ([64." blah blah. From my investigations to the moment,
maybe 'pine' for sending and 'fetchmail' (I think) for receiving the
return message.

Comparing the outgoing address (found on the incoming e-mail) with a
previously determined address stored in memory will (if the addresses
are different) direct the script to send a message to another e-mail
address that I can access while on the road.

I would like the e-mail program to leave the mail on the server for one
of the computers to periodically download, thereby clearing the mail
server (and keeping all my OCLUG messages in one place).

I searched the OCLUG archives and saw Bill Strosberg's suggestion of
posting the e-mail address to a web page, and tried a script to ftp to
ww3.sympatico.ca but it choked as soon as it entered "ftp land". Anyway
I'd rather not use ftp (passwords etc in the clear) and sympatico
doesn't seem to understand 'ssh www3.sympatico -l b1blahblah and (I'm
guessing) ssh times out.

I'm sure this is a common problem. Is there an easier way of determining
my address remotely? 

Throw me a line or two, please, before I hurt myself!
-- 
David G. Robinson -
To call me a Linux Hacker is to 
consider all cats ornithologists.
-- 
OCLUG general discussion list
OCLUG at lists.oclug.on.ca
http://www.oclug.on.ca/mailman/listinfo/oclug
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.493 / Virus Database: 292 - Release Date: 6/25/2003

---
*** All Outgoing email is virus scanned ***
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.493 / Virus Database: 292 - Release Date: 6/25/2003
 




More information about the OCLUG mailing list