LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   CUPS Printer Configuration - Access Denied (https://www.linuxquestions.org/questions/linux-general-1/cups-printer-configuration-access-denied-46321/)

Gveto 02-20-2003 09:51 AM

CUPS Printer Configuration - Access Denied
 
I now am at the very last step of configuring my printer (HP Deskjet 6122), which is to run CUPS Printer Configuration. That package actually runs: "http://localhost:631/" however, when I run it, I get the following error page:


Quote:


While trying to retrieve the URL: http://localhost.bradley.edu:631/

The following error was encountered:

* Access Denied.

In other words, I think it is trying access something on the LAN (bradley.edu is the server) and not on my machine...

How do I fix this, and finally print something with my new printer?!

Thanks for the help.
Gveto

whansard 02-20-2003 10:16 AM

i think you accidently defined your machine
as bradley.edu

you can add
localhost.bradley.edu to your /etc/hosts file
after the loopback address 127.0.0.1
then it will access your machine instead.

Gveto 02-20-2003 10:35 AM

Well, I don't think that that is the problem, but I tried your fix, and it still doesn't work. bradley.edu is the network that I am on here at school. I think that it is trying to access a port on the LAN rather than on my computer... Why is the configuration program set up this way, anyway?!

Any other help would be appreciated.
Gveto

whansard 02-20-2003 10:38 AM

its been too long since i used it.
the cups configuration i think uses a port on
your local machine, so you can use a web browser
to configure it, if i remember right. I bet you'll
get a better answer than mine within a few hours.

Gveto 02-20-2003 11:16 AM

This is true. What I think is happening is that it is attempting to connect to a port on the LAN...
Anymore ideas?

Gveto 02-20-2003 04:43 PM

Problem solved. After tinkering around a bit, I ended up disabling the proxy servers setting in Mozilla, and selected "Direct connection to internet". With that setting, the program launched the correct pages, and I'm a printing madman.

Tinkster 02-20-2003 04:52 PM

Quote:

Originally posted by Gveto
Problem solved. After tinkering around a bit, I ended up disabling the proxy servers setting in Mozilla, and selected "Direct connection to internet". With that setting, the program launched the correct pages, and I'm a printing madman.
The alternative would have been to
put localhost in the field of hosts that
the proxy shouldn't be used for in mozillas
preferences ;)

Cheers,
Tink

Juliancito 07-01-2003 02:41 PM

see: /etc/cups
file cups.conf (i think) enable between sections where there's something like this:
<Home>

</home>


Put there also ALLOW 192.168.0.0/24 (u will be allowing all ip from 192.168.0.1 to 192.168.0.254


All times are GMT -5. The time now is 02:43 AM.