Listing all devices connected to a local network

sudo arp-scan --localnet Gives a list of connected devices, with IP and MAC and manufacturer name when recognised. sudo nmap -sn x.x.x.x Attempts to resolve hostnames.