Can't setup wifi printer connected to usb with hplip
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.
Can't setup wifi printer connected to usb with hplip
I can't setup my HP smart tank 450 wifi printer connected to usb with hplip.
Earlier i was able to setup the network when USB connected but now it doesn't find any printer.
I can add it as a usb printer an use it with usb and if i run setup on another OS i am able to add the wifi printer but setup wifi doesn't work from slackware64-current.
error: policykit PolicyKit - Administrative policy framework OPTIONAL - 0.119 MISSING 'policykit needs to be installed'
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
I do have polkit-0.119 installed
Code:
Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 367, in validate
self.__update_deps_info(supported_distro_vrs, dep,
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)
My HP network printer is an Officejet so I don't know for certain this applies but I don't bother with the USB setup connection. I just pick the "network" option, one above the one you show chosen in the screenshot, and choose "manual" and enter the information displayed on the printer's little screen. Oddly enough it doesn't actually see it until I choose the appropriate driver (in my case the OfficeJet 5740) but from then on it's golden. I even get all the utilities like "Clean Heads", "alignment", "ink levels" etc.
My HP network printer is an Officejet so I don't know for certain this applies but I don't bother with the USB setup connection. I just pick the "network" option, one above the one you show chosen in the screenshot, and choose "manual" and enter the information displayed on the printer's little screen. Oddly enough it doesn't actually see it until I choose the appropriate driver (in my case the OfficeJet 5740) but from then on it's golden. I even get all the utilities like "Clean Heads", "alignment", "ink levels" etc.
My printer doesn't display that kind of stuff and the usb is used to setup the network so the printer connects to an wifi network.
Maybe you can setup the network on your printer with the display, i can't do that and need to use usb to setup the network.
I don't use WPS but i can set it up using a computer with another os.
The thing is that i used to be able to set it up with Slackware but it's not possible anymore so there i an regression since i did it last time.
Since Slackware current doesn't use the latest hplip releases i don't think i can report it as an upstream bug but i do think the functionality should be there.
My printer doesn't display that kind of stuff and the usb is used to setup the network so the printer connects to an wifi network.
Maybe you can setup the network on your printer with the display, i can't do that and need to use usb to setup the network.
Maybe I was unclear. The display is not from my printer but rather in the hplip printer setup software. Please check your screenshot above to which I referred and see that yours apparently has the Manual Discovery option. I see that yours is greyed out with the specific selection you show but it seems unlikely that the wifi software would be substantially different since the wifi hardware is pretty much the same on all HP printers.
Maybe I was unclear. The display is not from my printer but rather in the hplip printer setup software. Please check your screenshot above to which I referred and see that yours apparently has the Manual Discovery option. I see that yours is greyed out with the specific selection you show but it seems unlikely that the wifi software would be substantially different since the wifi hardware is pretty much the same on all HP printers.
That is for adding a printer already connected to a network and there is no problem adding the printer once it's connected to a network.
The problem is setting up the network when connecting the printer with USB so the printer can connect to the WiFi router.
I can setup the network on another computer and then add the printer and it works but the thing is that i have setup the network on slackware before but it doesn't work anymore.
I did add this printer with slackware to the wifi network and since i needed to change router i wasn't able to add it to my new router with slackware current.
Last edited by Nille_kungen; 07-20-2021 at 09:42 AM.
You are right. Initially I had mt Printer connected through ethernet to my router (from a 14.2 Install) when I added it via WiFi to Current. So it was already recognized at router level even if on another protocol.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.