From owner-freebsd-questions@FreeBSD.ORG Tue May 20 20:22:31 2003 Return-Path: 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 2E80837B401 for ; Tue, 20 May 2003 20:22:31 -0700 (PDT) Received: from remt21.cluster1.charter.net (remt21.cluster1.charter.net [209.225.8.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A5B843FAF for ; Tue, 20 May 2003 20:22:30 -0700 (PDT) (envelope-from glennpj@charter.net) Received: from [24.158.214.251] (HELO gforce.johnson.home) by remt21.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 34871043; Tue, 20 May 2003 23:22:28 -0400 Received: from gforce.johnson.home (localhost [127.0.0.1]) by gforce.johnson.home (8.12.9/8.12.9) with ESMTP id h4L3MJgG008032; Tue, 20 May 2003 22:22:19 -0500 (CDT) (envelope-from glenn@gforce.johnson.home) Received: (from glenn@localhost) by gforce.johnson.home (8.12.9/8.12.9/Submit) id h4L3MJot008031; Tue, 20 May 2003 22:22:19 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Tue, 20 May 2003 22:22:18 -0500 To: Robert Storey Message-ID: <20030521032218.GA7362@gforce.johnson.home> Mail-Followup-To: Robert Storey , freebsd-questions@freebsd.org References: <20030521103242.30d0784d.y2kbug@ms25.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521103242.30d0784d.y2kbug@ms25.hinet.net> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: CUPS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 03:22:31 -0000 On Wed, May 21, 2003 at 10:32:42AM +0800, Robert Storey wrote: > In order to avoid the trauma of manually setting up a printer by > editing /etc/printcap, I thought I would use CUPS. I noticed that it > does exist in the ports collection, so I went ahead and installed > it. However, I'm not really sure how to start it. In Linux, the usual > way to run the CUPS configuration utility is to open Mozilla and type > the url "http://localhost:631/", but when I try that in FBSD, Mozilla > complains: > > "The connection was refused when attempting to contact > localhost:631" > > The handbook doesn't say anything about CUPS, nor is it mentioned in > my dead-tree reference "FreeBSD Unleashed." I assume that maybe CUPS > is a recent port to FBSD? I welcome any suggestions on how to make it > work. There should be a file in /usr/local/etc/rc.d called 'cups.sh.sample'. If you want cups to start with every boot (most likely) copy that file to 'cups.sh'. Make sure you are not running the base system lpd. Check your '/etc/rc.conf' file and make sure there is no "lpd_enable=yes" line present. To start cups without rebooting, enter: /usr/local/etc/rc.d/cups.sh start Hope that helps. -- Glenn Johnson glennpj@charter.net