[X-Unix] Getting global IP address

Jonathan Edström jonathan at cinepost.se
Thu Nov 25 06:30:23 PST 2004


Actually, I'd go with 'curl http://minip.info'

Less code to go through ;)

/Jonathan

On Nov 25, 2004, at 2:31 PM, James Wright wrote:

> 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