A simple way to fix all HP probems is to not use the hp programs. Use Where do I get "netcat" and how do I use it?
From: Jeff Liebermann <email@example.com> Subject: Re: Problems trying to access HP Printer Date: Mon, 15 Oct 2001 10:25:15 -0700 References: <Xswy7.92$Gu2.firstname.lastname@example.org> On Mon, 15 Oct 2001 17:43:39 +1000, "Greg Hines" <email@example.com.NOSPAM> wrote: >=============================================================== >Checking that sherbris is on the printer's access list ... >/usr/lib/hpnp/cfg/canaccess fomain > >Printer access test failed. Add sherbris to the >printer's access list before continuing. >===============================================================
1. Please do not put useful information below the signature line (which starts with the two dashes). Most news readers will not quote that part for replies. 2. The error message is bogus. What's really happening is that SNMP is not able to access your unspecified printer. If you're going through a firewall, that means that port 161 will need to be open to the printer. HPNP uses SNMP to get the printer status info. However, HPNP can be tricked. On your unspecified version of OSR5, rename the program /bin/getone to something else to get it out of the way. If HPNP finds that it doesn't have the proper binary to query the printer, it returns an always read message. It should work after that. Another possibility is that you've tweaked the SNMP R/O community name on the printer. Put it back to "public". Run: getmany printer_ip public iso If you get pages and pages and pages and pages of OID's, SNMP is working. -- Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060 (831)421-6491 pgr (831)426-1240 fax (831)336-2558 home https://www.LearnByDestroying.com WB6SSY firstname.lastname@example.org email@example.com
Got something to add? Send me email.