Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS: What *is* Browsing, anyway?!
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
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Tue Oct 04, 2005 2:19 am    Post subject: CUPS: What *is* Browsing, anyway?! Reply with quote

I'm struggling to understand CUPS' configuration directives. Specifically: Browsing. What is browsing, anyway?! :?

e.g., I'm using CUPS on my Mandrake-workstation (172.16.1.99) and on my Gentoo gateway/print-server (172.16.1.1). When I check the web-interface of my workstation (http://172.16.1.99:631) I don't see the printer that is attached to my gateway, but once I manually configure my workstation to use the gateway's attached printer (http://172.16.1.1:631/printers/LaserJet) I can see the workstation's printer (LaserJet@172.16.1.99) when using the gateway's web-interface to view it's printers (http://172.16.1.1:631/printers)! (i.e., There's some sort of weird circular-relationship going on between the two CUPS servers.) 8O

Workstation:
Code:
BrowseAddress @LOCAL
BrowseDeny All
BrowseAllow 127.0.0.1
BrowseAllow @LOCAL
BrowseOrder deny,allow
BrowsePoll @LOCAL

Gateway:
Code:
BrowseAddress @IF(eth1)
BrowseAddress @IF(eth2)
BrowseAllow @IF(eth1)
BrowseAllow @IF(eth2)
BrowseDeny @IF(eth0)
BrowseOrder deny,allow

How can I configure...

1. the gateway to announce the availability of the printer that is attached to it? (i.e., to share http://172.16.1.1:631/printers/LaserJet)
2. the workstation to listen for printers available on the LAN?
_________________
Eric P.
Sunnyvale, CA


Last edited by epretorious on Mon Oct 10, 2005 6:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Tue Oct 04, 2005 7:34 pm    Post subject: Reply with quote

So it appears that the key to making the server's printers visible to my workstation is the BrowserPoll setting. (Configuring the ServerName setting - in /etc/cups/client.conf - did not have the desired effect.) :?

Workstation:
Code:
BrowseAddress @LOCAL
BrowseDeny All
BrowseAllow 127.0.0.1
BrowseAllow @LOCAL
BrowseOrder deny,allow
BrowsePoll 172.16.1.1

_________________
Eric P.
Sunnyvale, CA
Back to top
View user's profile Send private message
snakeroot
n00b
n00b


Joined: 20 Nov 2004
Posts: 34

PostPosted: Wed Oct 05, 2005 1:01 am    Post subject: Reply with quote

Does this help:

The Luxury of Ignorance: An Open-Source Horror Story?

Regards,
Back to top
View user's profile Send private message
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Mon Oct 10, 2005 6:31 pm    Post subject: Reply with quote

snakeroot wrote:
Does this help:

The Luxury of Ignorance: An Open-Source Horror Story?


ROTFL!!! Yes - that was a tremendous help for my overwhelming sense of bewilderment! :wink:

I've been feeling like such an idiot because every article that I read heralds CUPS' easy-to-use interface (without, of course, addressing it's configuration).

Thanks, snakeroot!
_________________
Eric P.
Sunnyvale, CA
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