From owner-freebsd-questions Mon Feb 3 10:46:14 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 EAA1437B401 for ; Mon, 3 Feb 2003 10:46:10 -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 BB57443FBF for ; Mon, 3 Feb 2003 10:46:09 -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 h13Ik3Il003446 for ; Mon, 3 Feb 2003 12:46:03 -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 h13Ik2n2000776 for ; Mon, 3 Feb 2003 12:46:02 -0600 (CST) (envelope-from djp@sheba.polands.org) Received: (from djp@localhost) by sheba.polands.org (8.12.6/8.12.6/Submit) id h13Ik23S000775 for questions@freebsd.org; Mon, 3 Feb 2003 12:46:02 -0600 (CST) (envelope-from djp) Date: Mon, 3 Feb 2003 12:46:02 -0600 From: Doug Poland To: questions@freebsd.org Subject: multiple probs with cups 1.1.18.0-4 Message-ID: <20030203184602.GA660@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Hello, I'm not really sure if QUESTIONS is the right place to start with this issue but here goes. (BTW, I've googled the mailing archives for both FreeBSD and CUPS, read TFMs, and used the article posted on freebsddiary.org) My intention is to build a print server supporting 2 parallel and two USB printers. I'm running 4.7-STABLE and have built world and a custom kernel on Jan 13 2003. I've done a fresh cvsup of the ports system this morning to get the latest parts of the CUPS system. make and make install went fine and I have launched the cupsd via /usr/local/etc/rc.d/cups.sh start Problems start occurring at this point. Here are the issues I'm having: 1. CUPS does not see my parallel ports. # dmesg | egrep -i 'lp|parall' ppc0: at port 0x378-0x37f irq 7 on isa0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc1: at port 0x278-0x27f irq 8 on isa0 lpt1: on ppbus1 lpt1: Interrupt-driven port ppi1: on ppbus1 # lpinfo -v network socket network http network ipp network lpd serial serial:/dev/ttyd0?baud=115200 serial serial:/dev/ttyd1?baud=115200 direct usb:/dev/ulpt0 direct usb:/dev/unlpt0 So I'm not seeing either parallel printer. Not sure if this is a CUPS issue or FreeBSD issue at this point. 2. CUPS http interface "broke" If I point a browser at the CUPS host: http://cupsserver:631/admin I see the admin page, but the navbar across the top is missing, all I see is the ALT text. The cups /var/log/cups/access_log shows 403 errors for all /images/*gif. When I attempt to add a new printer via http interface by issuing http://cupsserver:631/printers The browser returns an alert... The document contains no data and the /var/log/cups/error_log says... W [03/Feb/2003:12:11:16 -0600] Possible DoS attack - more than 10 clients connecting from 172.16.1.33! W [03/Feb/2003:12:11:16 -0600] Possible DoS attack - more than 10 clients connecting from 172.16.1.33! W [03/Feb/2003:12:11:16 -0600] Possible DoS attack - more than 10 clients connecting from 172.16.1.33! W [03/Feb/2003:12:11:16 -0600] Possible DoS attack - more than 10 clients connecting from 172.16.1.33! If I try to add a new printer with the URL: http://cupsserver:631/admin/?op=add-printer I go to the next page of the "wizard" and fill in the printer form, but a submission returns the same errors as above. 3. Cannot add printers via CLI: If I try to add a new printer from a CLI, I see... # lpadmin -p LaserJet -E -v parallel:/dev/lpt0 -m laserjet.ppd lpadmin: add-printer (set device) failed: client-error-not-possible the /var/log/cups/error_log reports: I [03/Feb/2003:12:20:52 -0600] New printer 'LaserJet' added by 'root'. E [03/Feb/2003:12:20:52 -0600] add_printer: bad device-uri attribute 'parallel:/dev/lpt0'! If anyone suggestions on where to go from here I'd appreciate it. Perhaps someone has successfully installed and is using the latest CUPS and could provide some pointers. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message