Scanning for my printer's "new" IP address

Ben Eisenbraun bene at klatsch.org
Sat Jan 27 09:48:08 EST 2007


On Sat, Jan 27, 2007 at 09:17:02AM -0500, Doug wrote:
> Isn't there a command to look through local IP addresses for the
> printer, which is listening for print jobs?  This machine is being
> assigned the address 192.168.1.2 by the DHCP server.

You can use nmap for this.

nmap -sP 192.168.1.0/24

will do a ping sweep of your subnet looking for machines that 
respond.  If the printer is configured not to respond to ICMP, 
you can start doing trickier stuff with nmap to get a response.
Read the man page for details.

-b

--
all is chaos under heaven, and the situation is excellent. 
                                              <mao zedong>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list