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

Success report - Cumulus MX on Ubuntu 16.04 (64 bit)

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
rwg
Posts: 12
Joined: Thu 17 May 2012 7:55 pm
Weather Station: Oregon Scientific WMR180
Operating System: Windows 7 SP1
Location: Oxfordshire

Success report - Cumulus MX on Ubuntu 16.04 (64 bit)

Post by rwg »

Took a bit of tweaking which I'll document, but I've got this running with a WMR100 (well, 180) and I'm well pleased :)

Here's what I did :

Code: Select all

# Install mono first, unfortunately you get 4.2.x, which apparently doesn't work
sudo apt-get install mono-complete

# now build mono from source - version 4.0.5.1
sudo apt-get install git autoconf libtool automake build-essential mono-devel gettext libtool-bin unzip
sudo apt-get install g++-multilib libc6-dev-i386
wget http://download.mono-project.com/sources/mono/mono-4.0.5.1.tar.bz2
tar xjf mono-4.0.5.1.tar.bz2 
cd mono-4.0.5/

# need to build the x86 version, not the 64 bit version
CFLAGS="-m32 -D__USE_GNU" ./configure --prefix=/usr/local --host=i386-pc-linux-gnu
make
sudo make install

#should now have x86 mono (look for Architecture: x86 in the output)
mono --version

# need some libraries, including libudev0 which is no longer part of the distrib, so get an old one
cd
wget https://mirrors.kernel.org/ubuntu/pool/main/u/udev/libudev0_175-0ubuntu9_i386.deb
sudo dpkg -i libudev0_175-0ubuntu9_i386.deb 
sudo apt-get install libsqlite3-0:i386

# now ready to go
unzip CumulusMXDist3038.zip 
cd CumulusMX
sudo mono ./CumulusMX.exe

Hopefully that's the full sequence of commands - I ended up with a fair bit of trial and error but I've tried to extract out the things that actually worked.

cheers,

Robin
rwg
Posts: 12
Joined: Thu 17 May 2012 7:55 pm
Weather Station: Oregon Scientific WMR180
Operating System: Windows 7 SP1
Location: Oxfordshire

Re: Success report - Cumulus MX on Ubuntu 16.04 (64 bit)

Post by rwg »

One more thing - here's how to get CumulusMX working without sudo... (at least for the WMR100 weather station).

Sudo is required because by default the /dev/hidraw* devices have no read/write permissions except for root. This can be fixed by creating a udev rules file to assign permissions to /dev/hidraw* when the device is plugged in.

Create a file names /etc/udev/rules.d/99-hidraw-permission.rules with the content

Code: Select all

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"
You will need to create this file using sudo, but once done (and you either reboot or re-plug the device) you will not need to run Cumulus as sudo.
Source : https://unix.stackexchange.com/question ... ermissions

Note: If you've already run CumulusMX as sudo then your data and config files are probably owned by root - you need to fix this, which you can do by using something like

Code: Select all

# go to your cumulusMX directory 
cd ~/CumulusMX  
# replace <username> with your username, so this would become sudo chown -R fred.fred *
sudo chown -R <username>.<username> *  
cheers,

Robin
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Success report - Cumulus MX on Ubuntu 16.04 (64 bit)

Post by steve »

rwg wrote:Create a file names /etc/udev/rules.d/99-hidraw-permission.rules with the content

Code: Select all

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"
That's useful - the (similar) instructions that I've given for this in the announcement require the use of the VID and PID of the type of station. This should work for any station.
Steve
Locked