[X-Unix] Getting global IP address

Ryan Duff ryan at duff-duff.net
Thu Nov 25 05:38:36 PST 2004


Very good. Thanks for that great tip and congrats on your first answer.
Brilliant!



Ryan Duff
http://www.duff-duff.net
 



-----Original Message-----
From: x-unix-bounces at listserver.themacintoshguy.com
[mailto:x-unix-bounces at listserver.themacintoshguy.com] On Behalf Of James
Wright
Sent: Thursday, November 25, 2004 8:31 AM
To: A place to discuss Mac OS X from the perspective of the command line.
Subject: Re: [X-Unix] Getting global IP address

I'd try:

curl http://www.myipaddress.com/

Then parse it out of that.

HTH


James.


Woohoo!

Long time lurker, first answer ;)


On 25 Nov 2004, at 13:21, Mark Philip wrote:

> On Nov 25, 2004, at PM 05:23, Kuestner, Bjoern wrote:
>>> I'm in a wireless LAN and want to get the global (external) IP 
>>> address of my wireless router.
>>
>> www.whatismyip.com
>>
> OK. That's great, thanks.
> But is there a way to do it via the command line and not via the web?
> Thanks in advance...
> --
> Best,
> Mark.
>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
>

_______________________________________________
X-Unix mailing list
X-Unix at listserver.themacintoshguy.com
http://listserver.themacintoshguy.com/mailman/listinfo/x-unix




More information about the X-Unix mailing list