On 12/09/2021 00.40, Douglas McGarrett wrote:
On 9/12/2021 12:08 AM, Carlos E. R. wrote:
On 11/09/2021 22.14, Douglas McGarrett wrote:
To find a networked hp printer, you probably want to do:
nmap -p 9100 -n 192.168.1.*
ran that in Windows, but got no answers:
C:\Users\Douglas McGarrett>nmap -p 9100 -n 192.168.1.* Starting Nmap 7.92 ( https://nmap.org ) at 2021-09-11 20:57 GMT Summer Time Nmap done: 256 IP addresses (0 hosts up) scanned in 208.53 seconds
Then tried with the third entry set to 0 and got this:
C:\Users\Douglas McGarrett>nmap -p 9100 -n 192.168.0.* Starting Nmap 7.92 ( https://nmap.org ) at 2021-09-11 23:34 GMT Summer Time Nmap scan report for 192.168.0.1 Host is up (0.0029s latency).
PORT STATE SERVICE 9100/tcp closed jetdirect MAC Address: 1C:AF:F7:DD:AE:FF (D-Link International)
That's the router.
Nmap scan report for 192.168.0.102 Host is up (0.0020s latency).
PORT STATE SERVICE 9100/tcp filtered jetdirect MAC Address: F0:4D:A2:0F:81:CF (Dell)
Nmap scan report for 192.168.0.103 Host is up (0.0029s latency).
PORT STATE SERVICE 9100/tcp open jetdirect MAC Address: 48:0F:CF:C3:33:B7 (Hewlett Packard)
The HP printer, probably.
Nmap scan report for 192.168.0.104 Host is up (0.0023s latency).
PORT STATE SERVICE 9100/tcp closed jetdirect MAC Address: 00:26:B9:D4:42:2D (Dell)
Nmap scan report for 192.168.0.100 Host is up (0.00s latency).
I am not familiar with the value of the third number in the ips. I seem to remember that 5 or 6 years ago, all my ips had a 1 in the third position; now they all seem to want a 0.
Well, your router changed, didn't it? Then the numbers can change, 0 and 1 are typical, but it could be 132, or 83, or 200, for instance.
Anyway, not discovering the Epson printer ip, if any.
Well, I told you the trick for HPs, not Epson. I don't know what port the Epson uses. Google "what port uses an epson printer" <https://epson.com/faq/SPT_C11CD16201~faq-0000525-shared?faq_cat=faq-8796127635532> ok, try: nmap -p 3289,515,9100,631 -n 192.168.0.* -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))