Re: Cups not working
--On Wednesday, February 27, 2008 23:57:48 +0100 Mel <[EMAIL PROTECTED]> wrote: On Wednesday 27 February 2008 23:02:31 Paul Schmehl wrote: When I got to http://localhost:631/ I see the text (source) of the webpage rather than the page. (Cupsd is running.) I see this in /var/log/cups/access_log: localhost - - [27/Feb/2008:15:58:21 -0600] "GET / HTTP/1.1" 304 0 - - localhost - - [27/Feb/2008:15:58:45 -0600] "GET / HTTP/1.1" 304 0 - - localhost - - [27/Feb/2008:15:59:08 -0600] "GET / HTTP/1.1" 304 0 - - What am I missing? You're missing the first request. 304 means it should be in your browser cache. Either way, if you're seeing the source, it most likely means the webserver sends text/plain as mime-type. curl -s -o /dev/null --dump-header /dev/stdout http://localhost:631/ should shed some light on it. Thanks. That does shed some light on it. # curl -s -o /dev/null -dump-header /dev/stdout http://localhost:631/ "http://www.w3.org/TR/REC-html40/loose.dtd";> 401 Unauthorized 401 Unauthorized Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket. So I'm not being prompted for a login. If I go to http://localhost:631?, I can see the home page, but I can't get to anything because I'm not logged in. Since I'm never prompted for a login, it's a catch-22. Researching... -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cups not working
On Wednesday 27 February 2008 23:02:31 Paul Schmehl wrote: > When I got to http://localhost:631/ I see the text (source) of the webpage > rather than the page. (Cupsd is running.) I see this in > /var/log/cups/access_log: > localhost - - [27/Feb/2008:15:58:21 -0600] "GET / HTTP/1.1" 304 0 - - > localhost - - [27/Feb/2008:15:58:45 -0600] "GET / HTTP/1.1" 304 0 - - > localhost - - [27/Feb/2008:15:59:08 -0600] "GET / HTTP/1.1" 304 0 - - > > What am I missing? You're missing the first request. 304 means it should be in your browser cache. Either way, if you're seeing the source, it most likely means the webserver sends text/plain as mime-type. curl -s -o /dev/null --dump-header /dev/stdout http://localhost:631/ should shed some light on it. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CUPS not working on FreeBSD 6.2-BETA
I find the solution, Roland gives me the answere: http://www.xs4all.nl/~rsmith/freebsd/#parport #chown root:cups /dev/lpt0 !!FreeBSD is so sctrict! -- Forwarded message -- From: Axel Burwitz <[EMAIL PROTECTED]> Date: Dec 23, 2006 6:17 PM Subject: Re: CUPS not working on FreeBSD 6.2-BETA To: he ccjj <[EMAIL PROTECTED]> he ccjj wrote: On 12/23/06, Axel Burwitz <[EMAIL PROTECTED]> wrote: in FreeBSD 6.2 - RC1 it works fine here. Sure cupsd is running? Can you administrate CUPS server with http://localhost:631 ? Yes,I can connect through http://localhost:631, but when I add printer, I can not find the device of my HP 5100 printer, I have installed foomatic-db-hpijs and hpijs. True, standard CUPS install covers only small part of all possible printers in the world. You will have to experiment with printer drivers. For me, I had to take a PPD printer driver file from Linux for my Brother HL-5130 Laser printer... -- *** Axel Burwitz An der Heilquelle 20a D-63773 Goldbach Tel +49 (0) 6021 570717 Mobile +49 (0) 151 15123177 ICQ 339978580 Web www.axelburwitz.eu *** Thunderbird 1.5.0.7FreeBSD 6.2 RC1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CUPS not working on FreeBSD 6.2-BETA
I meet this problem too! My KDE can't connect CUPS. And CUPS can't detect out my HP 5100 printer. On 11/29/06, Tino Engel <[EMAIL PROTECTED]> wrote: Dear FreeBSD people, Despite having started various attempts, I cannot print within KDE 3.5.4 on FreeBSD 6.2-BETA. I always receive error message as follows: An error occurred while retrieving the printer list: Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: localhost: read failed (14). Printer files are installed. Can someone please help? Best regards, Tino Engel http://no-peanuts.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"