Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Raspberry Pi issue

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Raspberry Pi issue

Post by LindaFNM »

My apologies as this is probably not the right place to ask for help, but I hope someone can please.

I'm having frequent dropouts with CumulusMX which i know isn't a Cumulus problem. I think after a lot of googling it stems from something called avahai daemon which keeps doing this:

Jul 27 10:31:20 raspberrypiSSD avahi-daemon[384]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::d817:2cac:9dd4:be2.
Jul 27 10:31:20 raspberrypiSSD avahi-daemon[384]: Joining mDNS multicast group on interface wlan0.IPv6 with address fdaa:bbcc:ddee:0:d2c0:3260:a6b:a95f.
Jul 27 10:31:20 raspberrypiSSD avahi-daemon[384]: Registering new address record for fdaa:bbcc:ddee:0:d2c0:3260:a6b:a95f on wlan0.*.
Jul 27 10:31:20 raspberrypiSSD avahi-daemon[384]: Withdrawing address record for fe80::d817:2cac:9dd4:be2 on wlan0.

I'm assuming that it happened during an update to the PI. Please does anyone know if I can safely stop the daemon running?
Thank you
You do not have the required permissions to view the files attached to this post.
broadstairs
Posts: 1185
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Raspberry Pi issue

Post by broadstairs »

The quick answer is that no you cannot easily disable avahi-daemon. It is an integral part of Linux. I have run CMX on Linux (not RPi) without any issues from this or anything else for that matter. I do not allow any of my Linux systems to update automatically, I always do it manually. I'd suggest investigating on the Linux forums for the RPi.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Raspberry Pi issue

Post by HansR »

This is the Avahi daemon. It is the Linux version of the Apple bonjour. I think CMX uses it for searching your devices to autoconfigure so I would not directly advise to stop it. Besides that, it is default part of what runs in a Linux RPi distri. It would not surprise me if the issue is caused by the v6 address space. I assume Mark will do a better comment.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Raspberry Pi issue

Post by LindaFNM »

Thank you for your replies.

Hans, does this mean I’ve done something stupid please? Thank you.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Raspberry Pi issue

Post by HansR »

LindaFNM wrote: Wed 27 Jul 2022 10:39 am Hans, does this mean I’ve done something stupid please? Thank you.
Can't compute, I have no idea what you did.
Even if I knew... no doubt you had a reason and logic behind it. Only if you execute random acts on a running system I would use the word stupid, all other acts are correct or ill fated experiments.

btw: if you update the system, do you shutdown CMX and reboot afterwards using the automatic restart? Do you have the latest version of CMX?

Otherwise I havo no idea of the cause nor of a solution other than reinstalling the OS. Can be done but you need to backup/restore and reconfigure the things around CMX. It does not need to take a very long time using the RPi imager.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Raspberry Pi issue

Post by LindaFNM »

Hans, thanks once again. I’m afraid most of my dabbling is I’ll fated experiment :D !

I think I’ll try a full reinstallation as things have become almost unworkable now.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Raspberry Pi issue

Post by HansR »

Good :D

Btw: experimenting benefits of writing down all steps until experiment ends.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Raspberry Pi issue

Post by LindaFNM »

Yes, I know, except I've been lazy with this and will now pay :lol: :lol: That'll teach me..........
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Raspberry Pi issue

Post by mcrossley »

On my phone ...
But the service is not used by CMX, it has its own discovery mechanism.

If you do not use IPv6 I would suggest disabling it as the first step. It has caused issues for other people, a search should find you the instructions.
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Raspberry Pi issue

Post by LindaFNM »

Mark,

Yes, yes yes. Thank you :clap: :clap:

Quite how that got enabled is anyones guess, but I disabled it and it’s been running happily for several hours.
I’ll add it to the notes I’m now writing for myself…..
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Raspberry Pi issue

Post by HansR »

Well, that's better than a reinstall ;)
My v6 guess was OK, missed the disabling. Sorry for that but apparently no harm done.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Raspberry Pi issue

Post by LindaFNM »

I'm afraid a reinstall may be the answer after all, it stopped again from 17:49 - 17:53. At least it'll clean everything up, I'll tackle it tomorrow. Thank you for your time, and at least I have a full set of notes to work from now.
SamiS
Posts: 511
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Raspberry Pi issue

Post by SamiS »

That avahi-service splits opinions... I just did a new install of one raspberry, and several quite up to date websites instructed to "disable all unnecessary services like avahi". Imho it really shouldn't be needed on anything if you do not use raspberry as an interactive desktop / mediacenter / print server etc.
On the other hand it should not also do any harm unless your router does not behave badly with mDNS. :?

By the way, Linda did you also stop the avahi-service instead of just disabling it? For me at least it is quite counter-intuitive that disabling a service does not also stop it if it currently is running.

Also disabling the ipv6 is anyway a very good idea for a computer that really does not need it.
Post Reply