Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: bakedjake

Message Too Old, No Replies

How to lists hosts connected to a local network

     
1:08 pm on Jan 31, 2008 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:14
votes: 0


Hi:

Is there any command to list the hosts that are connected to a local network at a moment? I'm running Fedora Core 4 with Samba.

Thanks!

1:11 pm on Jan 31, 2008 (gmt 0)

New User

10+ Year Member

joined:Sept 18, 2002
posts:14
votes: 0


This could do the work:

smbclient -L servername

4:38 pm on Jan 31, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 31, 2003
posts:1316
votes: 0


Or if you want to find machines that might not be file sharing-enabled, get a copy of nmap, and do a scan:

nmap -sP 192.168.1.1-254