Just gimme the IP!

Luke Faraone luke at faraone.cc
Tue Jun 14 19:59:36 UTC 2011


On 06/14/2011 03:03 PM, Scott Ritchie wrote:
> My thought was it should be something analogous to "whoami" -- I 
> don't want to join in on a naming bikeshed though.  Also this reminds
> me of whatismyip.com

That only tells you via the default route, and only the public IP as
detected by that site. See below.

On 06/14/2011 12:09 PM, Mathieu Trudel-Lapierre wrote:
> Would it make sense to also have a way to get the current *public* ip
> address?

That's difficult to determine, without calling on an external service.

We could just get an API key from whatismyip.com, or use whatismyip.org
/ icanhazip.com.

-- 
Luke Faraone;; Debian & Ubuntu Developer; Sugar Labs, Systems
lfaraone on irc.[freenode,oftc].net -- http://luke.faraone.cc
PGP fprint: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20110614/db11f025/attachment.pgp>


More information about the ubuntu-devel mailing list