e353 Setting up HP IP printer (wifi) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2012, 02:10
forkandwait forkandwait is offline
Junior Member
 
Join Date: Nov 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default Setting up HP IP printer (wifi)

Hi all,

I am a rank amateur when it comes to admining FreeBSD, but I am trying to set up printing from a laptop to a wireless printer on the same network. Here is what I tried and how it failed, and I would love some advice:

First I ran hp-probe with these results:

Code:
  Device URI                                      Model                    Name    
  ----------------------------------------------  -----------------------  --------
  hp:/net/Officejet_Pro_8500_A910?ip=192.168.1.5  Officejet_Pro_8500_A910  HP2E806B
Then I pinged the printer just to make sure and, indeed, it is pingable.

But with hp-setup 192.168.1.5 I get this:

Code:
Searching for device...
error:  Device not found.   Please make sure your printer is properly connected and powered-on.
error:  Invalid manual discovery parameter.
I am not really even sure how to proceed. I know CUPS is installed, but I haven't configured it at all (nor do I know how).

Thanks for any help possible

Last edited by DutchDaemon; April 22nd, 2012 at 02:16. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old April 24th, 2012, 14:32
tingo tingo is offline
Member
 
Join Date: Nov 2008
Location: Oslo, Norway
Posts: 825
Thanks: 133
Thanked 82 Times in 68 Posts
Default

What happens if you just run # hp-setup?
__________________
Torfinn
Reply With Quote
  #3  
Old May 6th, 2012, 04:28
forkandwait forkandwait is offline
Junior Member
 
Join Date: Nov 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

When I run hp-setup alone, the options for Network/Ethernet are greyed out. I run it as a regular user, because otherwise it can't access the X11 for the GUI.

I tried running hp-setup 192.168.1.5 and I get
Code:
device not found
If I run as root, I have to use the "-i" flag because I don't have a GUI, and I get
Code:
using connection type USB, invalid device URI
with hp-setup -i 192.168.1.5

Don't know if anyone is still paying attention to this thread, but I can provide more info if necessary.

Last edited by DutchDaemon; May 6th, 2012 at 21:18. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #4  
Old May 7th, 2012, 20:19
tingo tingo is offline
Member
 
Join Date: Nov 2008
Location: Oslo, Norway
Posts: 825
Thanks: 133
Thanked 82 Times in 68 Posts
Default

If you want to run it as root, you can try # DISPLAY=:0.0 hp-setup
(or whatever your DISPLAY value is).
Oh, and one more thing: can you ping your printer from the workstation?
__________________
Torfinn

Last edited by tingo; May 7th, 2012 at 20:21. Reason: added ping question
Reply With Quote
  #5  
Old May 8th, 2012, 16:19
teig teig is offline
Junior Member
 
Join Date: Nov 2008
Location: Denmark
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Just got around doing this as well; and had similar problems. Apparantly hplip does not have 'net' enabled by default, had to recompile via ports enabling SNMP. This made hp-probe find the printer. And plain hp-setup also found and installed the printer.

But I have a problem with CUPS, it does not accept my root/pw as login, so can't manage my printer that way?

I'm on 9.0, on 8.x I had all this working ok, though not perfect.

Last edited by DutchDaemon; May 8th, 2012 at 22:42.
Reply With Quote
  #6  
Old May 8th, 2012, 23:22
redw0lfx redw0lfx is offline
Junior Member
 
Join Date: Aug 2011
Posts: 94
Thanks: 18
Thanked 14 Times in 13 Posts
Default

To have WIFI working with print/hplip, you must recompile from ports, making sure to select snmp option.

You must edit /etc/rc.conf and add
Code:
cupsd_enable="YES"
Then start the cupsd service. Once that is done, you can run hp-setup as a normal user, and it will prompt you for a username and password which I use root's credentials for. Your user must also be part of the wheel group, otherwise you are not able to elevate your privileges, I believe.

Last edited by DutchDaemon; May 9th, 2012 at 00:07.
Reply With Quote
Reply

Tags
hp printer wifi

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up USB printer sideburn Peripheral Hardware 35 April 16th, 2013 22:37
what is the difference between using rc.conf and manual for setting up wifi. miniqq Mobile Computing 1 June 4th, 2011 14:24
How to use a USB printer ? errandonea Peripheral Hardware 21 April 18th, 2011 15:15
Printer help dd1313 Peripheral Hardware 7 January 10th, 2010 16:16
[Solved] Setting up IP Printer (FBSD 7.2r) fuzzynco Peripheral Hardware 9 October 20th, 2009 14:08


All times are GMT +1. The time now is 14:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0