Monday, June 11, 2012
Cannot connect to Gateway and/or Optima from SFK
Q: Trying to connect to Optima 2.4 from a soft kernel running OSE5.4.x on a Window host. I'm getting errors from the OSE Gateway and indications that it can't connect . I have WinPCap running and Optima and the SFK seem to be working otherwise.
A: Whenever using WinPCap , it's very important that you disable hardware check
summing in your Windows network device driver. (Refer to the section "Network Access on Windows"in the OSE Core User's Guide
for more information on this.) Troubleshoot this on both ends of the connection, from both the host command line and also the SFK using the gateway command:
C:/OSE/OSE5.4.1_PPC/bin/win32/osegwcmd -s tcp://177.77.7.77:21768 -e100,100
replacing the IP "177..." with your the remote address in question. If one of the connection returns errors, then on your Windows system check in
Control panel -> system -> device manager -> (local area network) -> Properties......
and look for something called "checksum" or "checksum offload" or "Rx Checksum Offload" or similar. If it is set "on" , flip it to "off", restart the SFK and Optima and try again. Generally hardware checksumming only needs to be disabled if the soft kernel and the other software (e.g. Optima) that communicates with the soft kernel via TCP/IP is running on the same machine. If you run the two across different systems, then this most likely isn't the problem.
Labels: Optima, osegw, sfk, win32, winxp
free invisible web counter