Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
54
rated 0 times [  54] [ 0]  / answers: 1 / hits: 365563  / 2 Years ago, fri, july 29, 2022, 10:35:03

I am in a LAN and there are 3 Ubuntu, 2 Kubuntu, 2 Windows XP and 2 Windows 7. What commands or tools are available to see what PCs are connected to the LAN that it shows the name of the PC and the IP. Similar to tools like Angry IP that show all PCs in a LAN.



Note that I do not know the IPs or names of the computers connected to the LAN. So the tool or command should look for them to.


More From » networking

 Answers
0

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.


[#41844] Saturday, July 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
issfullus

Total Points: 264
Total Questions: 126
Total Answers: 107

Location: Comoros
Member since Mon, Dec 19, 2022
1 Year ago
;