Avahi Configuration for Pidora

From CDOT Wiki
Jump to: navigation, search

Avahi Configuration for Pidora

Project Description

Avahi (zeroconf) enables discovery of computers without DNS or IP numbers. This project involves configuring Avahi for use on the Raspberry Pi, so that other computers can connect to it by name without DNS support. This configuration must then be packaged in such a way that it can be included in the Pidora composes without causing conflicts.

Project Leader

Taylor Barras (tsbarras)

Project Contributor(s)


Project Details

Since the Raspberry Pi utlizies the same NIC throughout its two models, I predict that getting avahi to work should only be a matter of customizing the configuration files to fit the hardware on install (unless this is done automatically, like while running a configuration).

My main resource will be the Avahi website and the references that are linked to from that page.

DNS Service Discovery

Multicast DNS


General Info on MDNS

I intend to use as pristine sources as I can get, although the first few hours of my project will be devoted to familiarizing myself with the Pi.

I will also probably have to install some form of Avahi on a PC at home to test operation.

Information on MDNS service types

Project Plan


For tracking I plan to use github. My github is located here.

Key contacts

None yet

Goals by Release

Goals for each release and plans for reaching those goals:

  • 0.1

• Scripts, commands, and files needed for auto configuration created/collected

• Creation of raspberry-pi-avahi-auto-config package in process

  • 0.2

• Automatic configuration packaged

• Successful build on ARMv6

  • 0.3

• RPM package in Pidora repo/distribution


Mailing Lists

Unsubcribed because Seneca outlook would not sort these email into a separate folder.

Upstream Wiki and Web


Avahi Bug Tracking System

Source Code Control

To be added soon.


Taylor's Blog

Non-Seneca Participants


Planet CDOT

Project News

Jan 2nd, 2014

This project has changed into the avahi-advertise project and will be updated on my blog from now on.

Dec 9th, 2013

Fixed bugs in avahi-advertise

Packaged avahi-advertise for 0.3 release

Dec 2nd, 2013

• yshin8 and I are in discussion on Avahi in Pidora 19 kickstart file

• Specfile work halted

    • Working on avahi-config (avahi-advertise?) command which will be install with my package and change txt records or create new service files

0.2 Release

Nov 28th 2013

• Package spec file started

• yshin8 contacted about changing how avahi service is installed in kickstart file

Nov 22nd 2013

0.1 Released

Nov 20th 2013

• Finished the majority of testing and scripts/commands required for 0.1

• Preparing 0.1 presentation

    • Will demonstrate avahi and nss-mdns resolution
    • Will demonstrate avahi-tools and how it can automatically ssh
    • Will explain the function of my config package (install nss-mdns, avahi-tools, iptables, TXT records)

Nov 16th, 2013

• Changed goals due to Avahi 0.6.31 already being repackaged in the Pidora 19 Alpha.

Posted plans for configuration package

Nov 7th, 2013

• Fedora 19 upstream nss-mdns package will be packaged for pidora.

    • This package is required for hostname resolution using multicast DNS

• My Avahi config package will require nss-mdns

Oct 29th, 2013

• nss-dns will most likely be part of my configuration package

Skullhat 13:05, 29 October 2013 (EDT)

Oct 24th, 2013

• Avahi 0.6.31 packaged and appears to be working

• Testing package optimization coming next week

• Blog posts on my Pi setup and packaging of Avahi 0.6.31 are written and are being polished

Skullhat 13:02, 29 October 2013 (EDT)

Oct 20th, 2013

• I have purchased and setup my Pi. It is running Pidora from NOOBS. [Here is the blog post] on my setup experience.

• Testing of Avahi and nss-mdns has begun.

• I will install, test, and package with the newest version of avahi (0.6.31) as part of this project.

Skullhat 13:11, 20 October 2013 (EDT)

Oct 9th, 2013

• I have purchased some equipment for my Raspberry Pi and intend to buy the unit this week.

Skullhat 13:11, 20 October 2013 (EDT)

Oct 2nd, 2013

• I will be purchasing a Raspberry Pi and the equipment required to begin my project within the coming week or two.

Skullhat 13:11, 20 October 2013 (EDT)