On Wed, 2005-08-31 at 00:51 +1000, Andrew Lowe wrote: > Hi all, > I have the situation where I've been loaned an old Sun SPARC > box for > some work. It has a static IP somewhere in the 192.168.0.* range, > which > my home network also is in. My question is, how can I find out the IP > address of the machine? I've forgotten what it is and it's also > headless > with no keyboard. Is there a utilitiy in portage that will try all of > the ip addresses in a range and let me know if something it at the > other > end, ie something like automatically pinging all of the addresses in > a > range and reporting what addresses responded?
Nmap is what you want. It can do far more advanced things, too. But to do a simple ping sweep (and portscan anything that it finds, which will then reveal the IP): nmap -T4 -F 192.168.0.* You may need to tell it 192.168.0.0/24 instead. -- gentoo-user@gentoo.org mailing list