How to see all computers connected to a network
Arp-scan works great for me too...
If using Wi-Fi:
sudo arp-scan -l --interface=wlan0
-or if using ethernet:
sudo arp-scan -l --interface=eth0
(this last is practically identical to what Rajesh Rajendran posted; the -l standing for --localnet)
If you don't have arp-scan (it doesn't come with Ubuntu by default), just pull up a terminal and type:
sudo apt-get install arp-scan
Taken from Finding All Hosts On the LAN From Linux/Windows Workstation
for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null;
[ $? -eq 0 ] && echo "192.168.1.$ip UP" || : ;
done
But for a great tool, Nmap. Great for mapping networks.
The simplest thing is
arp-scan --localnet