Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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 installed the latest hplip, hpjis, and CUPS for Fedora Core 4, and when I attempt to use the hp-makeuri command to obtain the URI for my printer, it gives me this error:
[ERROR]: Unable to connect to hpiod.
I know that I have the correct URL for my printer, because when I type in
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Just to make sure you followed the instructions at http://hpinkjet.sourceforge.net/install.php
You have all the needed packages listed?
I am assuming you are trying an ethernet connection? Not wireless?
Have run the command as ' hp-makeuri 10.0.1.2 '?
Not sure on that model but did you define the IP from the printer itself?
Also you really only need hplip. Hplip contains hpjis and the the extra interface tools to check ink levels, make scans and so on. No fax yet.
Did you restart the service after install using the command ' service hplip restart '? and restart cupsd as the same.
Are you trying both wireless and ethernet connections? Default only allows one or the other. Doubt it is this since you can see the printers web interface.
I have a PhotoSmart 3310 and have a uri of ' hp:/net/Photosmart_3300_series?ip=192.168.60.204 '
Best guess yours will be ' hp:/net/Photosmart_2710_series?ip=10.0.1.2 '
I'm pretty sure that I have all the needed packages. Haven't run into any errors yet, and I followed the instructions on thread number 339904. Just copy and paste that number in to the end of the URL you're looking at now. (I haven't yet made five posts, and am therefore not allowed to post URLS)
Quote:
Originally Posted by Brian1
I am assuming you are trying an ethernet connection? Not wireless?
Sorry for my failure to specify. I trying to do this via wireless connection. Do I need another driver? Will it not work if it's wireless?
Quote:
Originally Posted by Brian1
Have run the command as ' hp-makeuri 10.0.1.2 '?
Yes, that is what I typed in, and with the error in my previous post.
Quote:
Originally Posted by Brian1
Not sure on that model but did you define the IP from the printer itself?
Yes, I went to the printer, navigated through the menus, and had it print its network info. Since I'm using a wireless router, the IP is simply 10.0.1.2.
Quote:
Originally Posted by Brian1
Did you restart the service after install using the command ' service hplip restart '? and restart cupsd as the same.
I tried the command 'service hplip restart' and received the error 'bash: service: command not found.
Quote:
Originally Posted by Brian1
Are you trying both wireless and ethernet connections? Default only allows one or the other.
I am only trying to do this via wireless.
Quote:
Originally Posted by Brian1
Best guess yours will be ' hp:/net/Photosmart_2710_series?ip=10.0.1.2 '
I tried the suggested URI, and it still doesn't seem to work.
Also, when configuring the Add Printer for CUPS, when I get to the 'Device' option, there are several choices such as 'Internet Printing Protocol (http)' and 'LPD/LPR Host or Printer.' If I'm running on a wireless network, which should I choose? I have tried the two that I've listed, but to no avail.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Whether wired or wireless it does not matter. Only thing is you can either use a wired connection or a wireless connection. Factory default does not allow both active at the same time. I have seen an article or two that hacking the printer firmware allows both at the same time.
If you mean you have a wireless router the best way is to connect the printer to the router using the ethernet port. Remove any configurations on the wireless settings and setup only the wired settings on printer. To use the printer as wireless it is more of aad-hoc setup which is not easy to work with sometimes. Most store bought wireless routers use the infrastructure scheme versus ad-hoc.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Reread your post and seen the error on the service command. You need to be root to run the command. To do that open a terminal session and run the command ' su - '. Enter root's password and run the service command again for hplip and cupsd.
To make sure you have all the packages run the command ' rpm -qa > ~/rpm.list '. This will create a text file in your home directory called rpm.list. Open with an editor and search to make sure you have the needed packages. Or ' rpm -qa | grep cups* '. similiar to others.
Thanks for the advice, I just obtained my URI. However, I receive the error 'client-error-not-possible' when attempting to finalize my printer settings in CUPS. It seems as though it is not picking up my printer. I have tried every 'device' option on the drop-down device menu, but none of them work. Do you know what device I should choose for a wireless printer, and what I should do so that my printer shows up in the device list?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Can't really say it is different from wired. Device should be AppSocket/HP Jetdirect. I think that is the name. Did not set mine up for wireless. Printer should show up in the list once hplip is installed. It updates the cups database list to pull from. Then the two services are restarted. Odd it does not on yours. cannot think of anything at the moment. Might contact HP support for more ideas.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Never seen that error before. Went to Google the linux way at http://www.google.com/linux . There are several links on the subject. One mentions reinstalling printing_stable. Don't know exactly that is. It might be something built when compiling cups. There is several other links but do not have the time to look through all them. If still not getting anywhere email cups developers and see what they say. Post back with your fix.
Have you updated your FC4 distro?
What did you use?
If using up2date I would change to apt/synaptic or yum.
Run the command ' rpm -qa | grep cup* ' and post the output.
If I think of anything else I will post back.
Brian1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.