Best of the Newsgroups: hp jet direct will not print


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: hpnp and ipfilter issue?
Date: Sun, 12 Jan 2003 10:36:26 -0800 References: <c12f3009.0301110947.5df9aa3e@posting.google.com>


Hate these ads?



On 11 Jan 2003 09:47:27 -0800, carl.sopchak@cegis123.com (Carl
Sopchak) wrote:



>I have a client that's using hpnp to print to a JetDirect box.














Which model?  Different models have different bugs.



>When I first installed ipfilter, I had an issue
>with hpnp printing.  I fixed that problem, but, stupidly, didn't write
>down exactly what I did.



The JetDirect box is a print "server".  It wants to talk to your OSR5
server.  Port 9100, 9101, 9102 are the common IP ports for HPNP.
Also, OSR5 needs status information from the print server using SNMP
on port 160.  There's a list port numbers that need to be open at the
bottom of:
   http://www.cruzio.com/~jeffl/sco/lp/printservers.htm
However, almost all these ports involve connections that are outgoing
from the OSR5 server.  IPFilter allows all out going ports, so that
should not be a problem here.  It's not IPFilter.






>I *thought* I changed the spec file that I
>created for ipfilter's use on reboot to allow what's necessary
>through.



Assumption, the mother of all screwups.
Check thy assumptions.



>Yesterday, after over a month of trouble-free operation, the client
>had a power outage.  When the SCO OSR 5.0.5 box came back up, hpnp
>wouldn't print.









The default configuration of the unspecified HP JetDirect box is to
get its IP address via DHCP.  Some of the early models also use bootp
if that's unavailable.  Punch the test button on your unspecified
print server and see if the test print shows that it has an IP
address.  If not, telnet or use a web browser to set the IP address to
whatever is specified in /etc/hosts for the printer.  You should NOT
be using DHCP or bootp to assign IP addresses of fixed devices
(printers, routers, gateways, etc).  If the IP address changes every
time you have a power failure, you'll have a repetition of this
exercise.



>Trying to ping the printer's ip gives 'Host is down'.  We power cycled
>the JetDirect box, but that didn't help.  The activity light on the
>JetDirect flashes when the ping is running.  (I'm not sure if that
>means much...)



Punch the test button.  I'm guessing it's a 170x or 300x.  You should
get a test page.  No IP address, no talk.



>I tried using arp -s to map the IP to the MAC, but ping then just
>seemed to hang (no output).  arp -an shows 192.168.0.3 at
>"(incomplete)"...  Also, I can't ping 192.168.0.3 from any of the
>machines on the LAN.



If other machines can't ping the unspecified jetdirect box, then it's
either at a different address, fried, misconfigured, or disconnected.
I spent an hour fighting something similar.  When I finally power
cycled the switch (or hub) that was in between the servers and the
JetDirect box, everything magically recovered.  Like I said, check thy
assumptions.




-- 
Jeff Liebermann  150 Felker St #D  Santa Cruz CA 95060
(831)421-6491 pgr  (831)336-2558 home
http://www.LearnByDestroying.com   WB6SSY
jeffl@comix.santa-cruz.ca.us   jeffl@cruzio.com





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
2848920 5,160

/Bofcusm/1971.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

Your ad here - $48.00 yearly!

http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling


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



Twitter
  • Nov 18 20:41
    I'll be out all day Wednesday the 19th, hard to reach even by phone. Leave a message and have patience.
  • Nov 18 10:07
    What am I doing? Not doing what I WANT to be doing! Oh, well, in every life a little work must fall..




card_image








Change Congress


Related Posts