View previous topic :: View next topic |
Author |
Message |
epretorious Apprentice
Joined: 04 Jul 2003 Posts: 191 Location: Truckee, CA
|
Posted: Tue Oct 04, 2005 2:19 am Post subject: CUPS: What *is* Browsing, anyway?! |
|
|
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.)
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 |
|
|
epretorious Apprentice
Joined: 04 Jul 2003 Posts: 191 Location: Truckee, CA
|
Posted: Tue Oct 04, 2005 7:34 pm Post subject: |
|
|
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 |
|
|
snakeroot n00b
Joined: 20 Nov 2004 Posts: 34
|
|
Back to top |
|
|
epretorious Apprentice
Joined: 04 Jul 2003 Posts: 191 Location: Truckee, CA
|
Posted: Mon Oct 10, 2005 6:31 pm Post subject: |
|
|
ROTFL!!! Yes - that was a tremendous help for my overwhelming sense of bewilderment!
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 |
|
|
|
|
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
|
|