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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux