Matthijs Kooijman wrote:
Hey,


Has anyone used Avahi (http://avahi.org/) to auto discovery
or config an embedded gentoo system?
I've installed it succesfully on an embedded gentoo system. I think there were
some bumps on the road, but over all it worked pretty well (together with
pulseaudio). It's been a while since I've toyed with it, so I don't remember
details.

Nice to know it works. My interest is just testing it so when I plug in an embedded board to a network, it runs some tests and figures out how to auto configure the ip, dns resolver(mDNS) and possible default routing to the internet (not sure how you glean this info from another unix/windows machine, at this point).

I'm just learning about avahi and zeroconf (DNS-SD & mDNS) so my interests are "noob", at this point.

I have not found any development examples how to use avahi (et al) on an embedded system, with a particular focus on auto-configuration of an embedded board on a new network...... Most things seem to focus on the primary application (like serving/playing) audio files....



I can't access my embedded or development system right now, so I can't see if
I made any overlays for compilation. I did find the following commands in my
notes:

# Add some groups needed for dbus and avahi
# Not sure why emerge doesn't do this...
egrep "^(messagebus|avahi|netdev|pulse)" /etc/group >> /targetfull/etc/group
egrep "^(messagebus|avahi|pulse|mpd)" /etc/passwd >> /targetfull/etc/passwd

(Exececuted from the dev system where /targetfull is the embedded systems)

Also, I attached my portage overlay in a previous email [1], you might find
something useful in there (If there is nothing in there, I probably got it to
compile without any trouble).

I'll look in my system as soon as I'm around it again, but do let us know how
your progress is!

Thanks for you suggestions. At some point I'll follow up.

Gr.

Matthijs

[1]: 
http://archives.gentoo.org/gentoo-embedded/msg_72aba3bd14d6b84a75ee2d75e58f56d1.xml

Thanks,
James
--
[email protected] mailing list

Reply via email to