Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Later version of mono for Raspberry Pi 2

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

endfm
Posts: 17
Joined: Sat 25 Apr 2015 8:11 am
Weather Station: XC0348
Operating System: Jessie
Location: Newcastle, Australia
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by endfm »

yer the whole installation is a little screwed now,

libmono-i18n-west4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-system-web-http4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-sharpzip4.84-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-system-runtime-caching4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb

Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no": yes
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf ttf-bitstream-vera all 1.10-8
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libart-2.0-2 armhf 2.3.21-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libbonobo2-common all 2.32.1-3
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf liborbit-2-0 armhf 1:2.14.19-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libbonobo2-0 armhf 2.32.1-3
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf dbus armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-glib-1-2 armhf 0.108-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf gconf2-common all 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgconf-2-4 armhf 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf gconf-service armhf 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libltdl7 armhf 2.4.6-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libtdb1 armhf 1.3.11-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
DaveStLou
Posts: 13
Joined: Sun 24 Mar 2013 10:05 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian
Location: St. Louis (Oakville), Missouri, USA
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by DaveStLou »

I tried these instructions however when I check the version (mono -v or mono --version) it returns "Illegal instruction" :(
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by ConligWX »

DaveStLou wrote:I tried these instructions however when I check the version (mono -v or mono --version) it returns "Illegal instruction" :(
I think you may need to install the full package..

Code: Select all

sudo apt-get install mono-complete
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
DaveStLou
Posts: 13
Joined: Sun 24 Mar 2013 10:05 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian
Location: St. Louis (Oakville), Missouri, USA
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by DaveStLou »

Toxic17 wrote:
I think you may need to install the full package..
Isn't that what this does? "sudo aptitude install mono-complete=4.0.5.1-0xamarin1"
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by ConligWX »

DaveStLou wrote:
Toxic17 wrote:
I think you may need to install the full package..
Isn't that what this does? "sudo aptitude install mono-complete=4.0.5.1-0xamarin1"
then by your logs the mono installation is incomplete.

Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]

I suggest finding another full source or change the version of mono.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by richard_newberry »

Can you find out which sources work so I can download and Install mono version 4.0.5 because every time I've tried I get broken packages. Mono 5 works without broken packages but I get a error saying not found. It's really time consuming and is raspbian pi with debian stretch on it be the same as a debian stretch as a virtual machine running on vmware esxi 6.5 u1 ?

Thanks.

I'm glad Steve is enjoying France.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
MikeM
Posts: 15
Joined: Fri 02 Sep 2016 8:11 am
Weather Station: WeatherDuino Pro2
Operating System: CumulusMX
Location: Brackenfell, Cape Town, South Africa
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by MikeM »

I'm having trouble installing mono-complete 4.0.5 under the new raspbian stretch.
Do anyone have a working solution?
oakview
Posts: 2
Joined: Tue 27 Nov 2012 10:52 pm
Weather Station: WH1080
Operating System: Pi3 Raspbian
Location: Derbyshire
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by oakview »

Steen9542 wrote:There have been a lot of posts regarding which mono version to use and how to install it on a Raspberry PI2.
Below is how I managed to install a working Cumulus using mono 4.0.5.

This post is primarily based on:
https://cumulus.hosiene.co.uk/viewtopic.p ... 21#p126018

Installation is based on post from:
l2k » Thu Aug 24, 2017 8:40 am

mono problems from:
SpaceHiker » Mon Sep 18, 2017 12:09 am

As I read the posts, the last unbroken mono version is 4.0.5

But it can be quite difficult to install that old version in a resent version of Linux raspberrypi.

This is a clean installation on a new formatted SD card (16GB).

Step by step guide:
Download the latest version of Linux raspberrypi (4.9.41-v7+) to a PC (win10) and flash the SD using Etcher.

Then transfer the SD card to the PI2 and fire it up.

Setup keyboard, lokalisation, time zone … from Preferences/Raspberry Pi configuration

Check that the OS is up to date:
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Reboot PI2

Add the mono repository:
$ cd /etc/apt/sources.list.d
$ sudo vi mono-xamarin.list
add below line:
deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main

Update:
( "aptitude update" failed for me, therefore I used)
$ sudo apt-get update

Just ignore the warnings about signatures and conflicting distribution.

In order to fix dependencies, aptitude must be used to install mono:
$ sudo aptitude install mono-complete=4.0.5.1-0xamarin1

Then you will get a proposal from aptitude to solve the dependencies:

Keep the following packages at their current version:
1) mono-complete [Not Installed]

Do NOT accept this solution, when that would install the current version of mono(4.6.2) which has errors (as documented by SpaceHiker).

Respond with "n"

Accept the next solution from aptitude to install mono version 4.0.5 with this warning:

Leave the following dependencies unresolved:
186) libmono-webbrowser4.0-cil recommends libgluezilla (>= 2.6)

Respond with "Y"

At the next prompt:
0 packages upgraded, 186 newly installed, 0 to remove and 0 not upgraded.
Need to get 61,8 MB of archives. After unpacking 163 MB will be used.
Do you want to continue? [Y/n/?]

Respond "Y"

At the last prompt:
Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no":

Respond "yes"

Now mono-complete 4.0.5 will be installed.

In order to protect this old mono version (4.0.5) from future upgrades:
$ sudo apt-mark hold mono-runtime mono-complete

Installed version is now:
$ mono -V
Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. http://www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Now download CumulusMXDist3043.zip from this forum.

Then go to pi home:
$ cd /home/pi
and extract Cumulus:
$ unzip ./Downloads/CumulusMXDist3043.zip

Go to CumulusMX folder and start Cumulus (using your preferred localization):
$ cd CumulusMX
$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Station type not set
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:35:55
Type Ctrl-C to terminate

Now point your browser to:
http://localhost:8998/
and set up your station in "Settings"

Then restart Cumulus:

$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-10T11:39:46
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=4.9.41 machine=armv7l
Fine Offset station found
Connected to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:39:48
Type Ctrl-C to terminate

Cumulus is running and using "," as decimal separator.

Enjoy :D

Thank you for taking the time to do this step by step guide.

I have been struggling for over a week now to get MX up and working on a Rpi3 with mono and I must admit I was close to giving up,until I found your post tonight.

I followed you instructions to the letter and I'm pleased to say I have MX working on Raspberrypi Stretch (with GUI) and a WH1080..!!!

Thank You Sir :D

Dave
Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Post by Frank G »

Hello,
just a question to avoid further post regarding installation/running problems with mono, .... on a RPI:

Is somebody able to describe how to install CMX, mono, ... on a Raspberry Pi (1, 2 and/or 3)? I know that there are a lot of posts regarding this issues, but it is »a lot of« and it is very difficult to find the correct installation (method) in all this posts. (I tried it without success with my RPI 1!). This post(s) could be maintained and would show always the current method(s).
This would be great!

Thanks, Frank
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
oakview
Posts: 2
Joined: Tue 27 Nov 2012 10:52 pm
Weather Station: WH1080
Operating System: Pi3 Raspbian
Location: Derbyshire
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by oakview »

Frank, I was in a very similar position to you I followed "Steen9542" post in this thread to the letter and it worked first time no problems. The only thing I would say is make sure you start off with a clean install so you don't have any spurious bits of past failed installs etc.

Hang in there Frank it will work on a Pi3...!

Dave
MikeM
Posts: 15
Joined: Fri 02 Sep 2016 8:11 am
Weather Station: WeatherDuino Pro2
Operating System: CumulusMX
Location: Brackenfell, Cape Town, South Africa
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by MikeM »

oakview wrote:The only thing I would say is make sure you start off with a clean install so you don't have any spurious bits of past failed installs etc.
I could not get the installation guide provided by "Steen9542" to work, until I restarted with a complete new install of Raspbian Stretch. :clap:
Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Post by Frank G »

Hang in there Frank it will work on a Pi3...!
Thank you dave for the encouraging words! :D :clap:

I orderted a RPi3 (perhaps my problems depents on my RPi1).
The days become shorter and colder and I will spend some time to set it up again. :lol:

Frank
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Post by Frank G »

Hello all!
RPI3 orderd, installed and tesed. It (CumulusMX and WH1080) works with the above description! :D :)
SD-Card removed and inserted in my RPI2, and, it works also (and my old sd-card with Kodi installed works now in the new RPI3)!!! :lol:
The next steps are changing .bat-scripts to bash-scripts (has nothing to do with CumulusMX, the scrips are for data tranfer via ftp and so on, but they run on my "weather sever").

BTW: The webtag <#SystemUpTime> shows "Systerm Uptime 0 days 0 hours". Is this webtag not suported with Linux (so far as I can remember with windows a time was shown)?

Regards Frank
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by steve »

Searching the forum for systemuptime suggests that it doesn’t work on some systems and where it does work it is usually not correct.
Steve
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by ConligWX »

Frank G wrote:BTW: The webtag <#SystemUpTime> shows "Systerm Uptime 0 days 0 hours". Is this webtag not suported with Linux (so far as I can remember with windows a time was shown)?

Regards Frank
Yes Debian too did not show "systemuptime" in my CUtags.php all i can show is my cumulusmx time up.

SystemUpTime|0 days 0 hours:|:
ProgramUpTime|0 days 23 hours:|:
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
Post Reply