Hp-setup for HP LaserJet Pro MFP 4101fdw Failures

Hello,

I am on OpenMandriva Lx rome 24.12 x86_64; Linux 6.12.6-KDE-1omv2490. I just downloaded the hplip program but I cannot get hp-setup to discover this printer.

I am multiple booting this distribution along with MX23, Endeavouros, Linux Mint and I have no problems detecting the laser printer. If it is a firewall or a ports issue, how to I go about modifying it. Thanks.

After running hp-setup, I get the following error messages:

HP Linux Imaging and Printing System (ver. 3.24.4)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Searching… (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
error: No devices found on bus: net
error: 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.
Troubleshoot Network Issues | hp's Developer Portal

Read:

ROME Release Notes

ROME Errata

Printing is discussed in Errata.

Welcome to OpenMandriva and our forum. This forum is for users of OpenMandriva Linux operating systems.

OpenMandriva Forums are primarily users helping other users.

You are welcome to talk to our developers at OpenMandriva Chat.

Users with a problem need to read How to get better results when posting about problems before reporting any issue or problem. The article is not too long and Do Read.

When a new user has an issue please look in the documentation for OMLx. OpenMandriva wiki, Forum Resources guide and the “Search” function of the forum.

If you don’t find what you are looking for, try an Internet search. One can find out a lot from documentation or forum posts at other Linux distros. If user finds something written for another distro but you have some doubt ask at OpenMandriva Chat.

For serious technical issues and package/feature requests please file a bug report here.

Note: We are a small group. All the contributors and developers here are unpaid volunteers.
You can make OpenMandriva grow and improve by getting involved

Any help with testing would be appreciated whether one is technically proficient or a very non-technical user. The more people and more hardware we can get involved the better we can make OMLx releases and packaging. We do a lot of testing in VM’s as well. Developers tend to use Qemu, most user level testers use VirtualBox.

From the web.

IPP Firewall Ports

The Internet Printing Protocol (IPP) uses TCP port 631 as its well-known port. To allow IPP printing through a firewall, you need to ensure that port 631 is open for TCP traffic. Additionally, other ports such as 80, 161, and 9100 may also be required depending on the printer model and additional protocols used, such as HTTP, SNMP, and RAW printing.

There is a possible if not likely solution in ROME Errata. OpenMandriva does not install most printer drivers by default you have to install them. It is easy.

Hint: It does not say sudo dnf install hplip there is another meta or task package to install task-printing-hp. I do not know if that will help but I have no advice to give until that is done.

Had a similar issue with Arch. Try this command (if you have it connected to your router like I did) from your terminal.

hp-setup -i <PRINTER IP>

The Printer’s IP is displayed on the front panel.

Thanks. Tried your suggestion. As mentioned by others, hp-setup -i will not work with OpenMandriva. I have used hp-setup with many other distros and it always worked before.

1 Like

Thanks Ben. I did a google search on HP laser printers and OpenMandriva but came up empty handed. Also, I browsed the wiki before posting. I will take another closer look into the wiki somemore.

Ben, task-printing-hp also did not work. After reading the Wiki some more, I use CUPS and got my HP printer to work. Just really want to thank all who chimed in to steer me towards my solution.

3 Likes

What error did you get? I just tried it on my box and got this error:

warning: No display found.
warning: GUI mode not available - switching to interactive mode.
warning: No display found.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?

I got this running the operation through SSH, before I logged into the box.

Once I logged into the box and re-ran it, it reported “done” and the GUI shows the printer.

Please look at my original post where I used hp-setup and I listed the errors that I got when I ran it. In the past, with the hp-setup command on every other linux distro, my HP LaserJet Pro was set up automatically.

May I ask you what commands did you use to get your stated errors?

  1. ssh user@IP
  2. dnf -i IP_ADDRESS

The host computer wasn’t logged in to the Plasma user desktop, it was sitting at the SDDM log in screen.

Interesting. I did exactly your step 2 but it did not work for me. I don’t use ssh but that should not be an issue.

1 Like

I set up mine with hp-setup, but it would fail to find it wirelessly. I change the default discovery method from mDNS/Bonjour to SLP and it went through like butter.

1 Like

@Phr0stByte1
welcome1

1 Like

Thank you - just testing out this distro. Much different than the Mandrake I started out on almost 30 years ago!

1 Like