Sample Header Ad - 728x90

How can I find out the hostnames of other computers in the same local network?

5 votes
2 answers
14792 views
In my local wifi, I can find out the IP and MAC of another computer which also runs Lubuntu, and whose hostname is known to me. $ sudo arp-scan olive [sudo] password for t: Interface: wlx801f02b5c389, datalink type: EN10MB (Ethernet) Starting arp-scan 1.9 with 1 hosts (http://www.nta-monitor.com/tools/arp-scan/) 192.168.1.198 aa:bb:cc:dd:ee:ff Liteon Technology Corporation 1 packets received by filter, 0 packets dropped by kernel Ending arp-scan 1.9: 1 hosts scanned in 1.449 seconds (0.69 hosts/sec). 1 responded There are other computers in the same local wifi network, which most likely run Windows and whose hostnames I don't know. Can I find out their hostnames from my computer? arp-scan -l doesn't show that information. Thanks.
Asked by Tim (106430 rep)
Feb 24, 2019, 02:19 AM
Last activity: Jul 20, 2023, 01:15 PM