[avahi] Avahi dnsconfd (and a bit about running avahi)

Lennart Poettering mzzhgg at 0pointer.de
Mon Jul 18 09:12:04 EST 2005


On Sun, 03.07.05 13:09, Steev (steev at steev.net) wrote:

> > It looks like avahi-discover detected all relevant interfaces and
> > works fine, but avahi-daemon didn't. Which is interesting since both
> > use the same code for detecting network configuration. The difference
> > is probably that you started avahi-daemon before configuring your
> > network and avahi-discover after it. (Which is what you did, correct?)
> > It seems you spotted a bug in the netlink code of avahi. 
> > 
> > Please restart avahi-daemon after configuring the network once and see
> > if it works than.
> 
> I had the eth0 device up before I started avahi.  It is the same thing,
> when I start avahi-discover, it recognizes eth0 as a suitable device,
> but not the avahi-daemon itself.  I also tried it last night while I was
> at a local coffee shop with free wifi access.  The same thing happened
> there, once I had done "ifconfig wlan0 multicast" it showed up as a
> relevant device to avahi-discover, but avahi-daemon simply gave the
> Received packet from invalid device.

I had some time now to look into this. But unfortunately I am still
puzzled and don't have the slightest idea what the problem might be.

Could you please rerun the test with a current SVN snapshot? Please
make sure to first configure the network interface correctly
(including the multicast bit set) and than start avahi-daemon
(manually on a terminal, without -D) and finally avahi-discovery. And
then tell me the output to STDER/STDOUT of the two tools. Another
"ifconfig" dump right after running this would be nice too.

Thank you,
      Lennart

-- 
name { Lennart Poettering } loc { Hamburg - Germany }
mail { mzft (at) 0pointer (dot) de } gpg { 1A015CC4 }  
www { http://0pointer.de/lennart/ } icq# { 11060553 }