I tried to find all machines which are connected my modem. I tried 192.168.x.0/24 command on gnome-terminal but it couldn't find any. My brother's laptop and my mobile phone are already connected the modem but this command couldn't find them.
Here is the output :
root@tugrul:/home/tugrul# nmap -sP 192.168.1.0/24
Starting Nmap 6.40 ( http://nmap.org ) at 2015-09-22 01:40 EEST
Nmap scan report for 192.168.1.1
Host is up (0.0050s latency).
MAC Address: xx:xx:xx:xx:xx:xx (Shenzhen Zowee Technology Co.)
Nmap scan report for 192.168.x.x
Host is up.
Nmap done: 256 IP addresses (2 hosts up) scanned in 3.40 seconds
I also tried nmap -sn 192.168.6.0/24
but there was no difference:
$ nmap -sn 192.168.6.0/24
Nmap scan report for 192.168.1.1
Host is up (0.0043s latency).
MAC Address: (Shenzhen Zowee Technology Co.)
Nmap scan report for 192.168.1.15
Host is up.
Nmap done: 256 IP addresses (2 hosts up) scanned in 3.06 seconds
How can I do that ?
14.04
) unless your issue is only relevant to one version of Ubuntu.192.168.1.XX
?sudo
before thenmap
command as TCP SYN packets are sent to only ports 80 and 443 whennmap -sP
is run as unprivileged user..