|
|
Sharing a printer with UNIX machines
This isn't directly related to this hint, but right now, the "put server name in cupsd.conf" answer is the only one that seems to be out there, and it really defeats the whole point of Rendezvous to begin with. If you've got a laptop that you're moving between networks, setting a server name in cupsd.conf just isn't the best way to go.
Using a CUPS server doesn't require that you have to manually enter the server name into the cupsd.conf file of your Mac. In order to get CUPS working with Rendezvous, you've got to do two things: define a browse address on the print server and have a way to translate IP addresses into host names. You can do this through DNS or through /etc/hosts and netinfo. (Although using a static /etc/hosts and netinfo database also defeats the purpose of Rendezvous.)
First,
To set up Rendezvous so it will work, just make sure that your CUPS print server has a browse address turned on:
#BrowseAddress x.y.255.255 #BrowseAddress x.255.255.255 #BrowseAddress 255.255.255.255 #BrowseAddress @LOCAL #BrowseAddress @IF(name)
My preferred method here is to set up a Tiny DNS dns cache/dns server combo, but you can use BIND or whatever you want. Setting up static host entries is great if you've got a bunch of desktops that you're hooking together, but if you've got a laptop that you plan on moving to different networks which may or may not have the same private addresses, defining hosts in Netinfo, or in /etc/hosts may get you into trouble (the chances are small, but they are there). If you're using a Linksys router or some other "dumb" router to provide IP addresses for your subnet, then forget it; you've either got to go to a static IP scheme, or set up your UNIX/Linux/Mac OS X print server to provide DCHP services that have IP addresses associated with MAC addresses for your network hardware. Surely not as easy as the old chooser, but once it's set up, you can do lots of other magic with machines on your network. It also means that servers like CUPS and SSHD, which rely on hostnames, will work correctly. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|