Difference between revisions of "Mesh/Firmware/Zeroconf"

→‎Software: added avahi-publish
(added service details)
(→‎Software: added avahi-publish)
Line 5: Line 5:
The mDNS responder (avahi) browses and controls mDNS software (nss-mdns). The mDNS responder allows you to broadcast and resolve a computer's address on the (mesh) network. When services are available on the computer, they can be accessible through the resolved name, but they aren't broadcasted until listed in the avahi services folder (etc/avahi/services).  
The mDNS responder (avahi) browses and controls mDNS software (nss-mdns). The mDNS responder allows you to broadcast and resolve a computer's address on the (mesh) network. When services are available on the computer, they can be accessible through the resolved name, but they aren't broadcasted until listed in the avahi services folder (etc/avahi/services).  


The format for broadcasting these services on the network are made by each of the service files.
To broadcast a service on the network (the long way) and load on boot:
* [http://avahi.org/download/avahi.service.5.xml avahi service file] - the xml tags used by avahi
* [http://avahi.org/download/avahi.service.5.xml avahi service file] - the xml tags used by avahi
* [http://www.dns-sd.org/ServiceTypes.html service types] - the services available for the <code><type></code> and <code><subtype></code> tags
* [http://www.dns-sd.org/ServiceTypes.html service types] - the services available for the <code><type></code> and <code><subtype></code> tags
* [http://fedorasolved.org/Members/fenris02/zero-configuration-networking-avahi avahi service examples] - a few examples of services
* [http://fedorasolved.org/Members/fenris02/zero-configuration-networking-avahi avahi service examples] - a few examples of services
To broachast a service (the easy way):
* Use <code>avahi-publish</code>
*: <code>$ avahi-publish -s <NAME> <SERVICE TYPE> <PORT></code>


== [http://avahi.org/ avahi] ==  
== [http://avahi.org/ avahi] ==  
Line 19: Line 23:
The program consists of these programs:
The program consists of these programs:
* [http://linux.die.net/man/8/avahi-daemon avahi-daemon] - the mDNS/DNS-SD daemon
* [http://linux.die.net/man/8/avahi-daemon avahi-daemon] - the mDNS/DNS-SD daemon
* [http://linux.die.net/man/1/avahi-browse avahi-browse] - browse for mDNS/DNS-SD services using the daemon
* [http://linux.die.net/man/1/avahi-browse avahi-browse] - a text-based browser for mDNS/DNS-SD services using the daemon
* [http://linux.die.net/man/1/avahi-discover avahi-discover] - a graphical browse list for mDNS/DNS-SD network services
* [http://linux.die.net/man/1/avahi-publish-address avahi-publish] - register an mDNS/DNS-SD service or host name or address mapping through the daemon
* [http://linux.die.net/man/1/avahi-resolve avahi-resolve] - resolves one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon  
* [http://linux.die.net/man/1/avahi-resolve avahi-resolve] - resolves one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon  
* [http://linux.die.net/man/5/avahi-daemon.conf avahi-daemon.conf] - the configuration file for avahi-daemon
* [http://linux.die.net/man/5/avahi-daemon.conf avahi-daemon.conf] - the configuration file for avahi-daemon
* [http://linux.die.net/man/1/avahi-discover avahi-discover] - show a real-time graphical browse list for mDNS/DNS-SD network services
* [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  


289

edits