OKay, I am starting tio check my script on a "real" Debain Jessie.
I just updated my Debian wheezy to Debian jessy......maybe there is a difference.
I have no Idea, why the netcat command did not work, but maybe you can help me to solve the problem and findout why.
Please restart the Script manually that CumulusMX is really running.
1. insert this ommand and show me the output
nc -vz 127.0.0.1 8998 and nc -vz IP_ADDRESS 8998 (IP_ADDRESS is the real IP address of your Raspüberry Pi)
2. Did you have a WLAN Adapter plugged in or is it a LAN connection ?
So tomorrow, I wil lcheck a plain Debian jessie with my script.....and let you know
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Mono 4.0.2.5 packages now available for Raspbian
Moderator: mcrossley
-
- Posts: 14
- Joined: Mon 02 Feb 2015 7:42 pm
- Weather Station: Vantage Pro2
- Operating System: Raspbian (jessie)
- Location: Ohio
- Contact:
Re: Mono 4.0.2.5 packages now available for Raspbian
jank wrote:OKay, I am starting tio check my script on a "real" Debain Jessie.
I just updated my Debian wheezy to Debian jessy......maybe there is a difference.
I have no Idea, why the netcat command did not work, but maybe you can help me to solve the problem and findout why.
Please restart the Script manually that CumulusMX is really running.
1. insert this ommand and show me the output
nc -vz 127.0.0.1 8998 and nc -vz IP_ADDRESS 8998 (IP_ADDRESS is the real IP address of your Raspüberry Pi)
2. Did you have a WLAN Adapter plugged in or is it a LAN connection ?
So tomorrow, I wil lcheck a plain Debian jessie with my script.....and let you know
Thanks!
I'm running wireless wlan0
pi@raspberrypi ~ $ nc -vz 127.0.0.1 8998
Connection to 127.0.0.1 8998 port [tcp/*] succeeded!
pi@raspberrypi ~ $ nc -vz 192.168.1.141 8998
Connection to 192.168.1.141 8998 port [tcp/*] succeeded!
I've got it running on port 8998 after numerous retrys so I don't know what is or isn't the problem...timing issues???
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: Mono 4.0.2.5 packages now available for Raspbian
cirdan52 wrote: Thanks!
I'm running wireless wlan0
pi@raspberrypi ~ $ nc -vz 127.0.0.1 8998
Connection to 127.0.0.1 8998 port [tcp/*] succeeded!
pi@raspberrypi ~ $ nc -vz 192.168.1.141 8998
Connection to 192.168.1.141 8998 port [tcp/*] succeeded!
I've got it running on port 8998 after numerous retrys so I don't know what is or isn't the problem...timing issues???
Ahhh
okay, here is the reason why you are seeing these errors:
The script is trying to find out, the IP Address of the Raspberry Pi by using this command:
ETH0=$(ifconfig eth0 | grep 'inet ' | cut -d: -f2 | awk '{ print $1}')
As you can see, I am trying to get the IP from eth0 only. your wireles Adapter is using wlan0
I am usinfg the IP Address in the netcat command, to find out, if the Port configured in the head of the script is used:
CHECKPORT=$(nc -z $ETH0 $PORT;echo $?)
Since ETH0 = "ifconfig eth0" but your are using wlan0 . the IP address is never being retrieved and the netcat command will fail because the IP address is missing.
So I am currently working on the Script Version 2.2.6 and it would be a good Idea, to add a function to my script which is finding out, if eth0 or wlan0 is being used.
so please wait until 2.2.6 is being released which will fix this error
Once I started creating this Start/Stop Script I never thought that someone is using WLAN
But thanks, for the Bugreport
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: Mono 4.0.2.5 packages now available for Raspbian
Hello Cirdancirdan52 wrote:I've got it running on port 8998 after numerous retrys so I don't know what is or isn't the problem...timing issues???
I have a question: Since this Problem doesn't have anything to do with mono (this Forum Post) , but with my CumulusMX Start|Stop Script, I want to ask you, if we can move the further discussion of this Problem into the correct forum topic: https://cumulus.hosiene.co.uk/viewtopic.p ... &start=120 and continue there?
I have some additional questions which may help me to fix a possible problem if users are using WLAN Module and starting CumulusMX when system starts ?
Unfortunately I don't have a Pi with WLAN Interface so I can not do tests and I would highly appreciate if you are available to make a test for me with htis Script?
Jan
-
- Posts: 12
- Joined: Sat 05 Aug 2017 8:45 am
- Weather Station: WH1008
- Operating System: Rasberian
- Location: Odensvi Sverige
- Contact:
Re: Mono 4.0.2.5 packages now available for Raspbian
Hello
After a time, I was not at home I´m trying now get weatherstation work. I have a Fine Offset plugged in at a Raspberry PI 3 B with newest Raspberian.
Installation some is wrote above of mono and Cumulus MX downloaded yesterday.
I got now the following message
Wonder whats the error.
WBR
Jörg
After a time, I was not at home I´m trying now get weatherstation work. I have a Fine Offset plugged in at a Raspberry PI 3 B with newest Raspberian.
Installation some is wrote above of mono and Cumulus MX downloaded yesterday.
I got now the following message
Current culture: German (Germany)
Serial: 038C5CA12919774262BFCE887D6597D4
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-14T10:23:30
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
System.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x008a0] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Type.InvokeMember (System.String name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.String& release, System.String& machine) [0x00047] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.Version& release, System.String& machine) [0x00004] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.LinuxHidManager.get_IsSupported () [0x00002] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
Not supported
Fine Offset station not found
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
14.10.2017 10:23:31
Type Ctrl-C to terminate
If I look what is connected I see thispi@vaexthus:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 10, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
|__ Port 2: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 11, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 1: Dev 9, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 4: Dev 12, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
|__ Port 5: Dev 6, If 0, Class=Vendor Specific Class, Driver=usbtouchscreen, 1.5M
The weatherstation is known on the Raspberrypi@vaexthus:~ $ lsusb
Bus 001 Device 006: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 010: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 008: ID 0e8f:00a5 GreenAsia Inc.
Bus 001 Device 012: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 011: ID 152d:2509 JMicron Technology Corp. / JMicron USA Technology Corp. JMS539 SuperSpeed SATA II 3.0G Bridge
Bus 001 Device 009: ID abcd:1234 Unknown
Bus 001 Device 007: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Wonder whats the error.
WBR
Jörg
-
- Posts: 214
- Joined: Tue 24 Nov 2015 11:30 pm
- Weather Station: Fine Offset & Davis Vantage Vue
- Operating System: Windows 10; Raspbian Buster
- Location: Switzerland
Re: Mono 4.0.2.5 packages now available for Raspbian
2 years on and I bet you didn't expect a response. Did you ever get it working?
I suggest you check:
Go to the Cumulus web interface / Settings /Station Settings
Make sure that station type is set to Fine Offset
Make sure that Serial port is set to /dev/ttyUSB0
If that doesn't work, I suggest you disconnect all the unrelated devices from your RPi until you work out what is wrong. You can surely do without the USB hub, serial adapters, SATA adapter, ethernet adapter and touchscreen?
My outputs with nothing connected except the Fine Offset weather station are much cleaner:
and
I suggest you check:
Go to the Cumulus web interface / Settings /Station Settings
Make sure that station type is set to Fine Offset
Make sure that Serial port is set to /dev/ttyUSB0
If that doesn't work, I suggest you disconnect all the unrelated devices from your RPi until you work out what is wrong. You can surely do without the USB hub, serial adapters, SATA adapter, ethernet adapter and touchscreen?
My outputs with nothing connected except the Fine Offset weather station are much cleaner:
Code: Select all
pi@Cumulus:~ $ lsusb
Bus 001 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
pi@Cumulus:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M