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> 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
/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.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar