From owner-freebsd-questions Mon Feb 3 12:59:44 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 635EC37B401 for ; Mon, 3 Feb 2003 12:59:42 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id E03D543FA7 for ; Mon, 3 Feb 2003 12:59:40 -0800 (PST) (envelope-from djp@polands.org) Received: from sheba.polands.org (sheba.polands.org [172.16.1.33]) by galilee.polands.org (8.12.6/8.12.6) with ESMTP id h13KxWIl004382; Mon, 3 Feb 2003 14:59:33 -0600 (CST) (envelope-from djp@galilee.polands.org) Received: from sheba.polands.org (localhost [127.0.0.1]) by sheba.polands.org (8.12.6/8.12.6) with ESMTP id h13KxWn2001065; Mon, 3 Feb 2003 14:59:32 -0600 (CST) (envelope-from djp@sheba.polands.org) Received: (from djp@localhost) by sheba.polands.org (8.12.6/8.12.6/Submit) id h13KxWRs001064; Mon, 3 Feb 2003 14:59:32 -0600 (CST) (envelope-from djp) Date: Mon, 3 Feb 2003 14:59:32 -0600 From: Doug Poland To: Derrick Ryalls Cc: questions@freebsd.org Subject: Re: multiple probs with cups 1.1.18.0-4 Message-ID: <20030203205932.GA984@polands.org> References: <20030203184602.GA660@polands.org> <002d01c2cbbf$8b95af30$0200a8c0@bartxp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002d01c2cbbf$8b95af30$0200a8c0@bartxp> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 03, 2003 at 12:05:05PM -0800, Derrick Ryalls wrote: > > > 1. CUPS does not see my parallel ports. > > > > I had the same problem with the parallel port. I had to reboot the > machine with the printer plugged in and turned on for it to show up. > I powered off the computer and printers, powered on two printers then the computer and still lpinfo -v did not see my printers. > > > > 2. CUPS http interface "broke" > > > > I did not have this problem, sorry. I would suggest you double check > which hosts you are allowing to connect. There are 2(?) spots in the > cupsd.conf file to check/change depending on if you are using it as a > headless server (like me) or a desktop. Wouldn't be a bad idea to limit > it with hosts.allow too. > You were right, I double-checked my cupsd.conf and found where I had to allow connection to other hosts on the subnet. Also fixed DocumentRoot and now the web interface appears to function correctly. > > > > 3. Cannot add printers via CLI: > > Somehow, after changing the cupsd.conf and re-starting cupsd, I can now see my printers with lpinfo. Here's the extent of my changes to my cupsd.conf: rcsdiff -r1.2 -r1.1 cupsd.conf =================================================================== RCS file: RCS/cupsd.conf,v retrieving revision 1.2 retrieving revision 1.1 diff -r1.2 -r1.1 2c2 < # "$Id: cupsd.conf,v 1.2 2003/02/03 20:54:33 doug Exp $" --- > # "$Id: cupsd.conf,v 1.1 2003/01/24 15:14:34 doug Exp $" 49c49 < ServerName printsrv.mydomain.org --- > #ServerName myhost.domain.com 56c56 < ServerAdmin root@mydomain.org --- > #ServerAdmin root@your.domain.com 124c124 < DocumentRoot /usr/local/share/doc/cups --- > #DocumentRoot /usr/local/share/doc/cups 475c475 < BrowseAddress @LOCAL --- > #BrowseAddress @LOCAL 710,711d709 < Allow From 172.16.1.0/24 < Allow From 192.168.1.0/25 780,781d777 < Allow From 172.16.1.0/24 < Allow From 192.168.1.0/25 787c783 < # End of "$Id: cupsd.conf,v 1.2 2003/02/03 20:54:33 doug Exp $". --- > # End of "$Id: cupsd.conf,v 1.1 2003/01/24 15:14:34 doug Exp $". Thanks for your help! -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message