Welcome to Radarspotting. Please login or sign up.

September 24, 2026, 05:19:33 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.

Help with networking SBS-1er

Started by egnx, August 22, 2018, 10:12:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alpha60uk

i tried that but it came up with errors

this is the script i am using

@echo off
cmd /c  c:/modeSmixer2/modesmixer2.exe --inConnect 127.0.0.1:10001 --outServer sbs10001:10001
PAUSE
exit

this produces this

2022-01-30 14:44:12.804  INFO     ModeSMixer2 v.20180616
2022-01-30 14:44:12.819  INFO     outServer(sbs10001:10001) started
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) connecting 127.0.0.1:10001
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) connected
2022-01-30 14:44:12.835  INFO     outServer(sbs10001:10001) 127.0.0.1:52565 connected
2022-01-30 14:44:12.835  INFO     outServer(sbs10001:10001) 127.0.0.1:52565 SBS-3 LOGIN
2022-01-30 14:44:12.835  INFO     outServer(sbs10001:10001) 127.0.0.1:52565 SBS-3 LOGIN
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) SBS-3 LOGIN OK
2022-01-30 14:44:12.835  INFO     SBS-3 S/N:123456   FW version: 119 FPGA: 3.01 UI Version: 1.19
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) SBS data stream detected
2022-01-30 14:44:59.679  INFO     outServer(sbs10001:10001) 192.168.1.217:54330 connected
2022-01-30 14:45:03.857  INFO     outServer(sbs10001:10001) 192.168.1.217:54330 SBS-3 LOGIN

host 226 is connected and showing data green light on on SBS-1er but laptop 217 is connected but no data coming through

is there anyway i can check if anything is coming to the laptop?


Triple7

OK, it's a moot point as it must be a typo as you are seeing a connectoin with MSM2, but the command line you are using must be:

cmd /c  c:\modeSmixer2\modesmixer2.exe --inConnect 127.0.0.1:10001 --outServer sbs10001:10001

Note back slashes not forward slashes.

So, are you saying that on your host PC - 226 BaseStation is now working correctly?

What happens if you change the --inconnect line to 192.168.1.170? i.e. the IP address of the SBS, not the local host IP of the host PC?

Have you set the network settings in Basestaoin on your laptop to point at the 192.168.1.226 IP address?

For Anmer, MSM picks its own ports so the 52565 and 54330 are not the issue here.

Tim
SBS-1eR, FA ProStick + 1090 filter

Anmer

Thanks Tim

I bit the bullit and downloaded ModeSMixer2.

I created a folder on one of my Hard drives, in this case the drive letter is "I".

The folder I created is "MSM2".

In this folder I have modesmixer.exe and a text file "MSM2.bat"

This is what's in the bat file:

@echo off
CMD /c I:/MSM2/modesmixer2.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10002
PAUSE
exit


I deliberately set the outgoing port to 10002 to make sure I was using a different one to the standard 10001.

The IP address of the PC running ModeSMixer2 is 192.168.1.159.

In Basestation -> Settings -> Hardware Settings -> Network

.... is set the the following (see attachment):

Address: 192.168.1.159
Port: 10002

I double clicked the bat file which launched ModeSMixer.  I then relaunched Basestation which successfully connected to ModeSMixer and displayed aircraft as normal.

I've attached my Windows CMD window to show how ModeSMixer2 is behaving.

I would focus on getting one session of Basetation working and then try another one.

If I can get ModeSMixer2 working, I'm sure others can too.  But make sure the bat file is showing the correct path to ModeSMixer2.



[attachment deleted reduce file load]
Here to Help.

Anmer

Quote from: Triple7 on January 30, 2022, 04:03:12 PM
OK, it's a moot point as it must be a typo as you are seeing a connectoin with MSM2, but the command line you are using must be:

cmd /c  c:\modeSmixer2\modesmixer2.exe --inConnect 127.0.0.1:10001 --outServer sbs10001:10001

Hi Tim

I had some problems with the correct syntax but as you can see from my previous post, I got it working using "forward slashes"!
Here to Help.

Triple7

Quote from: Anmer on January 30, 2022, 04:29:48 PM
Hi Tim

I had some problems with the correct syntax but as you can see from my previous post, I got it working using "forward slashes"!

Hmm odd, my bat file certainly has back slashes as all Windows based stuff does. I also us MSM2 on a RPi and of course being Linux based, uses forward slashes. Maybe MSM2 is tolerant of either - if it works - then leave as is!

Glad to see you managed to get it to work as expected. Let's hope alpha60uk has the same success as you.

Tim
SBS-1eR, FA ProStick + 1090 filter

Anmer

Quote from: alpha60uk on January 30, 2022, 02:55:41 PM
i tried that but it came up with errors

this is the script i am using

@echo off
cmd /c  c:/modeSmixer2/modesmixer2.exe --inConnect 127.0.0.1:10001 --outServer sbs10001:10001
PAUSE
exit

this produces this

2022-01-30 14:44:12.804  INFO     ModeSMixer2 v.20180616
2022-01-30 14:44:12.819  INFO     outServer(sbs10001:10001) started
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) connecting 127.0.0.1:10001
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) connected
2022-01-30 14:44:12.835  INFO     outServer(sbs10001:10001) 127.0.0.1:52565 connected
2022-01-30 14:44:12.835  INFO     outServer(sbs10001:10001) 127.0.0.1:52565 SBS-3 LOGIN
2022-01-30 14:44:12.835  INFO     outServer(sbs10001:10001) 127.0.0.1:52565 SBS-3 LOGIN
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) SBS-3 LOGIN OK
2022-01-30 14:44:12.835  INFO     SBS-3 S/N:123456   FW version: 119 FPGA: 3.01 UI Version: 1.19
2022-01-30 14:44:12.835  INFO     inConnect(127.0.0.1:10001) SBS data stream detected
2022-01-30 14:44:59.679  INFO     outServer(sbs10001:10001) 192.168.1.217:54330 connected
2022-01-30 14:45:03.857  INFO     outServer(sbs10001:10001) 192.168.1.217:54330 SBS-3 LOGIN

host 226 is connected and showing data green light on on SBS-1er but laptop 217 is connected but no data coming through

is there anyway i can check if anything is coming to the laptop?

In the above, you're telling ModeSMixer2 to connect to the SBS-1eR on IP address 127.0.0.1, "local host".

The SBS-1eR has a unique IP address.  The default is usually 192.168.1.170 and you should use this.  It can't be 127.0.0.1.
Here to Help.

Anmer

Quote from: Triple7 on January 30, 2022, 04:50:11 PM
I also us MSM2 on a RPi and of course being Linux based, uses forward slashes. Maybe MSM2 is tolerant of either - if it works - then leave as is!

I think you're right.  I changed to back slashes and it worked!

As per my later post, maybe the issue is the SBS-1eR IP address?
Here to Help.

Triple7

Quote from: Anmer on January 30, 2022, 05:02:47 PM
As per my later post, maybe the issue is the SBS-1eR IP address?

I am certian you are right and not wishing to be churlish, I mentioned that in messages, 39, 44, 48, 51 and 61 and you confimed it in message 62 of this thread!

Tim
SBS-1eR, FA ProStick + 1090 filter

Anmer

Quote from: Triple7 on January 30, 2022, 05:09:08 PM
I am certian you are right and not wishing to be churlish, I mentioned that in messages, 39, 44, 48, 51 and 61 and you confimed it in message 62 of this thread!

I think it's a case of "I can't see the woods for the trees".

Hence why I had to install MSM2 and check it for myself.  And then I still didn't spot the SBS-1eR address until I compared my setup again.

Fingers crossed this will resolve the issue?
Here to Help.

alpha60uk

Hi guys and thanks once again

i followed exactly what Anmer did and used the same script

@echo off
cmd /c  c:\modeSmixer2\modesmixer2.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10002
PAUSE
exit

In Basestation -> Settings -> Hardware Settings -> Network

.... is set the the following (see attachment):

Address: 192.168.1.226 host iP address
Port: 10002

see attached screen shot compared to Anmers
I get connection but no feed no green light

I am getting to end of my tether with this i just do not understand what i am doing wrong the SBS-1er is definately static IP 192.168.1.170 checked on my router

Thanks

Dean (alpha60uk)



[attachment deleted reduce file load]

Anmer

Hi Dean

Maybe if I orgainised a remote connection to you and we took a look together?

I can't do this today but am around all this week if we can agree a mutaully acceptable day and time?

From where did you download ModeSMixer2?
Here to Help.

alpha60uk

Thats great Anmer thanks, anyday in the week would be good I am working from home so anytime between 10am and 6pm would be great

i download MSM2 from within this topic

https://radarspotting.com/forum/index.php/topic,2978.msg15240.html#msg15240

I look forward to working this out it is really bugging me

Dean


Triple7

The only thing I can add is to make sure you are starting MSM2 first, followed by BaseStation.

Also, review Faramir's post #41. You may need to start BaseStation, point the network setting to the SBS1 - 192.168.1.170, close BaseStation, re-open it, let the feed start. Change the IP address to 192.168.1.226, close BaseStation. Start MSM2 and then finally BaseStation, that might fix the "no green LED" issue.

I recall a while ago if I had a power cut I sometimes had to go through the above routine to get the MSM2 feed working agian. I now run my SBS all the time with a UPS so I don't see that issue myself any longer.

Good luck, I am sure if Anmer takes a look he will sort it!

Tim
SBS-1eR, FA ProStick + 1090 filter

Anmer

Great.  I'll try and do this tomorrow and will send you a PM beforehand with instructions and check you're available.

Just to confirm you downloaded this Zip?

modesmixer2_windows_20180616.zip
Here to Help.

Anmer

Quote from: Triple7 on January 30, 2022, 05:44:07 PM
The only thing I can add is to make sure you are starting MSM2 first, followed by BaseStation.

If I have Basestation running I can close and restart MSM2 without closing Basestation.

I can also start Basestation before MSM2 and it connects.  It may take 15 seconds or more before aircraft appear but it definitely connects.
Here to Help.