Difference between revisions of "Mesh/Firmware/Zeroconf"

Jump to navigation Jump to search
no edit summary
(added details to publishing)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
We need a basic DNS client (and server) on the nodes. Zero-configuration (zeroconf) networking is software which configures a domain name server (DNS), dynamic host configuration protocol (DHCP), and other network settings with no configuration. The domain server returns a service (or files) from a destination (typically based on an IP address).
We need a basic DNS client (and server) on the nodes. Zero-configuration (zeroconf) networking is software which configures a domain name server (DNS), dynamic host configuration protocol (DHCP), and other network settings with no configuration. The domain server returns a service (or files) from a destination (typically based on an IP address).


=Software=
=Publish=
 
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).
 
==Publish a Service==


To broadcast a service on the network (the long way) and load on boot:  
To broadcast a service on the network (the long way) and load on boot:  
Line 21: Line 17:
* region - the area where the service is hosted (to minimize latency)
* region - the area where the service is hosted (to minimize latency)


''Example: <code><avahi-publish -s search _http._tcp 80 scope=peoplesopen.net type=search region=oakland</code>''
''Example: <code>$ avahi-publish -s search _http._tcp 80 scope=peoplesopen.net type=search region=oakland</code>''
 
=Software=
 
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).


== [http://avahi.org/ avahi] ==  
== [http://avahi.org/ avahi] ==  
Line 86: Line 86:


[http://wiki.projectmeshnet.org/DNS mesh DNS software]: HypeDNS vs decentralized servers
[http://wiki.projectmeshnet.org/DNS mesh DNS software]: HypeDNS vs decentralized servers
[[Category:Mesh]]
1,194

edits

Navigation menu