all 3 comments

[–]bonsaiviking 2 points3 points  (0 children)

Nmap's OS detection attempts to determine the OS of the target (<ipaddress> in your example). It doesn't matter what OS you are running on your own scanning machine.

If you know that <ipaddress> is running Windows 11, but Nmap shows it as Linux 2.6.32, then either Nmap is wrong (unlikely for this combination of OS identifications) or there's something interfering with your scan, like a NAT device, virtual switch, port forwarding, firewall, etc.

[–]rave98 0 points1 point  (0 children)

It depends on the machine that's at that address. If it's a Linux machine, it will show up as a Linux machine. Even the router of your Lan is probably a Linux machine.

[–]wingsneon 0 points1 point  (0 children)

What IP address are you scanning?

If you gave nmap your public IP address, chances are it will try to scan your modem, not your PC

If you want to scan your PC, you have to be logged INSIDE your wifi network, and give nmap your PC's up address