Date: Mon, 3 Feb 2003 12:46:02 -0600 From: Doug Poland <doug@polands.org> To: questions@freebsd.org Subject: multiple probs with cups 1.1.18.0-4 Message-ID: <20030203184602.GA660@polands.org>
next in thread | raw e-mail | index | archive | help
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: <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 # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030203184602.GA660>