Hi Michael. I've gone a few rounds with avahi on OpenWRT. The version of avahi 
that comes with Backfire is 0.6.25 which has some bugs, especially w.r.t. 
dynamic publishing and browsing. Version 0.2.8 seems to fix those bugs. I 
updated the OpenWRT package recently to avahi 0.6.28, and it was accepted, but 
it hasn't been backported to Backfire (actually I forgot to ask), but you'll 
find it on their SVN server.

The current and upcoming avahi packages don't allow packagin up the 
avahi-client or the avahi utilities, and they don't compile in support for 
D-BUS into libavahi, which is needed both by the client library and by the 
utilities. This means that you can only make a static service announcement by 
putting an appropriate service description in /etc/avahi/service/, (though I 
guess you could always tell the avahi-daemon to reconsult the service directory 
whenever you changed it).

If you want to be able to publish or browse truly dynamically, then you do need 
the avahi-client library and (or possibly the command-line program 
avahi-publish, contained in the avahi utilities.)

I do have a further update giving access to the avahi-client libraries, the 
avahi utilities and, of course, D-BUS support. I'm still checking it. It allows 
you to ask for the avahi-client library and the utilities package, and compiles 
in support for D-BUS if necessary. It seems to work well and I hope will be a 
replacement for the current OpenWRT avahi Package. If you'd like it, I can 
certainly send it to you. Obviously it needs to have D-BUS support included in 
OpenWRT.

I don't know anything about libdns_sd, I'm afraid.

Regards
Mike


On 15 Feb 2011, at 16:15, Michael Markstaller wrote:

> Hi,
> 
> I'm trying to get owserver to announce itself via Zeroconf on OpenWRT
> (trunk), so another owserver can find it with --autoserver.
> 
> owserver is running fine so far but I'm a bit stuck on how to get this
> working (only the "client part", don't need it to be able to discover
> others on the router)..
> 
> libavahi-client.so isn't being built at all with the libavahi package,
> so it seems like some hands on is required first..
> 
> Do I need both, libavahi-client.so and libdns_sd.so for the client
> functionality?
> 
> I know it's rather openwrt than owfs-related but maybe someone can push
> me into the right direction on how to get this work..
> 
> best regards 
> 
> Michael
> 
> 
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to