On 4 Apr 2001 [EMAIL PROTECTED] wrote:

> Hello,
>
> I just upgraded to kernel 2.4.3 and I can't get the printer to work for
> the life of me!
> It worked fine under 2.4.2 and 2.2.x.
> The message I get when attempting to print is:
>
> Status Information:
>  sending job 'Lance@localhost+567' to lp@localhost
>  connecting to 'localhost', attempt 1
>  cannot open connection to localhost - Connection timed out
> Make sure LPD server is running on the server
>
> What's this "cannot open connection to localhost?"
>
> I block this port with my firewall.
> i.e. iptables INPUT -p tcp --dport (printer spool port) -j DROP
> This wouldn't have anything to do with it would it?
>
> Any help would be greatly appreciated.
>
> Regards,
>
> Lance
>
>
>From the error message, it looks like it is trying to send the print job
through localhost for some reasion.  (I do not know why.)  That being
the case, your firewall rules will indeed prevent that.  One way around
that is to set up a rule at the start of your firewall rules to let
everything in that comes from the loopback interface.  I do not know how
to do it with IP tables, but for IP chains, something like:

ipchains -A input -i lo -j ACCEPT
ipchains -A output -i lo -j ACCEPT

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to