News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

Connecting Plan G through a router

Started by jrocky, July 11, 2011, 11:12:53 PM

Previous topic - Next topic

jrocky

I read the Plan G manual but still not understanding how to connect over the network through a router. Have two PC's running Windows 7 Pro connected to the internet via cable modem through a wired router for both PC's. Do I need to use FSUIPC and WideFS? Tried using the SimConnect method with the IPv6 of the FSX compter and SimConnect.xml file, in fsx.cfg. IPv6 Connection address, Port/Pipe Server in the PlanG SimConnect Settings. Set for Auto connect. Unable to connect PlanG to FSX using SimConnect on the second computer. Have the MAC address and IP address added for both PC's set to allowed PC's on the router security settings.

tim arnot

it would be helpful if you included your PC's IP parameters and an extract from the log covering your connection attempt. Otherwise there's not much advice we can give you that hasn't already been said here 100 times.

Tim. @TimArnot

jrocky

OK Sorry for not including more information.
Computer with FSX: IPv4 address: 192.168.2.100, IPv6 address: fe80::6d7c:4691:153f:230
Computer with Plan G: IPv4 address: 192.168.2.101, IPv6 address: fe80::14b8:d6a0:298d:3988
Router is Linksys WRT54GS ver.6, which is a wireless modem and using the wired ports between the two computers.
Plan G log last attempt:
17:03:43.6 Starting Plan-G, build 2.0.5.493
17:03:43.6 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
17:03:47.0 Location is C:\TA Software\Plan-G v2
17:03:48.6 Window_Loaded
17:03:48.7 SetInitialControlStates
17:03:48.9 Checking DEM availability
17:03:48.9 FSX is installed
17:03:48.9 Checking FSX database built status
17:03:49.4 IsDataLoaded: True
17:03:49.4 Data Source = C:\TA Software\Plan-G v2\Data\PlanG_FSX.sdf
17:03:50.6 FSX database is built
17:03:50.6 Checking FS9 database built status
17:03:50.6 IsDataLoaded: False
17:03:50.6 Data Source = C:\TA Software\Plan-G v2\Data\PlanG_FS9.sdf
17:03:50.6 Setting ribbon group
17:03:50.7 Setting db button states
17:03:50.7 Selected data set is FSX
17:03:50.8 SetInitialControlStates done
17:03:50.8 SetTheme Blue
17:03:51.1 Checking Internet available
17:03:51.8 Setting MRU
17:03:51.8 Checking command line
17:03:51.8 Command line. Length = 1 args = C:\TA Software\Plan-G v2\PlanG.exe,
17:03:51.8 Opening map
17:03:52.2 Starting timers
17:03:52.3 Window_Loaded done
17:03:55.7  DEBUG: Aircraft
17:03:55.7 Clear all Airspace. (ClearAirspaceBoundaries)
17:03:55.9 =====>> PlotOverlayElements. N = 48.5609314532204 s = 48.4430950717625 w = -123.169097900391 e = -122.852897644043 Zoom = 12
17:03:55.9 =====>> PlotOverlayElements. N = 48.5609314532204 s = 48.4430950717625 w = -123.169097900391 e = -122.852897644043 Zoom = 12
17:03:55.9 --> Zoom Still
17:03:56.0 DrawFlightPlan. MoveMap = False nodes = 0
17:03:56.0 No plan - erasing line
17:03:58.1 PlotOverlayElements - starting plot
17:03:58.1   Airspace
17:03:58.3 GetAirspaceInBounds retrieved 2 boundaries
17:03:58.3 Plot ICAO Airspace. 2/0 boundaries
17:03:58.4   NDBs
17:03:58.5   VORs
17:03:58.5   Airports
17:04:02.8 GetAirportsInBounds retrieved 7 airports.
17:04:02.8 Plotting . 1/0 Large airports
17:04:03.2 WxTimer_Tick
17:04:03.3 Checking for updates
17:04:03.3 DownloadCurrentMetars thread started
17:04:03.3 Autoconnect to FS.
17:04:03.3 RibbonButton_Click_ConnectFS
17:04:03.4 SimConnect.Connect
17:04:03.4 SimConnect.Connect - Remote. Mode = IPv6 Server = fe80::6d7c:4691:153f:230 Port = 4506
17:04:03.4 Metar21Z.TXT started
17:04:03.5 lTAF12Z.TXT started
17:04:03.5 Metar22Z.TXT started
17:04:04.0 Plotting . 3/0 Medium airports
17:04:04.0 sTAF18Z.TXT started
17:04:04.2 Plotting . 3/0 Small airports
17:04:04.3   ISECs
17:04:04.3   UWpts
17:04:04.5 lTAF12Z.TXT done
17:04:04.5 sTAF12Z.TXT started
17:04:04.6 sTAF18Z.TXT done
17:04:04.6 lTAF18Z.TXT started
17:04:04.9   done
17:04:05.0 DrawFlightPlan. MoveMap = False nodes = 0
17:04:05.0 No plan - erasing line
17:04:05.0 sTAF12Z.TXT done
17:04:05.6 lTAF18Z.TXT done
17:04:06.1 Metar22Z.TXT done
17:04:06.9 Metar21Z.TXT done
17:04:06.9 DownloadCurrentMetars done
17:04:08.7 ProcessMetars done
17:04:23.8 SimConnect remote connection timed out
17:04:23.9 SimConnect.Disconnect
17:04:24.9  DEBUG: removeUserAircraft
17:04:24.9  DEBUG: removeAIAircraft
17:13:45.8  DEBUG: removeUserAircraft
17:13:45.8  DEBUG: removeAIAircraft

