FC3 Print Sharing

Bob Chiodini rchiodin at bellsouth.net
Fri Jul 8 16:33:51 UTC 2005


On Fri, 2005-07-08 at 08:09 -0700, Steve Croteau wrote: 
> On Friday 08 July 2005 3:54 am, Bob Chiodini wrote:
> > On Thu, 2005-07-07 at 21:45 -0700, Steve Croteau wrote:
> > > On Thursday 07 July 2005 1:39 pm, Erico Augusto wrote:
> > > > Steve,
> > > >
> > > > try to run system-config-printer in X (if your server doesn't have X,
> > > > access the server through Client machine . Run a terminal, access the
> > > > server through ssh,telnet[whatever] and call system-config-printer)
> > > >
> > > > Observe if sharing is enable to the printer in question. In negative
> > > > case, enable it.
> > > >
> > > > If don't work, answer with the
> > > >
> > > > <Location /printers/deskjet-5550-2>
> > > >
> > > > session of your cupsd.conf file.
> > > >
> > > > Erico.
> > > >
> > > > Em Qui, 2005-07-07 às 12:07 -0700, Steve Croteau escreveu:
> > > > > Greetings,
> > > > >
> > > > > Both legacy boxes run FC3.
> > > > >
> > > > > According to /etc/cups/printers.conf,
> > > > > device URI on Server is usb:/dev/usb/lp0
> > > > > device URI on Client is ipp://192.168.0.2:631/printers/deskjet-5550-2
> > > > >
> > > > > Server is set to share to 192.168.0.0/255.255.255.0
> > > > >
> > > > > Both machines ping each other.  Both machines have port 631 udp & tcp
> > > > > open.
> > > > >
> > > > > Why can't client print to server?  I get "Network host 192.168.0.2 is
> > > > > busy; will retry in 30 seconds".
> > > > >
> > > > > Thank you,
> > > > > Steve
> > >
> > > Erico,
> > > I'm just a novice at this but when I attempted to telnet from both
> > > machines, I got a 'connection refused' message.  I'll check my
> > > firewall...
> > >
> > > Thanks,
> > > Steve
> >
> > Steve,
> >
> > The telnet server is not typically available in FC3.  ssh should work.
> >
> > Post your /etc/cups/cupsd.conf file from your server.
> >
> > This is the significant portion from mine:
> >
> > #
> > # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $".
> > #
> > # Lines below are automatically generated - DO NOT EDIT
> > <Location /printers/lp8150>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > Allow from All
> > </Location>
> > <Location /printers/lp5500>
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > AuthType None
> > Allow from All
> > </Location>
> > Browsing On
> > BrowseProtocols cups
> > BrowseOrder Deny,Allow
> > BrowseAllow from @LOCAL
> > BrowseAddress 255.255.255.255
> > Listen *:631
> >
> > There are two printers lp8150 and lp5500.  I can see both from another
> > Fedora box on the same subnet.  Printing a test page from the remote
> > machine was successful.
> >
> > I would suggest disabling the firewall until you get this resolved,
> > 'service iptables stop'.
> >
> > Bob...
> 
> Here you go Bob,
> 
> # Lines below are automatically generated - DO NOT EDIT
> <Location /printers/deskjet-5550-2>
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> AuthType None
> Allow from 192.168.0.0/255.255.255.0
> </Location>
> Browsing On
> BrowseProtocols cups
> BrowseOrder Deny,Allow
> BrowseAllow from @LOCAL
> BrowseAddress 192.168.0.255
> Listen 192.168.0.3:631
> Listen 127.0.0.1:631
> 
> 

Steve,

I don't see anything significantly different.  The only thing I can
suggest to try is setting 'allow from all' in the printer GUI.

Trying to narrow this down a bit, do you get a 'connection refused'
error if you telnet from box #2 to box #1 on port 631? 

        telnet 192.168.0.2 631
        
Here, telnetting from the client to the server on port 631 does not
produce an error.  Hitting return closes the connection.  What do you
get if you run firefox localhost:631 on box #1?  You should see
deskjet-5550-2.

Some other things to check:  Do both machines have a subnet mask of
255.255.255.0 and broadcast mask of 192.168.0.255?  As a last resort, if
possible, try using a subnet number other than zero for the IP addresses
of your two machines (e.g. 192.168.1.2 and 192.168.1.3).

Also check /var/log/messages and /var/log/cups/* for cups errors on the
client and server.

Other than that, I'm at a loss, sorry.

Bob...




More information about the fedora-list mailing list