I want to get a list of the "friendly" device names on my network.
Everything I'm reading says, I should absolutely be able to do this via nmap. However, it doesn't work for me:
Starting Nmap 7.80 ( https://nmap.org ) at 2020-08-01 15:14 PDT
Nmap scan report for 192.168.11.2
Host is up (0.0057s latency).
Not shown: 993 closed ports
PORT STATE SERVICE
5000/tcp open upnp
7000/tcp open afs3-fileserver
7100/tcp open font-service
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
62078/tcp open iphone-sync
If this was working properly, it would say something like "Nmap scan report for Levi's iPhone". But, as you can see, it just states the IP address. My first thought is that this must be some kind of permissions thing or a configuration issue with the device in question. However, when I run a simple network scanning app an another mobile device, it clearly lists the IP, MAC address, and name of all the devices on the same network. So, clearly this data is available.
What am I missing? How is the app able to find this information but the terminal commands not?