Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cups , sharing printer under Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Sun Oct 05, 2003 10:43 am    Post subject: Cups , sharing printer under Gentoo Reply with quote

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
View user's profile Send private message
Baldzius
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 154
Location: Lithuania

PostPosted: Mon Oct 06, 2003 5:07 am    Post subject: Re: Cups , sharing printer under Gentoo Reply with quote

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
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Mon Oct 06, 2003 7:18 am    Post subject: Reply with quote

Baldzius

Thanks for your answer

Yes I tried under location too

:(
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Mon Oct 06, 2003 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Malloq
n00b
n00b


Joined: 23 Sep 2003
Posts: 34
Location: Norway

PostPosted: Mon Oct 06, 2003 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Mon Oct 06, 2003 6:07 pm    Post subject: Reply with quote

Hey

thanks a lot

It was the Listen option

thanks again

:P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum