Radarspotting

Mode-S Software => PlanePlotter => Topic started by: gcopter1 on April 03, 2018, 08:03:39 PM

Title: Networking questions
Post by: gcopter1 on April 03, 2018, 08:03:39 PM
A bit about my setup first;
FlightAware Pro USB Stick
Raspberry Pi3
Running PlanePlotter inside a virtual machine with Windows 7.

Per PiAware, I'm feeding the data coming out of the stick and the RPi.

In PP, I can see my own traffic and the shared one. I've assigned them different colors in order for me to differentiate one from the other so, that right there, tells me so far I'm doing something right.

Out of curiosity, I've clicked on Help>Test Networking.
Raw data, master user, GS shows no and n/a. No surprise there as I have neither of those things.

Raw data out check;
Again, not a Master User but, the rest of the info worries me; I'm failing the UDP request.

Raw data in check;
The UDP message sent but no pop up report shows on PP.

LAN IP check;
Reveals an IP address that I don't have on PP I/O settings. The network name, is the one that Windows has given to my virtual machine.

G/S M/U test;
Shows my sharer ID and that I'm sharing this installation of PP on an IP address that's not on the I/O settings. On the I/O settings, UDP/IP Remote IP, it starts with 192, yet, the test shows I'm sharing on an IP that starts with 68.

NTP Test;
No association's ID returned.

AM I really sharing my data with PP?

One of my main reasons to use PP, in addition to enjoy it's flexibility, is to be able to see MLAT traffic.

By failing these tests, would that be detrimental to me seeing or contributing data to help with MLAT?

Do I need to become a MU or become a GS in order to fix this?

Thanks.
Title: Re: Networking questions
Post by: IanH on April 03, 2018, 10:26:39 PM
My inital thought was PANIC! You have to be careful to only send your own data to PlanePlotter, not the MLAT (shared) data.

So what are your settings in PP to receive your own traffic and the shared one - probably in  the Options/ModeS receiver settings. You are seeing both in PP so how do you set up to receive each?

If those are two separate settings, we can move on from there.
Title: Re: Networking questions
Post by: gcopter1 on April 04, 2018, 07:30:58 AM
Using the IP address of the RPI. I'm away at work now but, if memory serves, that ip is in both the I/O and the  sharing setup?
Title: Re: Networking questions
Post by: Triple7 on April 04, 2018, 07:47:17 AM
I can provide some of the answers to your queries:

Quote from: gcopter1 on April 03, 2018, 08:03:39 PM
Out of curiosity, I've clicked on Help>Test Networking.
Raw data, master user, GS shows no and n/a. No surprise there as I have neither of those things.

Correct, until your system is checked and you are given GS approval status, you won't see anything in those fields.

Quote
Raw data out check;
Again, not a Master User but, the rest of the info worries me; I'm failing the UDP request.
As IanH says if you post your settings and also what you have selected under I/O settings - Blue Spanner (wrench) 12th Icon from the left

Quote
Raw data in check;
The UDP message sent but no pop up report shows on PP.
Probably to do with a setting - same as above

Quote
LAN IP check;
Reveals an IP address that I don't have on PP I/O settings. The network name, is the one that Windows has given to my virtual machine.

I don't have any IP addressees in the I/O settings dialog box so not sure where you are seeing that.

Quote
G/S M/U test;
Shows my sharer ID and that I'm sharing this installation of PP on an IP address that's not on the I/O settings. On the I/O settings, UDP/IP Remote IP, it starts with 192, yet, the test shows I'm sharing on an IP that starts with 68.

Correct the 192 is your local LAN IP address of the machine running PP and the 68 is your WAN IP address.


Quote
NTP Test;
No association's ID returned.

See below for what I get when I run that test

Quote
AM I really sharing my data with PP?

Probably, but as IanH says you might also be sending MLAT returns from your FA receiver which would probably upset the PP MLat system.

Quote
One of my main reasons to use PP, in addition to enjoy it's flexibility, is to be able to see MLat traffic.

By failing these tests, would that be detrimental to me seeing or contributing data to help with MLAT?

As above

Quote
Do I need to become a MU or become a GS in order to fix this?

We need a bit more information to answer that one

Quote
Thanks.

No problem!

Tim

[Attachment deleted by Admin to save file space]
Title: Re: Networking questions
Post by: Anmer on April 04, 2018, 08:13:16 AM
I saw the post last night and decided I would reply in the morning when I had more time.

Others have since contributed.

I am sure you're sharing data but not set up for MLAT.  No port forwarding?

The test is showing your public IP address.  Not a local one.

I'm sure if you set up port forwarding as described in PP Help you'll pass the tests.
Title: Re: Networking questions
Post by: gcopter1 on April 04, 2018, 09:37:05 AM
Screenshots.

[Attachment deleted by Admin to save file space]
Title: Re: Networking questions
Post by: Anmer on April 04, 2018, 09:48:37 AM
Have you setup port 9742 forwarding in your router admin?

Extract from PP Help - seach for "9742" and read the Multilateration Tutorial

It follows from the above that each Ground Station must enable PlanePlotter to receive UDP/IP datagrams addressed to port 9742 and to send UDP/IP datagrams to any IP address on the Internet. This facility must be enabled in the user's firewall and, if necessary, in their router.
Title: Re: Networking questions
Post by: Triple7 on April 04, 2018, 09:56:55 AM
In addition to Anmer's suggestion about Port 9742, here are a few more thoughts

Your I/O screenshot might have more checked than you need. Mine's below. I have UDP/IP Data from net checked. You'll see that whilst I am using an SBS, I have nothing checked in the lower sections. I see you have an IP address for "remote control" under UDP/IP Output that will allow you to see the output of the main PP screen on a remote PC - in the help file under remote control these are referred to as "upstairs" and "downstairs" PC's. Do you need that? If that is the IP address of your RPi then that might end up with PP trying to feed the RPi - which won't work!

Maybe try with the minimum amount of check marks in the I/O setting dialog and go from there.

Tim

[Attachment deleted by Admin to save file space]
Title: Re: Networking questions
Post by: gcopter1 on April 04, 2018, 07:00:58 PM
Anmer,
I'm attempting to follow the tutorial. Including screenshots of my router settings.

The tutorial specifies to use 9742 for the Inbound port, the router has two boxes as to specify a range so I placed the 9742 value on both.




[Attachment deleted by Admin to save file space]
Title: Re: Networking questions
Post by: Anmer on April 04, 2018, 07:17:32 PM
Thanks.

There are so many routers out there!

I usually find that Googling "Port Forwarding for xxxxx" will help, where "xxxxx" is your router make and model.
Title: Re: Networking questions
Post by: IanH on April 04, 2018, 08:37:10 PM
I still don't understand from another thread how gcopter1 was able to see shared data previously, but not local data. If PlanePlotter is not setup where is that data coming from? When Anmer's instructions wre followed to set the port to 30005, local data was visible. Is the shared data also still visible?

I'm not going to contribute further until there is some clarity over what is being received and how. Ignoring questions about these things is personal choice but consequently I'm withdrawing from this thread.

Feeding Piaware MLAT data to PP is a big NO-NO.

Bye



Title: Re: Networking questions
Post by: gcopter1 on April 04, 2018, 09:05:13 PM
Another thing I found that might bear some relevance, in Windows 7, I looked into the Firewall settings.
PlanePlotter is there, it has Inbound and Outbound rules.

On the inbound rules, there's two rules for PP, UDP and TCP. None specify port 9742 but do allow any port to be used.

On the outbound rules, there's only one for PP and the rule allows for both UDP/TCP and any port.

Regarding the port forwarding for my router, yes, seen the YouTube video. Have no problem accessing the router, I just don't know what values to use where except for 9742. If I use it for both in and out fields, there's no difference in PP.

IanH
Currently I see both local and shared. I'm basing this on the fact that on my screen, I've assigned different colors for each. I even went as far as inverting these colors to make sure I was in fact seeing my own and the shared data.

Where I'm hitting the wall is when performing the networking tests and port forwarding.

I've read the PP tutorial where it says to make sure the router is forwarding data to port 9742.

Trouble for me is that, wether I use virtual server/port forwarding or port triggering in my router, there's no change in the status of the tests.
My router asks a port number for in and out. I already know PP wants 9742, what do I use on the other field?
Title: Re: Networking questions
Post by: gcopter1 on April 04, 2018, 09:10:32 PM
Correction, my router dialog box for Virtual Server/Port Forwarding has inbound port and local port, not outbound as I previously said.