Hope that is all that is needed.
Thanks,
Jerry

 

tim arnot

Ok, one final thing: Have you added the FS PC's ip6 link-local address and the port number to your Simconnect.XML file?


Tim. @TimArnot

jrocky

#4
Quote from: tim arnot on July 12, 2011, 10:14:29 PM
Ok, one final thing: Have you added the FS PC's ip6 link-local address and the port number to your Simconnect.XML file?

Yes have done that.

<?xml version="1.0" encoding="WINDOWS-1252"?>
-<SimBase.Document version="1,0" Type="SimConnect">
<Descr>SimConnect</Descr>
<Filename>SimConnect.xml</Filename>
-<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>IPv6</Protocol>
<Scope>link-local</Scope>
<MaxClients>64</MaxClients>
<Address>fe80::ec1c:794a:4688:8fd0</Address>
<Port>4506</Port>
</SimConnect.Comm>
</SimBase.Document>

Went to check that today, the fsx.cfg today and the Simconnect.xml I placed there is missing? I saved the fsx.cfg before closing it after inserting the Simconnect.xml.
Placed the Simconnect.xml at the top of the fsx.cfg above [Sound]. Also are the hyphens in the lines -<SimBase.Document version="1,0" Type="SimConnect"> and -<SimConnect.Comm> belong? I open Simconnect.xml with Microsoft Explorer 9 I don't see those hyphens? When I copied that text and pasted it to fsx.cfg the hyphens were there. Also the fsx.cfg on my Windows 7 64 bit professional is in the user AppData, Roaming, Microsoft FSX. If that makes any difference.

Later:

Went back and made sure that the Simconnect.xml was saved in fsx.cfg, it was and then took out the hyphens, saved fsx.cfg again. Still no connect to PlanG.

Using Windows Explorer and right clicking on Network, right click the name of my pc and then properties I see a unique identifier: uuid:bb22092f-92ec-4aac-bd4a-97ee7650acb7 which is different from the IPv6 address and also the IP Adress as ::1


Jerry


tim arnot

OK, first, Simconnect.xml is its own file: You do not add it to fsx.cfg. It merely lives in the same folder.

Second, the link-local address you have used does not match either of the addresses in your previous post.

To find your link-local address: Start->Network->Properties

In the properties dialog click on Connections: Local Area Connection then select Details.

Tim. @TimArnot

jrocky

Quote from: tim arnot on July 13, 2011, 08:08:53 AM
OK, first, Simconnect.xml is its own file: You do not add it to fsx.cfg. It merely lives in the same folder.

Second, the link-local address you have used does not match either of the addresses in your previous post.

To find your link-local address: Start->Network->Properties

In the properties dialog click on Connections: Local Area Connection then select Details.

Tim,

OK thanks, made the corrections and took out the xml lines I copied to the AppData, Roaming, Microsoft, FSX fsx.cfg and placed the Simconnect.xml into AppData, Roaming, Microsoft, FSX folder. Changed the link-local address and changed that address in PlanG, Options, FSX connection.  All is working.

This was a good lesson in connecting two computers over my local network. Have not had any previous experience with local networking. 

Thanks,

Jerry


tim arnot


Tim. @TimArnot