LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2023, 12:36 AM   #16
GraemeRS
LQ Newbie
 
Registered: Jan 2023
Posts: 29

Original Poster
Rep: Reputation: 0

Purged and reinstalled.
Same.
Says:
HPLIP cannot detect printers in your network.
This may be due to existing firewall settings blocking the required ports. When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link. https://developers.hp.com/hp-linux-i...leshootNetwork

When trying via the temporary usb connection it names the printer and then says:
An I/O error occurred.
Please check the USB connection to your printer and try again.
(Device I/O error)
 
Old 02-16-2023, 03:49 AM   #17
GraemeRS
LQ Newbie
 
Registered: Jan 2023
Posts: 29

Original Poster
Rep: Reputation: 0
I seem to have split the thread I think.
Anyway system-config-printer produced exactly the same deprecation rich output as before.
Graeme
 
Old 02-16-2023, 12:24 PM   #18
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
#1 somehow there seems a corruption on your installation. I would back up critical data and do a clean install and recovery. You might take time to check first, this could be at the REPO level and a known issue they are working on, ot they may have a work-around to fix the issue.

#2 It looks more and more to me like a faulty printer. No amount of playing around in software or configuration will fix bad hardware. Can you test it on a different device?
 
Old 02-16-2023, 07:25 PM   #19
GraemeRS
LQ Newbie
 
Registered: Jan 2023
Posts: 29

Original Poster
Rep: Reputation: 0
It (manually) connected fine at first and worked for a year or two. I have wondered if maybe a kernel upgrade upset it.There have been a few more since it lost connection.

The printer works fine on the windows computers in the house and another linux I have. No problem with it.

I upgraded mint mate from 20.03 to 21.1 but didn't do a clean and reinstall.

The main clue is that the printer can't be detected on the network, maybe like a firewall is blocking it. I initially assumed a network problem but all else is good.
Even when I connect it by usb it recognises and names the printer but won't work.
 
Old 02-16-2023, 11:54 PM   #20
GraemeRS
LQ Newbie
 
Registered: Jan 2023
Posts: 29

Original Poster
Rep: Reputation: 0
The hp support site says:
Make sure that port 161 (udp and tcp), port 162 (udp and tcp) and port 9100 (udp and tcp) are open through your firewall. If these are not open then HPLIP will not function.
How do I do that?
 
Old 02-17-2023, 12:51 PM   #21
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by GraemeRS View Post
The hp support site says:
Make sure that port 161 (udp and tcp), port 162 (udp and tcp) and port 9100 (udp and tcp) are open through your firewall. If these are not open then HPLIP will not function.
How do I do that?
That depends upon which firewall you have. If it is the distribution default then firewall settings (under some name) should be in your menus.
I often simply disable all listeners and run without firewall as long as I am not directly connected to the internet. (But I never run without malware/AV protection.) Your menu may have an option to turn the firewall off, and that should suffice for testing.

NOTE: a direct USB connection bypasses any network issues whatever. That keeps throwing me off. If it works for all of your other machines, then it must be something about this single machine. I cannot replicate that. My printer works from phones, tablets, and all versions of Linux clients exactly the same with no issues. (Except that my printer is getting OLD and starting to wear out.)
 
Old 02-19-2023, 02:13 PM   #22
GraemeRS
LQ Newbie
 
Registered: Jan 2023
Posts: 29

Original Poster
Rep: Reputation: 0
Thumbs up Solved

Thank you for your time and efforts.

I went to

How to Setup and Configure UFW Firewall on Linux Mint 20

after seeing in the HP Developers Portal doc that ports 161.162 and 9100 had to be open and eventually opened them.
HAPPY DAYS!!!

The printer was found automatically and works.

I love Linux. It's a real adventure and escape from microsoft's domineering. Escaping google is proving more difficult.

Thanks again,
See you with the next problem,
Graeme
 
  


Reply



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
LXer: Is Linux Gaining share at Windows Expense? Maybe, Maybe not LXer Syndicated Linux News 0 10-13-2010 08:00 AM
Maybe something, Maybe not ... Webmaster Warning rickh Linux - Security 2 06-12-2008 08:17 PM
How To Block Websites? Maybe /etc/hosts (.deny maybe) How? aaron4katie Linux - Security 7 01-08-2007 04:58 PM
Simple is efficient ???? Maybe/Maybe not ! bigjohn General 21 07-08-2005 10:27 AM
Maybe better off in the newbie section...but it's kinda general...sort of...maybe.. Valael Linux - General 2 10-20-2002 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:35 AM.

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