View previous topic :: View next topic |
Author |
Message |
vibidoo Guru
Joined: 27 Nov 2002 Posts: 409
|
Posted: Sun Oct 05, 2003 10:43 am Post subject: Cups , sharing printer under Gentoo |
|
|
Hello All
I had setup a printer under a system and I wish to act the system as a print server .
Underby my configuration
Code: |
On the print server /etc/cups/cupsd.conf
Browsing On
BrowseAddress @LOCAL
BrowseDeny All
BrowseAllow @LOCAL
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL
</Location>
ON the client /etc/cups/cupsd.conf
Browsing On
BrowseAddress @LOCAL
On the client /etc/cups/client.conf
ServerName printserver.mydomain.com
|
on my client
In a browser i type http://localhost:631/printers
and i can access by cups to the printserver printer
Code: |
HP LaserJet 4L, CUPS+Gimp-Print v4.2.5 on 192.68.0.120
Description: Laserjet 4L
Location: localhost on Printserver
Printer State: idle, accepting jobs.
|
But when I click on print test page
I always have an access denied on 192.68.0.120:631 !!!!
I tried to resolve the issue on the cupsd.conf
<location /admin > section
with option like Allow From 192.68.0.0/24 ...
but it doesn't resolve anything !!!!
|
|
Back to top |
|
|
Baldzius Apprentice
Joined: 17 Mar 2003 Posts: 154 Location: Lithuania
|
Posted: Mon Oct 06, 2003 5:07 am Post subject: Re: Cups , sharing printer under Gentoo |
|
|
vibidoo wrote: |
I tried to resolve the issue on the cupsd.conf
<location /admin > section
with option like Allow From 192.68.0.0/24 ...
but it doesn't resolve anything !!!!
|
Have you tried that under location / ? |
|
Back to top |
|
|
vibidoo Guru
Joined: 27 Nov 2002 Posts: 409
|
Posted: Mon Oct 06, 2003 7:18 am Post subject: |
|
|
Baldzius
Thanks for your answer
Yes I tried under location too
|
|
Back to top |
|
|
vibidoo Guru
Joined: 27 Nov 2002 Posts: 409
|
Posted: Mon Oct 06, 2003 7:22 am Post subject: |
|
|
But I think my problem come from how Cups resolve the hostname .
Because on the printserver and on the client when I write :
//localhost:631
I can reach the admin pages .
But if I write the IP or the host + 631 I have a access denied
//192.68.0.120:631 = access denied even on my printerserver .
//printserver:631 = access denied even on printserver |
|
Back to top |
|
|
Malloq n00b
Joined: 23 Sep 2003 Posts: 34 Location: Norway
|
Posted: Mon Oct 06, 2003 9:52 am Post subject: |
|
|
vibidoo wrote: |
But if I write the IP or the host + 631 I have a access denied
//192.68.0.120:631 = access denied even on my printerserver .
//printserver:631 = access denied even on printserver |
Have you configured CUPS to listen on the 192.168.0.120 interface? I don't remember the name of the section you have to edit, but you should find it if you search for Listen (or something like that). |
|
Back to top |
|
|
vibidoo Guru
Joined: 27 Nov 2002 Posts: 409
|
Posted: Mon Oct 06, 2003 6:07 pm Post subject: |
|
|
Hey
thanks a lot
It was the Listen option
thanks again
|
|
Back to top |
|
|
|