hpnp getone snmp hp printers 3 port printserver


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us>
Subject: Re: Quick LP question
Date: Fri, 05 Jan 2001 18:51:06 -0800 References: <3a525c13.0@news> <G6K8tL.12K0@wjv.com> <cj355t4a69m8u898qfsbd5h1sfktc8lr9e@4ax.com> <G6KJ8o.13n0@wjv.com> <3a5343fb.0@news> <s2185tg8updtfd0n4hl9vea3cuoilbjaqe@4ax.com> <3a54aa16.0@news> <9355ah$1f$1@nnrp1.deja.com>


Hate these ads?



On Fri, 05 Jan 2001 18:55:15 GMT, Dan <danielcmartin@my-deja.com> wrote:



>Dear Matt,
>Make sure the printer on port 1 is always on and on/line.
>Or, as Jeff Liebermann pointed out to me a while back, rename
>the snmp utility /etc/getone to some other name.
>I would encourage you to try netcat instead of using hpnp.
>Regards,
>Dan














That requires a bit of explanation.  The HP JunkDirect print server has
only one IP address for all 3 ports.  SCO HPNP uses SNMP (stupid network
management protocol) to determine if the print server is ready to print.
Because there were no 3 port print servers available at the time HPNP was
first inscribed, HPNP only polls the first port for status info.  If you
take the first printer offline, HPNP thinks that all 3ea ports are
offline and nothing works on any of the ports.  Put the printer on the
first port back online, and printing resumes on all ports.



The solution is a kludge.  If HPNP discovers that SNMP is not installed
on the server, it simply pretends that the printe server is always ready.
The /etc/getone program is what HPNP uses to get SNMP status.  It is not
used by any other SCO supplied program and can safetly be renamed to
something else.



If you get a totally bogus error about adding the printer to some
non-existant access list (I forgot the name), it's the /etc/getone
problem.



Incidentally, the reason SCO has not fixed this problem was that someone
decided to impliment IPP (Internet Printing Protocol) instead, which
includes all the features of HPNP printing.  However, this was deemed to
be a major project and the entire effort was dropped.  IPP is my favorite
example of collective insanity by an industry committee.  It is the lack
of work on HPNP to deal with modern print servers and ancient bugs that
inspired me to push Kevin Smith's netcat program as the solution to all
such nonsense.  I would strongly recommend trying netcat.  You can have
both running at the same time and as long as the printer names and
printer scripts are different, there should be no complications (famous
last words before every disaster).



Drivel:  Please do not send me 24bit true-colour screen dumps of whatever
ails your system via email.  I still get my mail via a 14.4Kbits/sec
connection and only have about 30MB of diskspace left on my 3.2v4.2 mail
server.  Sometimes I'm glad that SCO doesn't include an X11 screen
grabber.











-- 
Jeff Liebermann   jeffl@comix.santa-cruz.ca.us
150 Felker St #D  Santa Cruz CA  95060
831-421-6491 pager   831-429-1240 fax
http://www.cruzio.com/~jeffl/sco/   SCO stuff













-
Google Friend Connect users can
comment on this page here


Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
154438 1,847

/Bofcusm/935.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282



Twitter
  • Dec 3 14:01
    Just went out and added more bungee reinforcement. That ought to hold it..
  • Dec 3 13:58
    I'm second guessing myself on how I bungeed the cover on my golf cart for winter storage. Wondering if high wind could rip it off..




card_image








Change Congress