Skip to contentSkip to conversation

mdns/avahi troubles

ath9k-devel Jens Thiele 2 participants 3 messages Dec 3, 2015 – Dec 4, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

sometimes (when the wlan stick was idle for some time?) I see no answers to mdns requests => mdns lookup fails.

Can't provide a lot of detail yet, but maybe this is a old known bug already fixed?

kernel:
3.16.0-4-armmp-lpae #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) armv7l GNU/Linux root at godlady:~# modinfo ath9k_htc|grep ^ver
vermagic: 3.16.0-4-armmp-lpae SMP mod_unload modversions ARMv7 p2v8
firmware the 1.3 non-free one
(at the moment testing 1.3-1 from trisquel:
http://es.archive.trisquel.info/trisquel/pool/main/o/open-ath9k-htc-firmware/)

packet dump at other end (simply no response received):
4 7.977756000 fe80::6aa3:c4ff:fecb:961d -> ff02::fb MDNS 93 Standard query 0x0000 A godlady.local, "QM" question
5 7.978058000 192.168.178.20 -> 224.0.0.251 MDNS 73 Standard query 0x0000 A godlady.local, "QM" question
6 8.979291000 fe80::6aa3:c4ff:fecb:961d -> ff02::fb MDNS 93 Standard query 0x0000 A godlady.local, "QM" question
7 8.979545000 192.168.178.20 -> 224.0.0.251 MDNS 73 Standard query 0x0000 A godlady.local, "QM" question
8 10.981880000 fe80::6aa3:c4ff:fecb:961d -> ff02::fb MDNS 93 Standard query 0x0000 A godlady.local, "QM" question
9 10.982169000 192.168.178.20 -> 224.0.0.251 MDNS 73 Standard query 0x0000 A godlady.local, "QM" question

lsusb:
Bus 003 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

thanks for any help

Signature · 2 lines
Prisirah - Building digital photo frames for family and friends using
open-source hardware. http://karme.de/prisirah/
#1 lore raw
Quoted 7 lines · Jens Thiele

Hi,

sometimes (when the wlan stick was idle for some time?) I see no answers to mdns requests => mdns lookup fails.

Can't provide a lot of detail yet, but maybe this is a old known bug already fixed?

This is most likely a problem with Avahi; Its latest release is 3 year old and it has many known issues. At least one of them can cause it to not publish DNS records so it will not answer queries for them, and it is still not fixed in Avahi's Git yet.

If a packet dump on godlady does not show replies, then Avahi didn't reply and ath9k is not to blame.

#2 lore raw
Quoted 9 lines · Nicolas Cavallari
Quoted 7 lines · Jens Thiele

Hi,

sometimes (when the wlan stick was idle for some time?) I see no answers to mdns requests => mdns lookup fails.

Can't provide a lot of detail yet, but maybe this is a old known bug already fixed?

Quoted 7 lines

This is most likely a problem with Avahi; Its latest release is 3 year old and it has many known issues. At least one of them can cause it to not publish DNS records so it will not answer queries for them, and it is still not fixed in Avahi's Git yet.

If a packet dump on godlady does not show replies, then Avahi didn't reply and ath9k is not to blame.

with a different stick (Ralink Technology, Corp. RT5370 Wireless Adapter) it seems to work just fine
=> imho unlikely avahi's fault here

regarding the traffic dump i was very unclear:
the dump is from the requesting host, and yes i also should also take a dump on the host that is supposed to answer

jens

PS: i have seen similar problems with other sticks - often a workaround was to disable power saving

Signature · 2 lines
Prisirah - Building digital photo frames for family and friends using
open-source hardware. http://karme.de/prisirah/