[wplug] My IP address *only*

Poyner, Brandon bpoyner at ccac.edu
Fri Mar 31 23:53:15 EST 2006


It is in /proc, just in ipv6 format.  When you run ifconfig it opens /proc/net/if_inet6 to get your IP configuration.

	-----Original Message----- 
	From: wplug-bounces+bpoyner=ccac.edu at wplug.org on behalf of Christopher DeMarco 
	Sent: Fri 3/31/2006 5:47 PM 
	To: General user list 
	Cc: 
	Subject: Re: [wplug] My IP address *only*
	
	

	On Fri, Mar 31, 2006 at 05:40:23PM -0500, Jonathan Billings wrote:
	
	> Extracting it from the output of ifconfig is probably the best way
	> to do it, any helper utilities are probably wrappers around
	> ifconfig.
	
	Shouldn't this be in /proc?  That said, I couldn't find anything...
	
	
	--
	Christopher DeMarco <cmd at alephant.net>
	Alephant Systems (http://alephant.net)
	PGP public key at http://pgp.alephant.net
	+1-412-708-9660
	_______________________________________________
	wplug mailing list
	wplug at wplug.org
	http://www.wplug.org/mailman/listinfo/wplug
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4374 bytes
Desc: not available
Url : http://www.wplug.org/pipermail/wplug/attachments/20060331/fb613ce1/attachment.bin


More information about the wplug mailing list