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

Steev steev at steev.net
Mon Jul 18 12:08:53 EST 2005


Lennart Poettering wrote:
> 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
> 

Sure - first off, this is ifconfig output before starting avahi-daemon

mebius ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:D0:33:FD:E1
           inet addr:169.254.228.10  Bcast:169.254.255.255  Mask:255.255.0.0
           inet6 addr: fe80::240:d0ff:fe33:fde1/64 Scope:Link
           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
           Interrupt:11 Base address:0x2000

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:131 errors:0 dropped:0 overruns:0 frame:0
           TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:7608 (7.4 Kb)  TX bytes:7608 (7.4 Kb)

ppp0      Link encap:Point-to-Point Protocol
           inet addr:63.25.159.117  P-t-P:63.3.5.129  Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
           RX packets:1179 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1334 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:3
           RX bytes:621933 (607.3 Kb)  TX bytes:139187 (135.9 Kb)

Apache2 and sshd are running.  I have 2 files - one called sshd.service 
and one called apache.service that follow the example.service file.

mebius ~ # avahi-daemon
Found user 'avahi' (UID 409) and group 'avahi' (GID 409).
Successfully dropped root privileges.
Enumeration complete
Server startup complete.  Host name is <mebius.local.>
iface.c: avahi_server_add_service() failed.
Loading service file /etc/avahi/services/apache.service
Loading service file /etc/avahi/services/sshd.service
** Message: dbus: interface=org.freedesktop.DBus, 
path=/org/freedesktop/DBus, member=NameAcquired
** Message: dbus: ServiceAcquired (:1.6)
** Message: dbus: interface=org.freedesktop.DBus, 
path=/org/freedesktop/DBus, member=NameAcquired
** Message: dbus: ServiceAcquired (org.freedesktop.Avahi)

mebius ~ # avahi-discover
*** WARNING: Detected another IPv4 mDNS stack running on this host. This 
makes mDNS unreliable and is thus not recommended. ***
New relevant interface eth0.2 (#4)
Enumeration complete

Now, when I have avahi-discover running, I continue to receive the message:

Recieved packet from invalid interface.

in the terminal that avahi-daemon is running on.

I have revision 168 installed.  I also have the patch applied for Gentoo 
that updates the init scripts - I will actually be submitting another 
one because I have discovered a few problems with the patch that I 
applied earlier (I think) - I accidentally deleted the patch I submitted 
so I need to go through my old email and double check it.

I am using 2.6.12-gentoo-r6 kernel with the via-rhine driver for eth0.

-- steev


More information about the avahi mailing list