Welcome to Radarspotting. Please login or sign up.

May 02, 2024, 08:53:35 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Replacing a dead SBS-1 with a Dongle RTL1090 and ModeSmixer2

Started by Colin Erith, December 07, 2023, 09:33:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Colin Erith

Am trying to get Basestation back up and running after my SBS-1 died.
Have downloaded and installed RTL1090 and Zadig tested and running..
Uncompressed modesmixer2 to the same directory (Tools)
I am struggling with the Windows batch file syntax for modesmixer2.
Can anyone supply a copy of a working Windows Batch file, the more help files I read, the more confused I get.

Colin Erith

Anmer

Welcome.

Here is my ModeSMixer2 BAT file.

It's getting data from a Raspberry Pi with IP address 192.168.1.136.  If you have decoded output available on the same PC you can replace the IP address with the Local Host one of 127.0.0.1 and the port number which has decoded data.  I have two entries as I'm running PiAware and want to see MLAT data as well as ADS-B.

@echo off
CMD /c I:\MSM2\modesmixer2.exe --inConnect 192.168.1.136:30005 --inConnect 192.168.1.136:30105 --filter-nocountry --outServer sbs10001:10002
exit

Post back if you need more help.
Here to Help.

Colin Erith

Thanks for your prompt reply, I am only feeding Basestation only on the same laptop with no MLAT data si I presume I can delete
--inConnect 192.168.1.136:30105 --filter-nocountry?

Colin Erith

Anmer

Maybe this will work?  But the port might be wrong for you?  And the directory path for modesmixer2.exe will need amending.

@echo off
CMD /c I:\MSM2\modesmixer2.exe --inConnect 127.0.0.1:30005 --outServer sbs10001:10002
exit
Here to Help.

Colin Erith

@echo off
CMD /c C:\Tools\modesmixer2.exe --inConnect 127.0.0.1:30003 --outServer sbs10001:10002
exit

RTL1090 settings-
IP/URL 127.0.0.1
Port:31022
30003 Basestation Type TCP Port
The bat file starts but does not populate any help would be appreciated

Anmer

When you start the bat file you should see a Command window, similar to the attached.  What do you see?
Here to Help.

Colin Erith

2023-12-07 18:01:26.474  INFO     ModeSMixer2 v.20190413
2023-12-07 18:01:26.474  INFO     outServer(sbs10001:10002) started
2023-12-07 18:01:26.490  INFO     inConnect(127.0.0.1:30003) connecting 127.0.0.1:30003
2023-12-07 18:01:26.490  INFO     inConnect(127.0.0.1:30003) connected
2023-12-07 18:01:31.125  INFO     Coverage area was determined
2023-12-07 18:01:31.125  INFO     Magnetic declination calculated

I cannot get it past this point I do not know if my syntax is wrong?

Colin Erith

When trying to open Basestation I get the message
"unable to connect to SBS-1 socket"

Colin

Anmer

Have you changed Basestation Settings -> Data Source to:

"Use Network"

And Settings -> Hardware Settings -> Network to:

IP Address:
127.0.0.1

Port:
10002
Here to Help.

Anmer

Quote from: Colin Erith on December 07, 2023, 06:05:03 PM2023-12-07 18:01:26.474  INFO    ModeSMixer2 v.20190413
2023-12-07 18:01:26.474  INFO    outServer(sbs10001:10002) started
2023-12-07 18:01:26.490  INFO    inConnect(127.0.0.1:30003) connecting 127.0.0.1:30003
2023-12-07 18:01:26.490  INFO    inConnect(127.0.0.1:30003) connected
2023-12-07 18:01:31.125  INFO    Coverage area was determined
2023-12-07 18:01:31.125  INFO    Magnetic declination calculated

I cannot get it past this point I do not know if my syntax is wrong?
This says MSM2 is working but not getting data from your receiver.

Do you have a receiver getting ModeS data?  Can you describe you setup?

Here to Help.

Colin Erith

Thanks all who replied: The issue laid with a corrupt setting Basestation, had to delete it three times, as there is a settings file, that is kept when you delete the program, that was causing issues.

@echo off
CMD /c C:\Tools\modesmixer2.exe --inConnect 127.0.0.1:30003 --outServer sbs10001:10002
exit

RTL1090: 127.0.0.1 port 10001  /30003 Basestation Type TCP Port
Basestation Hardware Settings: 127.0.0.1 Port 10002

Colin Erith

Anmer

Hi Colin

Did you get this sorted?

Oops, looks like we posted at the same time.

Thanks for the update.

I guess the Basestation.ini file was till left in the Virtual Store?
Here to Help.