Date: Mon, 3 Feb 2003 12:05:05 -0800 From: "Derrick Ryalls" <ryallsd@datasphereweb.com> To: "'Doug Poland'" <doug@polands.org>, <questions@freebsd.org> Subject: RE: multiple probs with cups 1.1.18.0-4 Message-ID: <002d01c2cbbf$8b95af30$0200a8c0@bartxp> In-Reply-To: <20030203184602.GA660@polands.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > ppc1: <Parallel port> at port 0x278-0x27f irq 8 on isa0 > lpt1: <Printer> on ppbus1 > lpt1: Interrupt-driven port > ppi1: <Parallel I/O> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002d01c2cbbf$8b95af30$0200a8c0>