[Pkg-utopia-maintainers] Bug#547974: avahi-daemon: Can't resolve names via ipv4
Sam Morris
sam at robots.org.uk
Tue Sep 22 22:26:07 UTC 2009
Package: avahi-daemon
Version: 0.6.23-3lenny1
Severity: normal
For some reason that's beyond me, I can't get avahi on this particular system
to work with ipv4.
$ uname -r
2.6.29-2-amd64
$ lspci -v -s 06:00
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Device 82c6
Flags: bus master, fast devsel, latency 0, IRQ 55
I/O ports at d800 [size=256]
Memory at fbdff000 (64-bit, non-prefetchable) [size=4K]
Memory at faef0000 (64-bit, prefetchable) [size=64K]
Expansion ROM at fbdc0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Capabilities: [d0] Vital Product Data <?>
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 00-e0-4c-68-00-00-00-03
Kernel driver in use: r8169
Kernel modules: r8169
$ ip link show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:24:8c:71:4d:1d brd ff:ff:ff:ff:ff:ff
$ ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:24:8c:71:4d:1d brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/16 brd 10.0.255.255 scope global eth0
inet6 fe80::224:8cff:fe71:4d1d/64 scope link
valid_lft forever preferred_lft forever
$ ip route
81.110.188.0/22 dev eth1 proto kernel scope link src 81.110.190.38
10.0.0.0/16 dev eth0 proto kernel scope link src 10.0.0.1
default via 81.110.188.1 dev eth1
The system can resolve its own name fine, but anything else just
doesn't show up.
$ avahi-browse -avt
Server version: avahi 0.6.23; Host name: thoth.local
E Ifce Prot Name Type Domain
+ eth0 IPv6 HP OfficeJet 4215 @ thoth Internet Printer local
+ eth0 IPv6 Xerox Phaser 6100 @ thoth Internet Printer local
+ eth0 IPv4 HP OfficeJet 4215 @ thoth Internet Printer local
+ eth0 IPv4 Xerox Phaser 6100 @ thoth Internet Printer local
+ eth0 IPv6 saned _sane-port._tcp local
+ eth0 IPv4 saned _sane-port._tcp local
+ eth0 IPv6 Sam Morris's encryption keys GnuPG/PGP HKP Key Server local
+ eth0 IPv6 durandal.local Web Site local
+ eth0 IPv6 Sam Morris on durandal Web Site local
+ eth0 IPv6 thoth [00:24:8c:71:4d:1d] Workstation local
+ eth0 IPv6 durandal [00:1c:bf:9c:77:6c] Workstation local
+ eth0 IPv6 durandal [00:13:77:60:aa:1d] Workstation local
+ eth0 IPv4 thoth [00:24:8c:71:4d:1d] Workstation local
: Cache exhausted
: All for now
$ avahi-resolve-host-name durandal.local
durandal.local fe80::21c:bfff:fe9c:776c
$ avahi-resolve-host-name -4 durandal.local
Failed to resolve host name 'durandal.local': Timeout reached
Unfortunately I don't see anything suspicious in the system logs.
Other systems are similarly unable to resolve the system's host name
via ipv4, but ipv6 works fine.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages avahi-daemon depends on:
ii adduser 3.110 add and remove users and groups
ii bind9-host [host] 1:9.5.1.dfsg.P3-1 Version of 'host' bundled with BIN
ii dbus 1.2.1-5+lenny1 simple interprocess messaging syst
ii libavahi-common3 0.6.23-3lenny1 Avahi common library
ii libavahi-core5 0.6.23-3lenny1 Avahi's embeddable mDNS/DNS-SD lib
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcap2 2.11-2 support for getting/setting POSIX.
ii libdaemon0 0.12-2lenny1 lightweight C library for daemons
ii libdbus-1-3 1.2.1-5+lenny1 simple interprocess messaging syst
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
Versions of packages avahi-daemon recommends:
pn libnss-mdns <none> (no description available)
Versions of packages avahi-daemon suggests:
pn avahi-autoipd <none> (no description available)
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list