On 8/3/21 8:47 PM, Carlos E. R. wrote:
On 04/08/2021 02.21, Douglas McGarrett wrote:
This doesn't make sense:
localhost:~ # nmap -sP 192.168.1.* Starting Nmap 7.70 ( https://nmap.org ) at 2021-08-03 20:11 EDT Nmap done: 256 IP addresses (0 hosts up) scanned in 206.30 seconds
It should have at least found the Epson printer and the router. I was hoping it would find the old HP printer, so I would know what its IP is. Not really. With the options you used, it will only find them if they respond to ping.
try:
nmap -n 192.168.1.*
Just made a discouraging discovery. Apparently the Dell Optiplex 780 has got some kind of nanny program built into it. Not only wouldn't it run nmap, it wouldn't even run ping! My only partially functioning laptop--also Dell, BTW--ran both. I had to sneaker-net the results over here: [doug@doug@dell1 ~]$ su - Password: [root@doug@dell1 ~]# ping 192.168.1.26 PING 192.168.1.26 (192.168.1.26) 56(84) bytes of data. 64 bytes from 192.168.1.26: icmp_req=1 ttl=64 time=0.489 ms 64 bytes from 192.168.1.26: icmp_req=2 ttl=64 time=0.249 ms (extra replies deleted) --- 192.168.1.26 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms rtt min/avg/max/mdev = 0.242/0.306/0.489/0.105 ms [root@doug@dell1 ~]# nmap -sP 192.168.1.* Starting Nmap 7.12 ( https://nmap.org ) at 2021-08-03 17:53 EDT Nmap scan report for 192.168.1.26 Host is up (0.00026s latency). MAC Address: A4:EE:57:73:CB:85 (Seiko Epson) Nmap scan report for 192.168.1.27 Host is up (0.00094s latency). MAC Address: 00:0E:7F:E3:77:B7 (Hewlett Packard) Nmap scan report for 192.168.1.10 Host is up. Nmap done: 256 IP addresses (3 hosts up) scanned in 33.71 seconds -26 is the Epson printer, -27 is the only HP on the lan right now, so it must be the LaserJet. (Also, nothing here was ever assigned the -27 label. -10 is the laptop.(Both the laptop and the printer have fixed ip addresses.) --doug