Neues aus...
Do you like Zeroconf aka. Bonjour on the Mac? Would you like your OpenSolaris Machine to do the same?
That's quite easy:
If not already in there, add mdns to the hosts and ipnodes section of your /etc/nsswitch.conf:
...
hosts: files mdns dns
ipnodes: files mdns dns
...
and enable the svc:/network/dns/multicast:default service:
# svcadm enable svc:/network/dns/multicast:default
Then your OpenSolaris Machine will announce its name on the local Network, and you can resolve the name of other mdns capable machines on your network using the .local domain.
e.g. (boulderdash is the OpenSolaris machine, uridium is the Mac)
boulderdash:[~]:> getent hosts uridium.local
192.168.42.11 uridium.local.
boulderdash:[~]:> ping uridium.local
uridium.local is alive
To make this even easier, you can include the .local domain into the mdns search path:
# svccfg -s svc:/network/dns/multicast:default \
setprop nss_mdns_config/search=astring: local
then you won't even need to type the .local extension:
boulderdash:[~]:> getent hosts uridium
192.168.42.11 uridium.local.
boulderdash:[~]:> ping uridium
uridium is alive
You can also achieve this on your Mac, when you add local to System Preferences → Network → Advanced → DNS → Search Domains
the avahi tools are used for further Zeroconf discovery and publishing of own services. See avahi-browse avahi-discover avahi-browse-domains
Neues und altes aus der Welt der Technik, Erlebnisse und Abenteuer in Japan und Deutschland.
Beobachtungen zu Land und Leute, Technisches und vielleicht auch mal ein Schneckencomic.
mdns bzw. Bonjour auf OpenSolaris | widhalm or.at.orium
August 13th, 2010 at 1717:AugAug
...für Mac User - unter OpenSolaris für Namensauflösung zu benutzen, reichen wenige Schritte, wie auf Schneckhausen beschrieben wird. Vielen Dank an Constantin "zalez" Gonzalez...
m
June 23rd, 2011 at 0000:JunJun
Noted for future reference:
http://wiki.openindiana.org:8080/display/oi/Netatalk