[lug] What's my IP?

Dhruva B. Reddy bdhruva at gmx.net
Wed Jan 26 06:36:35 MST 2005


Try remoting to another box from the box in question and finger
yourself.  This, of course, requires that finger be installed on the
remote box.

On Tue, 25 Jan 2005 at 16:48 -0700, Jeff Schroeder soliloquized thusly:
> Hey all--
> 
> A friend just posed an interesting question to me... he wants to know 
> the IP address of a Linux machine, and he suspects that 'ifconfig' has 
> been compromised (as a joke, not as an evil rootkit).  He asked how he 
> can find the IP without using ifconfig and without connecting to 
> another machine.  He has root access.
> 
> Depite a lot of Linux network background, I was amazed to find that I 
> didn't really know.  You *always* use 'ifconfig' for that!  In its 
> absence, what else is there?  I suspect there's a file buried somewhere 
> in /proc, but a bit of poking around didn't turn up anything useful.
> 
> Assume this is a "basic" installation and doesn't include fancy network 
> analysis tools like nmap, ettercap, or ethereal.
> 
> Ideas?
> 
> Thanks,
> Jeff
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 



More information about the LUG mailing list