Re: How to tell IP address of remote machine?

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

 



Tait Clarridge wrote:

>> I had a little program which I ran each day
>> as a cron job to mail me the IP address of a machine
>> in a different country.
...
>> In any case, the program has ceased to work
>> because the site heliohost seems to have gone off-line.

> I have been using wget to check my external IP (for conky).
> 
> wget -O - http://ip.tupeux.com | tail
> 
> Should give you the output to STDOUT...

Sadly, I tried this on my remote machine,
but it did not give the same address as 
"firefox http://whatismyipaddress.com/";
(where I had to wait for a minute or so to get the response).

I'm baffled by this at the moment.
I can ping both addresses, but cannot ssh into either,
which I take to be the concrete test that I have the right address.
(But I suspect that upgrading the remote machine to CentOS-5.4
may have changed things in some way.)
I'm pretty sure that "whatismyaddress.com" 
has given the correct address in the past.

Surprisingly to me, "lynx http://whatismyipaddress.com/";
gets an error message on both local and remote machines.

"traceroute -n google.com", which has also been suggested,
gives a third IP address.

I shall continue with my experimentation ...

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux