From owner-freebsd-questions Mon Feb 3 12: 5:20 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 330C937B401 for ; Mon, 3 Feb 2003 12:05:17 -0800 (PST) Received: from truman.datasphereweb.com (12-231-81-122.client.attbi.com [12.231.81.122]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F81243F3F for ; Mon, 3 Feb 2003 12:05:12 -0800 (PST) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 46323 invoked from network); 3 Feb 2003 20:05:11 -0000 Received: from 12-229-238-38.client.attbi.com (HELO bartxp) (12.229.238.38) by 12-231-81-122.client.attbi.com with SMTP; 3 Feb 2003 20:05:11 -0000 From: "Derrick Ryalls" To: "'Doug Poland'" , Subject: RE: multiple probs with cups 1.1.18.0-4 Date: Mon, 3 Feb 2003 12:05:05 -0800 Message-ID: <002d01c2cbbf$8b95af30$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20030203184602.GA660@polands.org> Importance: Normal 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 I played with Cups about a month ago, here are my thoughts >=20 > I've done a fresh cvsup of the ports system this morning to=20 > get the latest parts of the CUPS system. >=20 > make and make install went fine and I have launched the cupsd=20 > via /usr/local/etc/rc.d/cups.sh start >=20 > Problems start occurring at this point. Here are the issues I'm > having: >=20 > 1. CUPS does not see my parallel ports. =20 >=20 > # 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 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. >=20 > 2. CUPS http interface "broke" >=20 > If I point a browser at the CUPS host: =20 > 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. >=20 >=20 > When I attempt to add a new printer via http interface=20 > by issuing > =09 > http://cupsserver:631/printers =20 > =09 > The browser returns an alert... >=20 > The document contains no data >=20 > and the /var/log/cups/error_log says... >=20 > W [03/Feb/2003:12:11:16 -0600] Possible DoS attack -=20 > more than 10 clients connecting from 172.16.1.33! > W [03/Feb/2003:12:11:16 -0600] Possible DoS attack -=20 > more than 10 clients connecting from 172.16.1.33! > W [03/Feb/2003:12:11:16 -0600] Possible DoS attack -=20 > more than 10 clients connecting from 172.16.1.33! > W [03/Feb/2003:12:11:16 -0600] Possible DoS attack -=20 > more than 10 clients connecting from 172.16.1.33! 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. > =09 > If I try to add a new printer with the URL: >=20 http://cupsserver:631/admin/?op=3Dadd-printer=20 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 I got the 'client error not possible' when I was trying to force cups to recognize the parallel printer before I had restarted the computer, but this was still via the web interface. the /var/log/cups/error_log reports:=20 =09 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'! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message