Quoting Ernie Schroder <[EMAIL PROTECTED]>: > I'm about to start throwing stuff! I can't figure out how to set up my > /etc/cups/cupsd.conf on Gentoo#1 so that I can use its printer from > Gentoo#2 I've followed a couple of howto's without results and would > appreciate some help from someone who has a similar setup. > Gentoo#2 is looking to the network for the printer but lpstat -a > returns Unable to connect to server: Connection refused
I have a similiar setup. It is an older, crufty Gentoo box that I haven't had time to update recently, so it is an older version of cups, etc. That having been said, here is a diff of the working network server and the default cups installation (both gentoo boxes, both several months older than the current snapshot). /etc/cups/cupsd.conf is the file in question: (cups.conf-chalice is the working network print server config, I.e. +++ represents the diffs you're interested in). Note that 10.2.x is our internal network, yours will likely differ. # diff -u /etc/cups/cupsd.conf cupsd.conf-chalice --- /etc/cups/cupsd.conf 2003-06-04 11:50:04.000000000 -0500 +++ cupsd.conf-chalice 2003-10-13 11:19:00.000000000 -0500 @@ -1,14 +1,14 @@ # -# "$Id: cupsd.conf-1.1.18,v 1.1 2003/01/27 21:50:16 lordvan Exp $" +# "$Id: cupsd.conf.in,v 1.10 2002/12/17 22:08:08 mike Exp $" # -# Sample configuration file for the Common UNIX Printing System (CUPS) +#Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. # -# Copyright 1997-2003 by Easy Software Products, all rights reserved. +# Copyright 1997-2003 by Easy Software Products, all rights reserved. # -# These coded instructions, statements, and computer programs are the -# property of Easy Software Products and are protected by Federal -# copyright law. Distribution and use rights are outlined in the file +# These coded instructions, statements, and computer programs are the +# property of Easy Software Products and are protected by Federal +#copyright law. Distribution and use rights are outlined in the file # "LICENSE.txt" which should have been included with this file. If this # file is missing or damaged please contact Easy Software Products # at: @@ -46,7 +46,7 @@ # To set the default server used by clients, see the client.conf file. # -ServerName localhost +#ServerName myhost.domain.com # # ServerAdmin: the email address to send all complaints/problems to. @@ -364,8 +364,7 @@ #Port 80 #Port 443 -##Port 631 -Listen 127.0.0.1:631 +Port 631 # # HostNameLookups: whether or not to do lookups on IP addresses to get a @@ -427,7 +426,7 @@ # information on the network. Enabled by default. # -#Browsing On +Browsing On # # BrowseProtocols: which protocols to use for browsing. Can be @@ -473,7 +472,7 @@ #BrowseAddress x.y.255.255 #BrowseAddress x.255.255.255 #BrowseAddress 255.255.255.255 -#BrowseAddress @LOCAL +BrowseAddress @LOCAL #BrowseAddress @IF(name) # @@ -706,8 +705,11 @@ <Location /> Order Deny,Allow -Deny From All -Allow From 127.0.0.1 +Deny From None +# All +#Allow From 127.0.0.1 +Allow From All +# Allow From 10.* </Location> #<Location /classes> @@ -775,11 +777,13 @@ ## Restrict access to local domain Order Deny,Allow Deny From All -Allow From 127.0.0.1 +#Allow From 127.0.0.1 +Allow From 10.2.* +# Allow From 10.* #Encryption Required </Location> # -# End of "$Id: cupsd.conf-1.1.18,v 1.1 2003/01/27 21:50:16 lordvan Exp $". +# End of "$Id: cupsd.conf.in,v 1.10 2002/12/17 22:08:08 mike Exp $". # -- [EMAIL PROTECTED] mailing list