So, the PP Multilateration tutorial specifies that I use 9742 to receive (inbound), so what values is needed to assign to the local port?
Title: Re: Networking questions
Post by: Anmer on April 04, 2018, 09:45:01 PM
Try setting both to 9742.
Title: Re: Networking questions
Post by: gcopter1 on April 04, 2018, 11:18:26 PM
They are hence my frustration.

As it is right now, I can see my traffic and the ones by sharers .
I'd like to solve this so that I can be GS/MU and see MLAT traffic.

Sigh.
Oh, BTW, thanks to all who have contributed to the thread.
Title: Re: Networking questions
Post by: gcopter1 on April 05, 2018, 01:47:26 AM
Quote from: IanH on April 04, 2018, 08:37:10 PM
I still don't understand from another thread how gcopter1 was able to see shared data previously, but not local data. If PlanePlotter is not setup where is that data coming from? When Anmer's instructions wre followed to set the port to 30005, local data was visible. Is the shared data also still visible?

I'm not going to contribute further until there is some clarity over what is being received and how. Ignoring questions about these things is personal choice but consequently I'm withdrawing from this thread.

Feeding Piaware MLAT data to PP is a big NO-NO.

Bye

A "NO-NO" how?
I'm only using their dongle, the ProStick, to get my ads-b signals. Processing that thru VRS and PP.
I'm not even sure I'm feeding MLAT data to PP as shown thru the failed tests.
Title: Re: Networking questions
Post by: Anmer on April 05, 2018, 07:56:53 AM
If it helps, i can do a remote connect session with you at a mutually agreable time and see if we can sort this for you.
Title: Re: Networking questions
Post by: gcopter1 on April 05, 2018, 02:31:05 PM
Anmer,

I'm off today from work but promised the wife I would drive here somewhere today.
Appreciate the offer, I'll be contacting you later.

I'm available everyday between 1PM and 4PM EST and am off Wednesday and Thursday.
Title: Re: Networking questions
Post by: gcopter1 on April 27, 2018, 07:18:10 PM
Ok guys, finally managed to get it going.

I kept messing around with my router, the virtual server/port forwarding settings.

Last night while in bed with my iPad, researching the subject, I came across a link from PP to set up the router to enable port 9742.
One thing that kept coming back was to use the IP address of the computer running PP. Immediately I thought I was using the IP address of the Raspberry. Next day, I set out to find out I was correct all along, using the IP of the machine running PP, the MAC...?

Which brought me back to another question I had when I first started to work on this, I had to get the IP address of the machine running PP; the Windows machine which was running inside a virtual machine in MAC.

So, I had to get that address. Using the "Check own LAN/IP address" button in PP, I kept getting some weird ip address. By weird I mean it wasn't in the familiar 192.168.X.X range that my other devices running in the network, had. It was, 10.XXX.XX.X range, totally incompatible with all my other network devices.

Kept messing around with router settings up to the point where I ended up without internet.

Reset the router and when it came back up, went back to the virtual machine Windows settings and instead of using the "shared" connection with the Mac, I choose instead to use the bridged wi-fi connection.

I then opened up a cmd terminal on Windows and ran the ipconfig. This time I got an ip address similar to the others in my network, went back to the router admin page / firewall, and created the VS/Port forwarding rule to allow 9742 traffic with the new IP address.

SUCCESS!

Now, how do I go about requesting GS/MU status?

I know/seen, belong to, the PP Yahoo group, where people go to request this.
Before I do that, is there a format, protocol or other info I need before I put in the request?
Title: Re: Networking questions
Post by: Triple7 on April 27, 2018, 08:47:53 PM
Quote from: gcopter1 on April 27, 2018, 07:18:10 PM
Now, how do I go about requesting GS/MU status?

Run the GS test:

Help>>Test networking>Test GS/MU Functions. You should be prompted with a "this installation is ready for GS approval" I can't remember the actual wording as my system has been approved for years. You should see something like the image attached. If so, post on the PP list or send Bev a direct email - info@coaa.pt and ask for GS/MU approval.

Tim

[Attachment deleted by Admin to save file space]
Title: Re: Networking questions
Post by: gcopter1 on April 27, 2018, 09:28:16 PM
Yup, did that successfully.
Heading out to work now, going to leave PP running to eliminate the possibility that later on the day Mac, Windows and Parallels change my settings again.
Sometime after I did all of this, a message window popped up saying another device in my network was using the ip I've already had on my Mac. Gotten another IP address for it and made sure PP had the right IP as well. Ran the tests again and so far so good.

Thank you for the reply.