[X-Unix] Getting global IP address

James Wright jameswright at drag-and-drop.com
Thu Nov 25 05:31:10 PST 2004


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
>
>



More information about the X-Unix mailing list