LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2017, 11:16 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Rep: Reputation: 177Reputation: 177
Can't see wireless printer from Slackware host


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?
 
Old 01-16-2017, 11:52 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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
 
Old 01-17-2017, 07:49 AM   #3
dlb101010
Member
 
Registered: Dec 2016
Posts: 61

Rep: Reputation: 18
Hey mfoley,

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.

Dave
 
1 members found this post helpful.
Old 01-17-2017, 11:45 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Did you set it up with HPLIP?
 
Old 01-17-2017, 05:02 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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.
 
Old 01-17-2017, 06:06 PM   #6
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
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?
 
Old 01-18-2017, 01:10 AM   #7
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by STDOUBT View Post
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 View Post
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 View Post
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.

Yet, my Android can see the printer.

Last edited by mfoley; 01-18-2017 at 01:15 AM.
 
Old 01-18-2017, 02:06 AM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Check that you don't have wireless isolation enabled in your router.
 
Old 01-18-2017, 02:11 AM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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.
https://www.manualslib.com/manual/43...page=62#manual
 
Old 01-18-2017, 08:40 PM   #10
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by ferrari View Post
From a quick search of the online manual for (ASUS RT-N66U router model)...

https://www.manualslib.com/manual/43...page=62#manual
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.
 
Old 01-18-2017, 10:12 PM   #11
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
More info ... referring to my posted host list:

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.
 
Old 01-18-2017, 11:09 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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.

https://www.asus.com/support/faq/114068/

Last edited by ferrari; 01-18-2017 at 11:13 PM.
 
1 members found this post helpful.
Old 01-19-2017, 02:20 AM   #13
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by ferrari View Post
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.

https://www.asus.com/support/faq/114068/
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 !?!?
 
Old 01-19-2017, 02:40 AM   #14
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by ferrari View Post
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.

https://www.asus.com/support/faq/114068/
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!

Thanks for the idea.

Last edited by mfoley; 01-19-2017 at 02:43 AM.
 
Old 01-19-2017, 03:00 AM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
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!
Yes, life is too short for some of these issues!

Last edited by ferrari; 01-19-2017 at 03:14 AM.
 
  


Reply

Tags
network connectivity, wireless



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.0 Firefox printer duplex no longer using printer system default girvinh Slackware 1 06-14-2014 04:01 PM
block ping from host to host using iptables (I am the wireless access point) tris_halo Linux - Security 1 07-14-2013 11:43 AM
Printer Recommendation (Slackware 12.2, looking for laser printer for network) thegoofeedude Slackware 23 08-27-2009 10:28 PM
Can i serve a printer that is not supported by the host? if so how? enyawix Linux - Server 4 07-14-2008 06:39 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration