Hi,
I've been using my SBS-1er for many happy years via USB but I now need to use it via Ethernet.
I have followed Mike's guide to change the ip address of the SBS box and despite an initial hiccup managed to successfully follow all the steps if I used Firefox to manage the Lantronix web config manager. The update progress bar progresses ok, but there never does seem to be a unit (SBS?) reboot, so I powered it off and then back on.
All settings are as per the instructions (triple checked) and I can ping the SBS on 192.168.0.172 as required.
I ran basestation and changed the hardware settings, changed data source to network, shut down basestation and restarted it, but it never connects to the box.
Does anyone have any suggesions ? I understand from browsing the forum that there was a utility to reset the Lantronix interface back to default is this still available (Mike) ?
Regards
Kelvin
How are you connecting the LAN cable? Via a switch / router or directly to your PC. If the latter are you using a cross-over cable?
Tim
connection is via router, I have checked out the setup (cable to router etc) with my SBS-3 and that all works ok. I can connect and run via network with the SBS-3 ok.
The sbs-1er runs Basestation fine from usb but if i change it to network it doesn't. I can ping it and get replies ok from it via the network, but not connect basestation to it.
Can I check what model SBS you have? In the first post you mention SBS-1eR and in the second SBS-3.
And what port number did you set in the BaseStation Settings->Hardware Settings->Network?
I have both a 3 and a 1er. The 3 works via the network fine, it is the 1er that i have the problem with.
From BS the network hardware settings are 192.168.0.172 port 10001
Thanks Kelvin.
What's the IP address and port number for the SBS-3?
Hi,
settings for the SBS-3 are 192.168.0.173 port 10001
Please note they are never both connected at the same time.
Thanks.
Just to recap and check my understanding.
You can ping 192.168.0.172 when the SBS-1eR is connected to your router using an Ethernet cable?
Do you see any LED light activity at the SBS-1eR Ethernet port when you ping it?
Do you see any blue lights on the SBS-1eR?
When you launch BaseStation, set to connect to the SBS-1eR using Ethernet, what happens? Does it launch OK? Is the screen empty of aircraft?
Silly question. How are you powering the SBS-1eR when you're using Ethernet?
I can ping 192.168.0.172 when connected to router via ethernet.
on the front the red & 3 blue lights show and on the back there is a solid green and a flashing green on the ethernet port.
basestation launches ok (and if connected by usb shows connected and aircraft) if set to network connection it launches ok but always shows as not connected in the status bar at the bottom and shows no aircraft
Power is via 12v 1.5amp psu to the SBS1-er and power switch on the back is slid to the right next to the input cable.
Thanks.
Have you tried this with the USB cable removed?
Yes, always removed the USB cable when connected it to the network.
Sorry been out this morning, just got back.
I;m guessing the port number is not 10001.
Maybe try the Lantronix address change again and pay particular attention to the port number part.
If that fails, we could try resetting the SBS-1eR Ethernet module to 192.168.1.170:10001 and start again.
Hi,
I am currently at work so only have occasional access to the forum.
I've already tried re-setting the ip address and port a few times and definately put 10001 in the port.
One thing that I can see that seems slightly odd is that when I use the "Lantronix DeviceInstaller" to look at the Xport config it shows the details of it all ok but when you go to the "device config" tab it gives an error "invalid ip address" but all the other tabs where you can see the ip address and other details shows it correctly and shows the port correctly as well.
(The tab may not be exactly "Device Config" but it is something like that, being at work I can't see a screenshot of it at the moment).
The other thing that seems slightly odd during the reset using the Web config (as per your instruction guide) is that it mentions a "unit reboot" which I assume means the SBS-1er but I don't see any evidence of that taking place, does it happen in a split second ?
I was contemplating doing a reset to factory defaults, but am a little wary of this as they might be different from the Kinetic defaults ?
I'll send you the Zip file with the Ethernet Module reset utility. That will set the IP and port back to 192.168.1.170:10001.
Then try Lantronix again.
I tried to send the Zip to your email address but it was blocked by your ISP because the content was suspicious.
I'll send the message again without the attachment but with a link to download it.
Thanks, I see your email and will act on it when I get home later.
Should the reboot of the SBS-1er be obvious after the settings have been applied ? Having done that a few times now, I have never noticed anything happening after the apply setting progress bar has finished.
The "Lantronix Device Installer" software that I have been using (to just look at the config after making the changes) does allow you to change the ip address but it mentions that it should not be done via a router or Gateway. Does this apply to the reset util you provided ? If that is the case then I need to get a cross over cable before I can connect direct to the SBS-1er from my pc.
I haven't used the utility for years but I'm pretty sure it will work using patch/straight Ethernet cable connected to the router or PC.
The SBS shouldn't need a reboot.
The email has step-by-step instructions which have definitely worked for others recently.
I used the EM reset utility, followed all the instructions and bingo all is now working!!
Many thanks for your help with this, much appreciated.
Kelvin
Fantastic. I'm really pleased you got this resolved.
Hello Anmer/other users,
I am fairly new to the SBS-1eR and new on this forum. But I read this topic and it seems that I also have this problem. I can connect the SBS-1eR via USB to my basestation perfectly, but when I want to connect it with ethernet it does not work. The IP address is 192.168.1.170 and Port 10001.
I can ping the network. The leds in front show only a red one on the left, and three blue leds on the right. No ethernet led (yellow) turns on. When using the USB, the led for USB also turns on and the connection turns on.
Is it also possible that after a reset of the EM it works? What do you guys think?
Welcome.
When you ping 192.168.1.170 what result do you get?
Resetting the Lantronix device may help.
When I ping 192.168.1.170 I just get the packets received/sent. In windows all 4 packets received and sent well. In Linux the ping just goes on and on.
Resetting the device? By just turning it OFF/ON again? Or is there another way?
Thanks.
How familiar are you with the Basestation software?
When you connect using Ethernet, are you changing the data source in BaseStation?
Settings -> Data Source -> Use Network
Hello Anmer, thank you for the quick reqply.
yes I am aware of that setting, when I set it to Use Network I also restart the Basestation software. I read that somewhere in the ReferenceManual.
Also, under Hardware Settings > Network I have filled in 192.168.1.170 Port 10001. I can also login to the Lantronix XPort Device Server configuration Manager via the IP address through my web browser. I also tried to do a 'Apply Default' but no luck.
Any ideas?
Thanks again.
There's no need to restart the BaseStation app when you change the data source.
Is the Ethernet cable from the SBS-1eR connected to a router/access point or your PC?
I could've also added that.
I am using a Windows 10 laptop, connected directly into the ethernet port. I have made an address on the port 192.168.1.10. In wireshark I can also see that it is connecting (ACK). But somehow basestation is not connecting with it..
EDIT: See attached screenshot of the wireshark connection.
[attachment deleted reduce file load]
Sorry about all the questions.
Connecting an Ethernet device directly to a PC usually requires a cross-over cable.
https://en.wikipedia.org/wiki/Ethernet_crossover_cable
The SBS-1eR possibly cannot handle the use of a non-crossover cable. I can't be sure but I rememeber this was an issue when the SBS ethernet option was released.
Can you connect the SBS-1eR to a router or network access point and try again?
Aah okay. I can yes, I will try and come back to you!
Please let me know how you get on.
I connected a switch but it still doesn't seem to work. I connected it as folllows|:
PC <NetworkCable> switch <NetworkCable> SBS-1eR
Thanks for trying those checks.
I've sent you an email with a link and instructions to reset the Lantronix device.
Please try the reset.
Okay I will try it, thank you. I will let you know.
I've run the steps and now it works! Thank you very much for the quick replies on this old thread.
Quote from: Maxie39 on October 15, 2021, 03:11:40 PM
I've run the steps and now it works! Thank you very much for the quick replies on this old thread.
Great to hear it now works.
Just needed to eliminate other issues first.
Hi all,
I am successfully using my SBS-1er with ethernet via my router but would like to share with other PCs on my network i understand this can be done using software called Multi-EM from jetvision but it seems they have moved on and no longer sell it is there anywhere else I can get a copy or is there and alternative?
Thanks in advance
Dean
Welcome Dean.
Unfortunately Multi-EM "disappeared" many years ago.
Do you plan to run Basestation simultaneously on your other, local PCs?
ModeSMixer might be a suitable alternative?
yes I do, thanks Anmer I will explore modeSmixer
Hi again Anmer this is confusing me do i have to run modesmixer2 on both PCs or just on the one that hosts the SBS-1ER
Thanks
Dean
I've not used this myself (others here are more experienced) but I think you only need to run ModeSMixer on one PC. Configure ModeSMixer2 to get data from the PC running Basestation using the SBS-1eR input. Then set Basestation running on the other PCs and connect (as Network) to the PC running ModeSMixer2.
Anmer is correct. You only need to run MSM2 on one PC, either the one you run BaseStation on or another one on the same network.
In essence MSM2 picks up the output from your SBS (192.168.1.170 is the defualt IP addrerss) and rebroadcasts it on the network so any PC running BaseStation pointing at the MSM2 feed will run as though it is connected directly to your SBS.
I've been running mine that way for years and it runs flawlessly!
Good luck.
Tim
Quote from: Triple7 on January 28, 2022, 07:40:42 AM
In essence MSM2 picks up the output from your SBS (192.168.1.170 is the defualt IP addrerss) and rebroadcasts it on the network so any PC running BaseStation pointing at the MSM2 feed will run as though it is connected directly to your SBS.
Thanks Tim.
For my benefit, does MMS2 get the data direct from the receiver or from Basestation?
My MSM2 gets the data direct from the SBS-1. However, first I connected BaseStation directly to the SBS-1 via the network connection to get the green network LED on the SBS-1 to turn on. Then set BaseStation to the IP address from the MSM2 machine and started MSM2.
Thanks Faramir that explains it better I will give it a go
Dean
Hi again guys trying to get this to work I have modesmixer2 on the host PC
this is my bat file
@echo off
cmd /c c:/modeSmixer2/modesmixer2.exe --inConnect 192.168.1.170:30005 --inConnect 127.0.0.1:30005 --outServer sbs10001:10001 --outServer msg:30003
PAUSE
exit
doesn't seem to work any idea what I am doing wrong?
thanks in advance
Dean
Hi Dean,
Your --inconnect ports are wrong! You can remove your '--inConnect 192.168.1.170:30005 --inConnect 127.0.0.1:30005 --outServer msg:30003' commands and replace with:
--inConnect 192.168.1.170:10001 --outServer sbs10001:10001
That should get you going.
And my apologies if my previous answer didn't explain things very well.
Tim
Hi triple7 thanks for the reply there is some progress but still not working, this is what comes up in the modesmixer2 window
2022-01-29 13:36:15.404 INFO ModeSMixer2 v.20180616
2022-01-29 13:36:15.413 INFO outServer(sbs10001:10001) started
2022-01-29 13:36:15.445 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-01-29 13:36:16.104 INFO outServer(sbs10001:10001) 192.168.1.217:63351 connected
2022-01-29 13:36:17.518 ERROR inConnect(192.168.1.170:10001) connect host 192.168.1.170:10001 error No connection could be made because the target machine actively refused it
once again thanks
Dean
Hi Dean,
You mentioned you can connect to your SBS-1er when using BaseStation I assume the IP address of your SBS is the default one of 192.168.1.170 and your local network is using the same structure / subnet?
The error messge infers MSM2 cannot find your SBS so I would check the network settings first to make sure everythnng is using the same structure. Can you Ping your SBS?
Tim
Hi Tim,
pinged the SBS-1eR at 192.168.1.170
C:\Users\User>ping 192.168.1.170
Pinging 192.168.1.170 with 32 bytes of data:
Reply from 192.168.1.170: bytes=32 time=2ms TTL=64
Reply from 192.168.1.170: bytes=32 time=1ms TTL=64
Reply from 192.168.1.170: bytes=32 time=1ms TTL=64
Reply from 192.168.1.170: bytes=32 time=2ms TTL=64
Ping statistics for 192.168.1.170:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
so that works and that is feeding my host pc BaseStation using the network source 192.168.1.170:10001
I changed the .bat script to
@echo off
cmd /c c:/modeSmixer2/modesmixer2.exe --inConnect 127.0.0.1:10001 --outServer sbs10001:10001
PAUSE
exit
and i get this when i run it
2022-01-29 15:11:28.846 INFO ModeSMixer2 v.20180616
2022-01-29 15:11:28.856 INFO outServer(sbs10001:10001) started
2022-01-29 15:11:28.873 INFO inConnect(127.0.0.1:10001) connecting 127.0.0.1:10001
2022-01-29 15:11:28.873 INFO inConnect(127.0.0.1:10001) connected
2022-01-29 15:11:28.873 INFO outServer(sbs10001:10001) 127.0.0.1:58582 connected
2022-01-29 15:11:28.873 INFO outServer(sbs10001:10001) 127.0.0.1:58582 SBS-3 LOGIN
2022-01-29 15:11:28.873 INFO outServer(sbs10001:10001) 127.0.0.1:58582 SBS-3 LOGIN
2022-01-29 15:11:28.874 INFO inConnect(127.0.0.1:10001) SBS-3 LOGIN OK
2022-01-29 15:11:28.874 INFO SBS-3 S/N:123456 FW version: 119 FPGA: 3.01 UI Version: 1.19
2022-01-29 15:11:28.874 INFO inConnect(127.0.0.1:10001) SBS data stream detected
2022-01-29 15:11:29.130 INFO outServer(sbs10001:10001) 192.168.1.217:50845 connected
2022-01-29 15:11:34.064 INFO outServer(sbs10001:10001) 192.168.1.217:50845 SBS-3 LOGIN
the other pc is connecting but there is no data coming through
Quote from: alpha60uk on January 29, 2022, 03:18:48 PM
so that works and that is feeding my host pc BaseStation using the network source 192.168.1.170:10001
If I am reading this correctly you are conencting one PC directly to the SBS which means the feed is locked, as you have found, you can normally only use the SBS feed with one copy of BaseStation hence why you want to use MSM2. That probably exaplins why MSM2 gave the error you mentoned before.
You need both of your PC's running BaseSataion to point at the IP address of the feed from MSM2 - see Faramir's post earlier.
127.0.0.1:10001 is probably the correct IP address to enter in BaseStation - Settings>>Hardware settings, Network tab on the PC running MSM2. But the other PC will need to use correct IP of the machine running MSM2. You can use the true IP address of the host machine on both copies of BaseStaion if you like.
Try the above and see. I have a feeling that you won't get any data on either machine as I am fairly sure MSM2 needs the IP addess of the SBS in its command line otherwise it won't know where to look to grab the data stream. If you have your SBS connected directly to the first PC (via cross-over cable perhaps?) then the 127.0.0.1 address should work, but I suspect your SBS is elsewhere and attached to your LAN via the router?
Tim
Hi Tim that is correct the SBS-1eR is connected via LAN to my router not directly to the host pc
the basestation on the host PC is connected via 192.168.1.170 port 10001 which as you say is the default the datastream and is working fine.
As you say any attempts from any other pc to connect to 192.168.1.170 seem to be blocked.
Are you using a cross-over cable? Can i just buy one? and connnect the SBS-1eR to my host I think I have had it for today I really appreciate all your help thanks you so much
maybe if you explain your set up I can duplicate it
All the best
Dean
Quote from: alpha60uk on January 29, 2022, 05:10:09 PM
the basestation on the host PC is connected via 192.168.1.170 port 10001 which as you say is the default the datastream and is working fine.
As you say any attempts from any other pc to connect to 192.168.1.170 seem to be blocked.
I'm sure Tim will confirm but you need to close down the Basestation session that's connected to 192.168.1.170 port 10001. It's this connection that's blocking MSM2 from connecting to your SBS-1eR.
Basically, this is the required connection "map":
SBS-1eR <- MSM2 <- Basestation sessions(s)
The IP address and port for the SBS-1eR are fixed at 192.168.1.170:10001.
With MSM2 running and connected to the SBS-1eR, the Basestation Network connection(s) will use the local IP address of the PC running MSM2 and the assigned port.
No need for a crossover cable the way you have things is just fine!
My set-up is SBS in loft connected via LAN cable to a PLA (Power Line Adaptor). Router is downstairs next to the master socket. Second PLA connects directly into one of the Router's LAN ports. That's the (relevant) hardware bit.
Now the software bits and the area I believe is causing you the problem.
I have 2 PC's, a Desktop and a Laptop. The desktop runs MSM2 with a command line as below. Both run BaseStation and importantly, both have the LAN settings pointing at the MSM2 feed. So, in my case 192.168.1.67 - see image attached. That's the Desktop PC but I have elected to use the full IP address of that machine so it's clear to me where it is looking. As I noted before, the 127.0.0.1 (local host) should work OK for the machine running MSM2 – but not the second one.
@echo off
cmd /c modesmixer2.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10001
PAUSE
exit
So, I agree with Anmer your issue is that BaseStation is using the IP address of the SBS and therefore locking the feed for anything else - you need to change the network settings to suit your main PC, replacing the 192.168.1.67 in my image attached with the correct IP address of your main machine (or use 127.0.0.1) and on the second PC you must use the IP address the main machine - 192.168.1.67 in my case. I am sure if you reset the network settings in BaseStation and revert back to the original MSM2 command line as above, things will spring into life and you will have a very satisfied grin on your face :-)
Tim
[attachment deleted reduce file load]
Once again thanks Tim and Anmer,
So I closed the basestation session on the host pc 192.168.1.226, that i had running connected to 192.168.1.170:10001 this was obviously blocking the MMS2 from connection to the SBS-1eR.
I start MMS2 with this script
@echo off
cmd /c c:/modeSmixer2/modesmixer2.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10001
PAUSE
exit
this is from the MMC2 window
2022-01-29 19:04:46.947 INFO ModeSMixer2 v.20180616
2022-01-29 19:04:46.962 INFO outServer(sbs10001:10001) started
2022-01-29 19:04:46.978 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-01-29 19:04:46.978 INFO inConnect(192.168.1.170:10001) connected
my laptop logs in
2022-01-29 19:04:52.516 INFO outServer(sbs10001:10001) 192.168.1.217:54943 connected
2022-01-29 19:04:53.953 INFO outServer(sbs10001:10001) 192.168.1.217:54941 connected
2022-01-29 19:04:54.031 INFO outServer(sbs10001:10001) 192.168.1.217:54941 disconnected
2022-01-29 19:04:58.522 INFO outServer(sbs10001:10001) 192.168.1.217:54943 SBS-3 LOGIN
I start basestation on the host pc
2022-01-29 19:05:43.881 INFO outServer(sbs10001:10001) 192.168.1.226:62030 connected
2022-01-29 19:05:48.826 INFO outServer(sbs10001:10001) 192.168.1.226:62030 SBS-3 LOGIN
both laptop 192.168.217 and host 192.168.1.226 show connected but no data appears in either session basestation
the green light is not on on SBS-1eR
it is only on if I connect directly to 192.168.1.170:10001
I have tried starting the host pc with basestation to connect to 192.168.1.170:10001 green light is on
I switch over to 192.168.1.226
start MMS2
i lose the data but basestation says its connected
Doh!!!!!
I think I'll try again tomorrow
When you state:
Quotemy laptop logs in
What are you running on your laptop that "logs in"?
What is the local IP address of the PC running MSM2?
If you have MSM2 successfully connecting to your SBS-1eR (which it appears to be), then your Basestation setup should use the IP address of the MSM2 PC, as explained in Tim's last message. Make sure Basestation has Data Source set to "Use Network".
Just to clarify. You only need to run MSM2 on one PC. It looks like you might be trying to run a copy on both your laptop 192.168.1.217 and your main machine 192.168.1.226 - don't!
Just fire up MSM2 on your main machine, make the changes to BaseStation on boith machines and try that.
Tim
Hi Anmer
What are you running on your laptop that "logs in"?
Basestation, network settings 192.168.1.226:10001 this is the IP of the host pc
yes i am only running MMS2 on the host
I just tried using the laptop as the host (just running MMS2 on that) and again both connect but no data coming into either basestation session
2022-01-30 13:24:53.724 INFO ModeSMixer2 v.20180616
2022-01-30 13:24:53.731 INFO outServer(sbs10001:10001) started
2022-01-30 13:24:53.752 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-01-30 13:24:53.754 INFO inConnect(192.168.1.170:10001) connected
2022-01-30 13:24:55.543 INFO outServer(sbs10001:10001) 192.168.1.226:52000 connected
2022-01-30 13:25:00.520 INFO outServer(sbs10001:10001) 192.168.1.226:52000 SBS-3 LOGIN
2022-01-30 13:25:04.493 INFO outServer(sbs10001:10001) 127.0.0.1:49775 connected
2022-01-30 13:25:09.494 INFO outServer(sbs10001:10001) 127.0.0.1:49775 SBS-3 LOGIN
last night i tested MMS2 to forward a data from a Pizero2 which is running a feed to pi aware and that worked fine
still confused as to why no data is coming through despite connection and why green light is dissappearing form SBS-1er
Tim said
Just to clarify. You only need to run MSM2 on one PC. It looks like you might be trying to run a copy on both your laptop 192.168.1.217 and your main machine 192.168.1.226 - don't!
does this mean I have to remove completely MMS2 from the laptop? I have only been running it on one machine at a time ie which ever is the the host mainly the 226 the PC
Is Basestation set to "Use Network"?
Settings -> Data Source -> Use Network
yes it is on both host and laptop
Quote from: alpha60uk on January 30, 2022, 02:29:43 PM
yes it is on both host and laptop
Thanks. I assume you can see both PCs connected to your router in its admin?
Maybe I've got this wrong but in MSM2 you've set the outgoing ports to 49775 and 52000.
Should your Basestation connection use one of those ports and not 10001?
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?
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
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]
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"!
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
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.
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?
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
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?
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]
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?
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
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
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
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.
yes i have just downloaded it again to be sure the first was not corrupted
One thing you may want to check.
Start Task Manager and make sure there's definitely nothing running such as a background version of Basestation. I have known this to happen.
Update
I had a remote connect session with alpha60uk and can confirm everything was setup correctly.
ModeSMixer2 can successfully connect to the SBS-1eR and Basestation connects to ModeSMixer. But no aircraft display.
I was using an SBS-3. So I swapped out the SBS-3 and replaced it with an SBS-1eR. And I experienced the same issue as alpha60uk.
Then I remembered the SBS-3 has raw data output but the SBS-1eR doesn't. So after digging around various forum posts I tried different outServer settings, to no avail.
Then suddenly, after changing the BAT back as shown below, Basestation started to display aircraft.
inConnect 192.168.1.170:10001 --outServer sbs10001:10002
I made another remote connection to alpha60uk but still no joy. MSM2 connects to the SBS-1eR and Basestation to MSM2. But no data!
Is anyone else using MSM2 with an SBS-1eR?
I'm sure I used to run 2 (maybe3!) instances of basestation off MSM in the past so had a dig around old configs.
I think this is what I used:
--inConnect 192.168.0.170:10001 --outServer sbs10001:10002 --outServer sbs10001:10003 --outServer sbs10001:10004
So MMS connects to the SBS1-eR on port 10001 and then I output on different unique ports for each basestation instance, 10002, 10003 and 10004.
Note my SBS IP address is 192.168.0.170 not 192.168.1.170 so change that as necessary.
I'm fairly sure those outServer arguments used to work for me.
Cheers,
Keef.
Quote from: Keef on January 31, 2022, 03:53:45 PM
I'm fairly sure those outServer arguments used to work for me.
Thanks Keef. They look good to me and we're replicating part of the same.
Everything connects, just no data stream. Maybe it's the router firewall but I was unable to gain access to the router admin. Hopefully that will be resolved soon and we can take a look.
Hi Anmer, the command line you have is correct and should work. The only thing I can suggest is a repeat of my message yesterday:
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.
Seeing as to begin with you were using an SBS-3 and not the 1eR, that may explain why you could stop and start the programs at will. The router firewall is a good point but if it's the same for you and you are using a different router (I assume) then that would seem to be a very unlucky coincidence. What about the windows Firewall does MSM2 need to be allowed through?
Did you try the sequence above? When you say no data I assume the "no green LED" is still the issue?
Tim
Thanks Tim.
I wasn't able to check for any green light on my SBS as it's upstairs and the PC is down. And for the remote connect I couldn't see anything :)
The ModeSMixer2 window clearly shows it's connected to the SBS-1eR and shows the Basestation login. The Basestation window shows "Connected to SBS-1". Same for alpha60uk and my setup.
I don't think Basestation retains any connection history so my previous setup with the SBS-3 and then SBS-1eR shouldn't make any difference. But I could be wrong.
And I ran through all the changes you suggested.
alpha60uk has a BT Home Hub, same as mine. As soon as the Admin login issue is resolved I'll take a look at the router setup.
I've also messaged sergsero but he's not been on the forum since early last year.
Quote from: Anmer on January 31, 2022, 02:14:17 PM
Is anyone else using MSM2 with an SBS-1eR?
Yes, I use the SBS-1eR with MSM2. It's started with a shortcut on the desktop without any batch file. My command line for the tool is
C:\Kinetic\BaseStation\modesmixer2.exe --inConnect 192.168.2.202:10001 --outServer SBS10001:10001
The 192.168.2.202:10001 is the address:port of the SBS-1eR. The version of ModeSMixer2 is v.20190413.
As it does what it's supposed to do I see no point in getting the latest version. Perhaps worth a try with this 'old (https://faramir.nl/info/modesmixer2.exe)' version?
Quote from: Faramir on February 01, 2022, 06:49:45 AM
Perhaps worth a try with this 'old (https://faramir.nl/info/modesmixer2.exe)' version?
Thanks John.
I don't think the issue is related to the SBS model or ModeSMixer version. My SBS-1eR is working OK with ModeSMixer2 Version 20180616.
If thne naming convention references the release date, your version
20190413 may be newer?
Where did you find it?
Quote from: Anmer on February 01, 2022, 08:43:40 AM
Where did you find it?
Honestly, I don't remember where I got it.
Maybe verify the Message Filtering settings? (Data Settings -> SBS-1 tab), my settings:
Ignore NON ADS-B Mode-S Messages:
uncheckedProcess Mode-S Air-to-Air Replies:
checkedProcess TIS-B Messages:
checkedProcess ADS-R Messages:
checked
Quote from: Faramir on February 01, 2022, 10:03:33 AM
Maybe verify the Message Filtering settings? (Data Settings -> SBS-1 tab), my settings:
I did think of that and noted alpha60uk's were all unchecked.
I unchecked mine, closed and relaunched Basestation which ran OK.
Alpha60uk, can you confirm the green LED on the SBS-1eR is on?
Hi Faramir,
only when directly connected (data source as 192.168.1.170:10001), otherwise if I change the data source i.e 192.168.1.226 (the local host) it goes off
Dean
Hi Dean,
Try to start Basestation and connect via the network to the SBS-1. The green LED should be on. Then start ModeSMixer2.exe on the host computer. After this, change BaseStation's connection to the ModeSMixer2 host (keep BaseStation running). The green LED goes off but should come on again after ModeSMixer2 shows the SBS-1 LOGIN OK message.
I did this a minute ago and the green LED is on after the switch.
John
Hi John
I'll be doing another remote connect with Dean and will do as you suggest. I'll also check the router firewall while I'm at it.
Will report back.
Good news,
something I hadn't tried was using the alternative .exe file (modesmixer2_xp.exe) NOT modesmixer2.exe which I was using before
So I Changed the .bat script to
@echo off
cmd /c c:\modeSmixer2\modesmixer2_xp.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10002
PAUSE
exit
basically i hadn't tried the highlighted alternative .exe file but it worked first time
Will check with Mike tommorrow to see if it works on his
Thanks again to all for their input at times I was about to give up but kept plugging away and now it works
Dean
[attachment deleted reduce file load]
That is indeed good news. So your system is running XP then?
Is it also working on your laptop?
Tim
Quote from: Triple7 on February 01, 2022, 05:31:53 PM
That is indeed good news. So your system is running XP then?
Nope, it was Windows 10! Same as my setup. I'd never thought to use the XP version.
Quote from: alpha60uk on February 01, 2022, 05:03:22 PM
something I hadn't tried was using the alternative .exe file (modesmixer2_xp.exe) NOT modesmixer2.exe which I was using before
Knowing your PC was running Windows 10, are you sure Basestation is connecting to ModeSMixer2 and not your SBS-1eR?
Hi guys running windows 10 on both the desk top and laptop
Dean
yes working on 3 different machines all windows 10
Strange that the XP version worked when modesmixer2.exe didn't. I can confirm modesmixer2_xp.exe works on my Windows 10 installation.
Did you make any other changes, either in the router firewall or following Faramir's advice?
Out of curiosity, if you revert back to using modesmixer2.exe, does it now work?
I reverted and it didn't work and now the _xp doesn't work Doh!!!!
Quote from: alpha60uk on February 02, 2022, 05:38:24 PM
I reverted and it didn't work and now the _xp doesn't work Doh!!!!
When you say it doesn't work, what are you experiencing?
Does the BAT file launch MSM2? Do none of the 3 x Basestation connections work? Did you make any other changes before or after?
back to what was happening before connection but no data
see attached screenshot of MSM cmd window (capture1.png)
when it worked (capture.png)
[attachment deleted reduce file load]
Did you do anything else before it worked, such as any router firewall changes or followed Faramir's suggestion?
The CMD window, when it worked, shows the extended inConnect data, as mine showed but yours previously didn't.
I've not had a reply from sergsero so assume he's not visiting the forum these days?
Mike,
got it working again
restarted pc
started basestation connected to source network 192.168.1.170:10001
started MSM2 with script
@echo off
cmd /c c:\modeSmixer2\modesmixer2_xp.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10002
PAUSE
exit
2022-02-02 18:15:48.785 INFO ModeSMixer2 v.20180616
2022-02-02 18:15:48.801 INFO outServer(sbs10001:10002) started
2022-02-02 18:15:48.817 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-02-02 18:15:50.891 ERROR inConnect(192.168.1.170:10001) connect host 192.168.1.170:10001 error No connection could be made because the target machine actively refused it
2022-02-02 18:15:50.891 INFO inConnect(192.168.1.170:10001) reconnect in 10 seconds
2022-02-02 18:15:59.166 INFO outServer(sbs10001:10002) 192.168.1.194:65073 connected
2022-02-02 18:16:00.914 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-02-02 18:16:02.968 ERROR inConnect(192.168.1.170:10001) connect host 192.168.1.170:10001 error No connection could be made because the target machine actively refused it
2022-02-02 18:16:02.984 INFO inConnect(192.168.1.170:10001) reconnect in 11 seconds
laptop connects
2022-02-02 18:16:04.101 INFO outServer(sbs10001:10002) 192.168.1.194:65073 SBS-3 LOGIN
2022-02-02 18:16:13.996 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-02-02 18:16:16.057 ERROR inConnect(192.168.1.170:10001) connect host 192.168.1.170:10001 error No connection could be made because the target machine actively refused it
2022-02-02 18:16:16.057 INFO inConnect(192.168.1.170:10001) reconnect in 19 seconds
then change basestation source to 192.168.1.226 (host pc)
2022-02-02 18:16:32.461 INFO outServer(sbs10001:10002) 192.168.1.226:49859 SBS-3 LOGIN
2022-02-02 18:16:35.085 INFO inConnect(192.168.1.170:10001) connecting 192.168.1.170:10001
2022-02-02 18:16:35.085 INFO inConnect(192.168.1.170:10001) connected
2022-02-02 18:16:35.148 INFO inConnect(192.168.1.170:10001) SBS data stream detected
2022-02-02 18:16:35.179 INFO inConnect(192.168.1.170:10001) SBS-1 LOGIN OK
2022-02-02 18:16:40.884 INFO Coverage area was determined
2022-02-02 18:16:40.884 INFO Magnetic declination calculated
its works checked laptop also receiving data
no other changes to anything
hope that helps
Dean
Thanks Dean. Glad it's working again.
My guess it's the sequencing that Faramir suggested that's the key.
1, Launch Basestation connecting directly to the SBS-1eR (via Network).
2. Launch ModeSMixer2 to connect to the SBS-1eR, which will fail as Basestation is already connected.
3. Change the IP address (and port if necessary) in Basestation to disconnect from the SBS-1eR and connect to the IP address of the local PC running ModeSMixer2 and the port set for the outServer.
4. Pray it works!
My inquisitive nature would want to try the same routine using modesmixer2.exe instead of modesmixer2_xp.exe but you may prefer to let things lie. 8)
The last time ModeSMixer2_XP had the same problem... That make me believe the original ModeSMixer2.exe should also work. First thing to check if no aircraft are visible is the green LED on the SBS-1.
I'm convinced the ModeSMixer2.exe will work also.
How exactly the 'handshake' works between BaseStation and the SBS-1 I don't know but Kinetic in the past said it had a 'proprietary' encryption.
My guess is that BaseStation provides the key to 'switch on' the network traffic.
I was doing some electric work on the house today and shut off the circuit powering my SBS-1eR. When I reconnected no aircraft appeared on Basestation. Closing and relaunching MSM2 and Basestation made no difference.
It was only when I reverted to Faramir's suggestion that it worked.
I closed MSM2 and redireted Basesstaion to the IP address of the SBS-1eR.
Relaunched MSM2.
Redirected Basestation to the IP address and port for MSM2 and "Bingo".
Hi guys,
I really need your help. A friend and I are trying to get my sbs 1er to work over the network, we get a reply when pinging but it simply doesn't show up on the software and the light fails to illuminate to says it's on the ethernet. The box is plugged into the modem and my pc is elsewhere in the house. This is the bit we don't understand - can anyone help decipher why it keeps failing here or what this even means ?
2022/04/14 : 15:56:57.990 : Initialising data message socket
2022/04/14 : 15:56:57.996 : Opening data message socket on 30003
2022/04/14 : 15:56:58.012 : Initialising raw data socket
2022/04/14 : 15:56:58.019 : Opening raw data socket on 30006
2022/04/14 : 15:56:58.034 : Opening ACARS data socket on 30008
2022/04/14 : 15:56:58.052 : Initialising raw audio socket
2022/04/14 : 15:56:58.059 : Opening RTSP server socket on 554
2022/04/14 : 15:56:58.073 : Opening raw audio server socket on 30005
2022/04/14 : 15:56:58.594 : Main Socket Connected
2022/04/14 : 15:56:59.084 : Locked for 00:00:05
2022/04/14 : 15:57:02.845 : Sending login string
2022/04/14 : 15:57:27.917 : Main Socket Connecting on 192.168.0.170:10001
2022/04/14 : 15:57:27.935 : Main Socket Connected
2022/04/14 : 15:57:32.918 : Sending login string
2022/04/14 : 15:57:57.961 : Main Socket Connecting on 192.168.0.170:10001
2022/04/14 : 15:57:57.988 : Main Socket Connected
2022/04/14 : 15:58:02.964 : Sending login string
The ping is using an SBS-1eR IP and port address of:
192.168.0.1701:10001
The default IP address (hard coded) is 192.168.1.170.
Has the SBS-1eR had it's IP address changed?
These Guides may help:
Networking the SBS-1 (https://radarspotting.com/forum/index.php?action=tportal;sa=download;dl=item44)
Changing the SBS-1 IP Address (https://radarspotting.com/forum/index.php?action=tportal;sa=download;dl=item41)
Please post again if you still need help.
Hi Anmer,
yes the sbs/Lnatronix xport has had its IP changed to match my network. We can ping it and get the response back with no loss but it simply refuses to connect.
The SBS has worked flawlessly for many years on USB but I want to move the sbs to the loft where I have access to the network via cable. Connecting via both the router and a switch have been tried and both ping ok but with the same response. It seems to stall at the "login string". We have also reset to default (192.168.1.170 and subnet of 255.255.0.0) and get the same response.
Really not sure where I go from here ? Is it worth having a go with your reset program if you still have it ?
The SBS-1 is connected via the router to the PC that is also connected to that same router I believe. Perhaps some firewall/portfilter issue? If you got a cross-over network cable you could try to connect the SBS-1 via Ethernet directly to the PC.
The login listing you posted, is that from Basestation?
I assume in Basestation Settings -> Data Settings you've selected "Use Network"?
And what do you have in Settings -> Hardware Settings -> Network?
+1 for the advice to try connecting directly to the PC - you can get a crossover cable for a couple of quid on eBay, if you don't already have one.
Dave
Hi all,
Anmer - the login string response is from the basestation debug window. I will get a crossover cable that you all suggested and report back - appreciate everyone's replies
so my friend logged back into my pc and mucked around with some settings on the Lantronix page and somehow got it to work. In all honesty, he told me what he did but it went right over my head but he got it all working on 192.168.0.1701:10001
Good to hear it's all fixed.
Maybe ask your friend to write a short note explaining what he did which you can copy and paste here?