avahi stopped working

Asked by Bogdan Butnaru on 2007-04-28

Hello! I've been using Avahi with no problems until yesterday morning, when it stopped working.

I have a home network with an ADSL/Ethernet/WiFi router, two Dell laptops, cimer connecting through WiFi and zalmox connecting through Ethernet, both with Ubuntu Feisty, latest version of everything. There's also a MacBook connected through WiFi.

I've been using Avahi since forever for things like DNS, pulseaudio, etc. I use the normal ".local" domain for Avahi, so the laptops can reach each other as "cimer.local" and "zalmox.local". The router (not under my control) has a DNS that appears to use the ".lan" domain. (It seems to work, but I've never used it.) I used the OpenDNS servers until today.

Yesterday, things started to break down. First, zalmox seemed to have a problem with Avahi: I could reach it through its IP, but nothing Avahi-related seemed to traverse its network (i.e., avahi-discovery could see all its services, but nothing on the other laptops; also, other laptops could see each other, but not any avahi services on zalmox). I started looking at everything that I could find different between the two laptops (there were a couple of things, but fixing them didn't change anything).

So half an hour ago, I disabled the OpenDNS entry (commented out the "prepend domain-name-servers" line in /etc/dhcp3/dhclient.conf) on cimer (the one that works). I restart dhclient, and poof, suddenly zalmox starts to see it! And, funny thing, cimer stopped seeing zalmox. So, as far as I can tell, the situation is almost reversed. From cimer I can't see any services except those running locally, and from zalmox I can see everything. I tried removing the OpenDNS entry on zalmox too, nothing changed.

The network seems to work just right, though. I can connect between laptops using their IPs or the ".lan" names, but Avahi seems to have broken. I have no idea where to look for clues... Any help?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2007-05-26
Last reply:
2013-01-27
C de-Avillez (hggdh2) said : #1

Avahi logs to /var/log/syslog. Boot up the laptops, connect to the network, then look at syslog. You should see a series of messages relating to Avahi there. Post them here, please.

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Bogdan Butnaru (bogdanb) said : #3

I'm not sure how to post it; the logs are quite big, but I can't see how to upload a file here. What am I missing?

Markus Thielmann (thielmann) said : #4

You can't upload a file here. Just copy the portions with reference to "avahi" to the message field here.

Jan 26 20:50:50 pat-Presario-C500-RQ335UA-ABA nm-dispatcher.action: nm_dispatcher_action: Invalid connection: '(null)' / 'connection setting not found' invalid: 1
Jan 26 20:50:50 pat-Presario-C500-RQ335UA-ABA nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
Jan 26 20:50:51 pat-Presario-C500-RQ335UA-ABA avahi-daemon[1027]: Got SIGTERM, quitting.
Jan 26 20:50:51 pat-Presario-C500-RQ335UA-ABA avahi-daemon[1027]: write() failed: Broken pipe
Jan 26 20:50:51 pat-Presario-C500-RQ335UA-ABA avahi-daemon[1027]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::21a:73ff:fe0f:423b.
Jan 26 20:50:51 pat-Presario-C500-RQ335UA-ABA avahi-daemon[1027]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.4.
Jan 26 20:50:51 pat-Presario-C500-RQ335UA-ABA avahi-daemon[1027]: avahi-daemon 0.6.27 exiting.

Can you help with this problem?

Provide an answer of your own, or ask Bogdan Butnaru for more information if necessary.

To post a message you must log in.