[SOLVED] Can't see wireless printer from Slackware host
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a new wireless HP printer on my private lan, IP 192.168.0.86. I cannot see this printer from any of the 3 linux hosts, either wired or wireless. I can see this printer from my Android and from the router.
I've tried pinging the printer and running nmap to see it.
Why is the printer's IP not visible to the Linux hosts?
That doesn't make sense to me unless the arp cache is stale perhaps? If you reboot the router again, verify that all hosts (including the printer) can be reached from a given Linux machine.
Do you have iptables running on your Linux machines? If so, you could temporarily flush the rules and see if that allows you to see the printer. Then it would simply be a matter of opening the right port.
If you read mfoley's opening post he stated that he can't even reach the printer with a ping or nmap. The networking has to be sorted out before any printer configuration can take place.
When you say you can see the printer "from the router",
does that mean you're accessing it's configuration page from a browser?
If so, on what system is that browser running?
When you say you can see the printer "from the router",
does that mean you're accessing it's configuration page from a browser?
If so, on what system is that browser running?
Yes, I can see it from the router's config page. I'm accessing that from a browser on one of the wired hosts, "rover", 192.168.0.43.
Quote:
Originally Posted by dlb101010
Do you have iptables running on your Linux machines? If so, you could temporarily flush the rules and see if that allows you to see the printer. Then it would simply be a matter of opening the right port.
No iptables running.
Quote:
Originally Posted by ferrari
That doesn't make sense to me unless the arp cache is stale perhaps? If you reboot the router again, verify that all hosts (including the printer) can be reached from a given Linux machine.
Code:
ping 192.168.0.86
Code:
/sbin/arp -a
I tried your `arp` command on the "netbook" host (wireless only):
Code:
1 01:39:23 root@netbook:~
# arp -a
router.asus.com (192.168.0.1) at 74:d0:2b:d2:a2:08 [ether] on wlan0
HPFBB6AB (192.168.0.86) at <incomplete> on wlan0
1 01:41:06 root@netbook:~
# ping 192.168.0.86
PING 192.168.0.86 (192.168.0.86) 56(84) bytes of data.
From 192.168.0.103 icmp_seq=1 Destination Host Unreachable
From 192.168.0.103 icmp_seq=2 Destination Host Unreachable
From 192.168.0.103 icmp_seq=3 Destination Host Unreachable
From 192.168.0.103 icmp_seq=4 Destination Host Unreachable
^C
Interesting that this `arp` noticed the printer (.86). Don't know what "incomplete" means.
To clarify, I have 4 Linux hosts and the printer as follows:
192.168.0.1 ASUS RT-N66U, wireless router and (wired) switch, DHCP server
192.168.0.10 "hpmini", wired connection, there is a wireless card, not enabled.
192.168.0.34 "server", wired connection, no wireless card at all.
192.168.0.43 "rover", wired connection, there is a wireless card, not enabled.
192.168.0.103 "netbook", wireless only.
192.168.0.86 HP Officejet Pro 8710, wireless
Here's an abridged nmap from "rover":
Code:
Nmap scan report for router.asus.com (192.168.0.1)
Nmap scan report for hpmini (192.168.0.10)
Nmap scan report for server (192.168.0.34)
Nmap scan report for NP-632643033372 (192.168.0.47)
Nmap scan report for rover (192.168.0.43)
It can see all the wired hosts, but not wireless "netbook" or Printer.
Not entirely sure what NP-632643033372 is, probably my wired Roku.
I would have expected the wireless "netbook" to be able to see the wireless Printer, but no.
From a quick search of the online manual for (ASUS RT-N66U router model)...
Quote:
• Set AP isolated: The Set AP isolated item prevents wireless
devices on your network from communicating with each
other. This feature is useful if many guests frequently join or
leave your network. Select Yes to enable this feature or select
No to disable.
You got me excited for a minute there, but no, it's already set to NOT do wireless isolation. Since this is looking like a router issue, I think I'll try swapping out that router and trying another to see if the problem persists.
192.168.0.10 "hpmini", wired connection, there is a wireless card, not enabled.
192.168.0.34 "server", wired connection, no wireless card at all.
192.168.0.103 "netbook", wireless only.
I can, in fact, ssh from hpmini (wire) and server (wired) to netbook (wireless). So, probably not an issue with the router hiding wireless hosts on the LAN.
Web browsing on the arp status "HPFBB6AB (192.168.0.86) at <incomplete> on wlan0" indicates that the router know the IP address but the device is not connected.
I've also tried adding this printer as a network printer from Windows and the Windows box can't see it either.
Maybe it's an HP setup issue? I'll investigate and possibly call their help desk.
The router can be configured to allocate IP addresses by MAC address so that the printer can be issued a specific DHCP-assigned address. So I would try setting the printer up with DHCP addressing, and with the router reserving a particular address for this device. At the very least it is bad practice to set an IP address within a router's DHCP IP range.
The router can be configured to allocate IP addresses by MAC address so that the printer can be issued a specific DHCP-assigned address. So I would try setting the printer up with DHCP addressing, and with the router reserving a particular address for this device. At the very least it is bad practice to set an IP address within a router's DHCP IP range.
I do have DHCP assigned IPs for 2 of the computers on the LAN, one Windows, the other Linux. I'll try your suggestion with the printer next. What the heck!
Meanwhile, this is the weirdest networking problem I've had in a long time. Now, suddenly, for no reason I can think of, host "hpmimi" can see the printer:
Code:
1 03:01:33 root@hpmini:~
>telnet 192.168.0.86 9100
Trying 192.168.0.86...
Connected to 192.168.0.86.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
>ping 192.168.0.86
PING 192.168.0.86 (192.168.0.86) 56(84) bytes of data.
64 bytes from 192.168.0.86: icmp_seq=2 ttl=255 time=275 ms
64 bytes from 192.168.0.86: icmp_seq=3 ttl=255 time=74.0 ms
64 bytes from 192.168.0.86: icmp_seq=4 ttl=255 time=38.2 ms
64 bytes from 192.168.0.86: icmp_seq=5 ttl=255 time=42.2 ms
No other Linux or Windows host can do this, only hpmini at 192.168.0.10; and earlier today, neither could hpmini !?!?
The router can be configured to allocate IP addresses by MAC address so that the printer can be issued a specific DHCP-assigned address. So I would try setting the printer up with DHCP addressing, and with the router reserving a particular address for this device. At the very least it is bad practice to set an IP address within a router's DHCP IP range.
That was a great suggestion! I added the printer into the router with a reserved DHCP address, and all computer can now see it!
One problem with the configuration before trying this solution, pointed out by the arp output, was that the router did assign a DHCP address, but didn't have a MAC address. When I went to add this printer to the reserved DHCP list, all other hosts on the LAN showed as possible choices, with their DHCP addresses, but not this printer. When I typed the MAC address in by hand, and assigned an IP, suddenly all hosts could see it. I was able to configure this printer on Linux host 'netbook' and print a test page.
I think there must be some bug with the printer itself in that it's not reporting its MAC address to the router. I wish I had thought to run an nmap from 'hpmini' after it was able to see the printer so I could see if it also saw the MAC address -- too late now.
I'm not going to try to figure this out any further because I've spent way more time getting this printer set up than is reasonable. It's working, so I'll leave sleeping MACs lie!
That was a great suggestion! I added the printer into the router with a reserved DHCP address, and all computer can now see it!
Glad to read that you had success with this.
Quote:
I think there must be some bug with the printer itself in that it's not reporting its MAC address to the router. I wish I had thought to run an nmap from 'hpmini' after it was able to see the printer so I could see if it also saw the MAC address -- too late now.
The printer should have been responding to ARP broadcast packets with an ARP reply confirming its IP address. For some reason this apparently wasn't happening.
Quote:
I'm not going to try to figure this out any further because I've spent way more time getting this printer set up than is reasonable. It's working, so I'll leave sleeping MACs lie!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.