How to tell IP address of remote machine?

Mikkel mikkel at infinity-ltd.com
Sun Oct 25 16:58:40 UTC 2009


Timothy Murphy wrote:
> Mikkel wrote:
> 
>>> ifconfig only seems to give the local 192.168.*.* address.
>>> Is there some way of getting it to tell the true IP address?
>>>
>>> (The remote machine is attached to an ADSL modem.
>>> I can get the IP address by accessing the modem,
>>> but I am not sure how I could automate this.
>>> I guess I could use lynx, and try to abstract the address ...)
>>>
>> You could download ddclient and change the config to mail all
>> messages to you.
> 
> Thanks, I'll look at that.
> But would that give me the remote IP address?
> 
If it does not already have a configuration for it, you can modify
one of the configurations to get the information from your
router/modem. What it is designed to do is get the "real" IP
address, and forward it to one of the dynamic DNS services. But all
you need is the get the IP address part, and the mail messages part.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20091025/716eb3d9/attachment-0001.sig>


More information about the fedora-list mailing list