Re: Use of Cups printing in a home network.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 03 July 2006 15:58, Aaron Konstam wrote:
> On Fri, 2006-06-30 at 06:57 -0700, Randy Wyatt wrote:
> > On 6/30/06, Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:
> > > On Tue, 2006-06-20 at 11:05 +0930, Tim wrote:
> > > > On Mon, 2006-06-19 at 16:23 -0500, Aaron Konstam wrote:
> > > > > I would like to use cups printing in my home network which consists
> > > > > of a three Linux machines connected to a DSL router.
> > > > >
> > > > > I would like to use one of the machines as the print server and be
> > > > > able to print from all the three machines, but nothing I try works.
> > > > > I can't make browsing to occur.
> > > > >
> > > > > I suspect that  this has something to do with transmission to the
> > > > > various machines through port 631 but could anyone explain how this
> > > > > can be done?
> > > >
> > > > Ordinarily, this is easy to do.  Set up your server, do nothing with
> > > > the clients, and the default firewall options lets local printing
> > > > sort itself out.
> > > >
> > > > When that doesn't work, you may have to rethink how your firewall is
> > > > set up.  You may have to specify the server address in the
> > > > client's /etc/cups/client.conf file.  You may have to hand-edit the
> > > > server /etc/cups/cupsd.conf file to listen to the local network and
> > > > allow local connections.
> > > >
> > > > Read those config files, and the corresponding manuals/documentation.
> > >
> > > I have done all this but look carefully at the firewall provided by the
> > > DSL router. It just does not work. Browsing from server jsut does not
> > > occur. I have done this many times with a standard lan and it has
> > > always worked. So I am stumped.
> > >
> > > I can't be the only one to want to do this. What do othere do?
> > >
> > > --
> > > Aaron Konstam <akonstam@xxxxxxxxxxxxx>
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list@xxxxxxxxxx
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> > >
> > >From a client,  telnet printserver 631
> >
> > The firewall on the DSL router is only for inbound connections
> > usually, and anything on the LAN portion acts just like a hub.
> > Are you possibly using different subnets?ll other services ssh, sftp,
> > etc. work between the machines
>
> I don't think so. All the other services (ssh, sftp ., etc) work between
> the machines. When on my home network the machines are accessable by
> name. Their ips are 192.168,1.100, 192.168.1.101, etc.
>
> There must be a misconfiguratin on in the cupsd.conf but I cna't find
> it. No browsing occurs and I can't figure out why. I have done this
> several times on other lans and it has worked.
>
> Would someone whose home network has printing working be willing to
> share there cupsd.conf with me?
> --
> Aaron Konstam <akonstam@xxxxxxxxxxxxx>
Hi Aaron. This is from FC2 running on the client machine, and printing to the 
printer on the other machine by means of the print server that is running on 
whichever distro I have running on the print server machine.

Incidentally I still have problems setting up cups for new distros on the 
print server machine, and have had to resort to using the printer config 
tool. This too for printer sharing from the other machine.



/etc/cups/cupsd.conf:
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
Listen 127.0.0.1:631

And also.
/etc/cups/printers.conf:

# Printer configuration file for CUPS v1.1.20
# Written by cupsd on Sun 02 Jul 2006 20:32:36 CEST
<DefaultPrinter netprint>
Info 
Location ipp://192.168.0.230/printers/printer
DeviceURI ipp://192.168.0.230/printers/printer
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer netprint1>
Info EpsonC44UX
Location ipp://192.168.0.234/printers/printer
DeviceURI ipp://192.168.0.234/printers/printer
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer printer>
Info netprint2
Location ipp://192.168.0.236/printers/printer
DeviceURI ipp://192.168.0.236/printers/printer
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

Nigel.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux