Difference between revisions of "Mesh/Firmware/Zeroconf"

changed formatting again
(changed the formatting again)
(changed formatting again)
Line 18: Line 18:
* [http://linux.die.net/man/8/avahi-dnsconfd avahi-dnsconfd] - a Unicast DNS server made from mDNS/DNS-SD configuration daemon
* [http://linux.die.net/man/8/avahi-dnsconfd avahi-dnsconfd] - a Unicast DNS server made from mDNS/DNS-SD configuration daemon
* [http://linux.die.net/man/8/avahi-autoipd avahi-autoipd] - a IPv4LL network address configuration daemon  
* [http://linux.die.net/man/8/avahi-autoipd avahi-autoipd] - a IPv4LL network address configuration daemon  


Features:  
Features:  


* Embeddable mDNS stack (i.e. mDNS stack available as library)
* Embeddable mDNS stack (i.e. mDNS stack available as library)
Line 28: Line 26:
* Wide area DNS-SD support (read-only for now)
* Wide area DNS-SD support (read-only for now)
* Interface to GLIBC NSS using [http://0pointer.de/lennart/projects/nss-mdns/ nss-mdns]
* Interface to GLIBC NSS using [http://0pointer.de/lennart/projects/nss-mdns/ nss-mdns]


'''Installation''' (for ubuntu)
'''Installation''' (for ubuntu)
Line 39: Line 36:


This software broadcasts mDNS queries on every interface that supports multicasts, thereby allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain (*.local). You don't interface with this software, but you need it for an mDNS responder (avahi).  
This software broadcasts mDNS queries on every interface that supports multicasts, thereby allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain (*.local). You don't interface with this software, but you need it for an mDNS responder (avahi).  


The program consists of these programs:  
The program consists of these programs:  
* [http://netbsd.gw.com/cgi-bin/man-cgi?nsswitch.conf+5+NetBSD-current nsswitch.conf] - the name-service switch configuration file
* [http://netbsd.gw.com/cgi-bin/man-cgi?nsswitch.conf+5+NetBSD-current nsswitch.conf] - the name-service switch configuration file


'''Installation''' (for ubuntu)
'''Installation''' (for ubuntu)
Line 59: Line 54:
The mDNSClient utility only outputs lines to stderr (name, service type, and domain):
The mDNSClient utility only outputs lines to stderr (name, service type, and domain):


  *** Found name = 'Foo', type = '_afpovertcp._tcp.', domain = 'local.'
*** Found name = 'Foo', type = '_afpovertcp._tcp.', domain = 'local.'


The code that outputs this line is in the file mDNSResponder/mDNSPosix/Client.c in the function BrowseCallback.
The code that outputs this line is in the file mDNSResponder/mDNSPosix/Client.c in the function BrowseCallback.
289

edits