News:

Status: CAVOK

Main Menu

FSX on XP Plan G on W7

Started by ananda, July 03, 2012, 08:55:55 AM

Previous topic - Next topic

ananda

If I run ipconfig on XP it gives an IP address and a Default Gateway. Which do I use in Simconnect.xml?

Also, do I use "Auto" or "IPV4" ?

The log contains:

11:21:36.6 RibbonButton_Click_ConnectFS
11:21:36.6 SimConnect.Connect
11:21:36.6 SimConnect.Connect - Remote. Mode = IPv4 Server = localhost Port = 4506
11:21:56.6 SimConnect remote connection timed out
11:21:56.6 SimConnect.Disconnect
11:21:57.6  DEBUG: removeUserAircraft
11:21:57.6  DEBUG: removeAIAircraft
11:22:01.0  DEBUG: removeUserAircraft
11:22:01.0  DEBUG: removeAIAircraft
11:22:43.7 WxTimer_Tick

George

tim arnot

Hi George, use the IP address.

If your network is IPv4, then use IPv4. "Auto" refers to the choice between Simconnect and FSUIPC.

Tim. @TimArnot

ananda

#2
Thanks Tim,

This is the ipconfig outpput:

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.6
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1


This is my Simconnect.xml:

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect Server Configuration</Descr>
  <Filename>SimConnect.xml</Filename>
  <Disabled>False</Disabled>
<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>IPv4</Protocol>
<Scope>global</Scope>
<Address>192.168.1.6</Address>
<MaxClients>64</MaxClients>
<Port>4506</Port>
<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>
</SimConnect.Comm></SimBase.Document>

My XP firewall is off but I still get a timeout from Plan G:

11:49:06.1 SimConnect.Connect
11:49:06.1 SimConnect.Connect - Remote. Mode = IPv4 Server = \\VALUED-74B91F19 Port = 4506
11:49:26.1 SimConnect remote connection timed out
11:49:26.1 SimConnect.Disconnect
11:49:27.1  DEBUG: removeUserAircraft
11:49:27.1  DEBUG: removeAIAircraft
11:49:31.0  DEBUG: removeUserAircraft
11:49:31.0  DEBUG: removeAIAircraft



ananda

#3
Further information:

Network address:



FS Connection Parameters:



Locations:



George

ananda

#4
I removed the following two lines from Simconnect.xml but it made no difference.

<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>

I have also allowed PlanG through the firewall on the W7 machine and FSX on the XP machine.

George

Edit. If I put the IP adress in "FSX Computer", it times out then I get "PlanG has stopped working".

frankturley

Hi George,

I run Plan-G on a second machine, my configuration works, and it looks a little different to yours, I did things as follows -

(a) I set up fixed IP addresses for all my machines on the network, my FSX machine is 192.168.1.14, my Plan-G machine is 192.168.1.13

(b) On the Plan-G machine, I mapped the FSX drives, so looking at my computer it shows network locations -
Program Data (\\Chillblast) (Y:)
f (\\Chillblast)(Z:)
You can see my FSX machine name is Chillblast

(c) In the Plan-G locations, I have -
FSX Program:  Z:\FSX
FSX Scenery.cfg:  Y:\Microsoft\FSX

(d) In the Plan-G Connection, I have -
SimConnect
IPV4
192.168.1.14
4506

Hope that helps

Frank.

tim arnot

Put 192.168.1.6 in the connection dialog.

Tim. @TimArnot

ananda

Quote from: tim arnot on July 03, 2012, 09:30:36 PM
Put 192.168.1.6 in the connection dialog.

If I do that I get the timeout plus a "PlanG has stopped working" error.

George


ananda

SUCCESS  :)

I think it was Frank's suggestion to map the FSX drive.

I have done that and it's now working.

Thank you both.

George

tim arnot

It can only have an indirect impact - maybe by kicking your network into life or something.

Quote from: ananda on July 03, 2012, 10:29:54 PM
SUCCESS  :)

I think it was Frank's suggestion to map the FSX drive.

I have done that and it's now working.

Thank you both.

George

Tim. @TimArnot

ananda

#10
Well, it has been working daily for two months  ;D

However, yesterday and today it gives a time-out every time I try to connect  >:(

The only thing I did between the last correct connection was to defragment both machines.

Any ideas?

George

tim arnot

Does your PC get a fixed/reserved IP address assigned by your router? If not, the IP address might have changed.

Tim. @TimArnot

ananda

Yes, both machines have fixed IP addresses. As I said, it was working late on Friday but hasn't worked since Saturday morning.

I am intrigued that the IP address used by Plan-G is of the machine on which it is running. Is this correct?

George

tim arnot

No. It's the IP of the machine to which it is connecting.

Tim. @TimArnot

ananda

Quote from: tim arnot on September 18, 2012, 09:46:53 PM
No. It's the IP of the machine to which it is connecting.

Hmm,  so why has it been working?

This is from the Plan-G machine:



This is the FSX machine:



George