Manuals
A Pilot Client For Online Simulation (Based on DAFSIM Protocol)
One thing you need to know before : You can not run FS with several pilot clients installed, so if you want to try Squawkwin, you must disable the other clients.
First thing first is to open
two TCP ports number 55008 and 55009 in ALL your
firewalls, routers, NATs, Windows firewall and so on.
The full path to reach your software on these ports must be opened
and cleared.
I. Installation
The pilot client is available as an auto-installer executable software.
Unzip the package somewhere is a temporary folder, launch SwInstal.exe, select your version of FS ( FSX, FS2004 or FS2002) then click OK.
After having installed Squawkwin, all you need to do is to run FS.
II. Quick Connect
IMPORTANT: If you are flying with Flight Simulator 2002, you have to host manually a multiplayer session before launching SquawkWin.You will find a new entry in your FS2004 menu (no need in FSX). Select “SquawkWin” and click “Open”.
Hint : You may also press on your keyboard Shift + Tab keys to open (or show/hide) SquawkWin and specially if you don't see the menu at first installation.

With FS2004, a multiplayer session will be launched automatically, with FSX, SquawkWin will create an internal multiplayer session.

A new window fully integrated in FS Window will appear. This is the SquawkWin user interface :

Move your mouse cursor over the Squawkwin’s text window and click the right mouse button. The SquawkWin menu will appear.
Click "Options" then "Main setup"

then fill the name and homebase fields like this :

Click "Save" button.
Move your mouse cursor over the Squawkwin’s text window and click the right mouse button.
Click "Options" then "Main setup"
Fill the fields 
IMPORTANT:
You must open 2 TCP ports on your router and firewall to use SquawkWin in the best conditions .
- Fill the URL of your network and your Login (PID) and password for each network (up to 6) you want to connect to.
- Fill the TCP ports fields as shown.
- If you are behind a LAN, fill also your LAN IP (that is assumed to be forwarded by a router or a NAT to reach your PC)
- Click on Save buttom
Move your mouse cursor over the Squawkwin’s text window and click the right mouse button.

Select “Networks...”, then choose your favorite Network.
A new window will appear where you can enter your callsign and then connect.

If everything is ok, you should be connected to the network server.
If you are licensed to kick out "bad boys" , please refer to KICKING A PLAYER in the SquawkRadar section
An ATC Radar Client For Online Simulation (using DAFSIM Protocol)
How to setup and connect your SquawkRadar
(SR) :
CAUTION : If you use SquawkRadar under Windows VISTA, then disable the AERO interface or SR would crash to desktop because of the 3D mode of AERO !
First thing first is to open
TCP port number 55004 in ALL your firewalls, routers,
NATs, Windows firewall and so on.
The full path to reach your software on TCP port 55004 must be open
and cleared.
On your PC (running (c)Microsoft Windows)
if you have not created the folder for SR, then create a folder called
DAFSIM and in this folder create another folder called SR
This should looks like : C:\dafsim\SR
Copy and unzip in (C:\dafsim\SR)
the SquawkRadar.zip file and double click to launch SquawkRadar.exe
Now there are two steps : One step should be done only ONCE to setup
the installation and the second step is the normal and usual connecting
step.
In SR, click "Setup" tab control then click "Network Setup" Button
FIRST STEP TO DO ONLY AT THE VERY FIRST INSTALLATION
In SR, click "Setup" tab control then click "Network Setup" Button
SECOND STEP (WHAT TO DO EACH TIME YOU LAUNCH YOUR RADAR)
Hint : You may press F1 key to read a condensed HELP and find-out by your self...
KICKING A PLAYER
This may be done for a player that does not respond (not front of his PC) or a player that disturbs others.
If you have some trouble
to open/setup your modem, here is are some good helpfull links:
http://portforward.com/routers.htm
http://www.dslreports.com/faq/7074
If your flight simulation network is not a LAN, you need to setup your website like this :
Assume that you have a website called www.mywebsite.com,
then you can create a flight simulation network called MYWEBSITE.
For the moment I have only written the tools for a PHP compatible website,
but if you are ASP skilled, then you can help the community and contribute by converting
my PHP to it's equivalent in ASP and I'll put it online with your name.
Now, in your website, create two folders like this:
www.mywebsite.com/dafsim
and
www.mywebsite.com/whazzup
Unzip somewhere on your hard disk, the file php_dafsim.zip
Choose a password for your flight simulation network
Edit the file password.php and replace "yourpassword" by your password.
Now upload all the files to the folder www.mywebsite.com/dafsim, and give PHP pages the execution and file creation rights (use chmod command).
To test that everything is up and running, open your browser and in enter the url http://www.mywebsite.com/dafsim/servers.php (of course, replace mywebsite by the real name of your website ...)
You should read the following message:
Congratulations ! Your PHP code for dafsim is up and running.
There are two items to setup : One item is the website, the other one is the Dafnode server.
First thing first, setup your website as explained above.
Installing and running the Dafnode :
Next step is to open
TCP port number 55000 in ALL your firewalls, routers,
NATs, Windows firewall and so on.
The full path to reach your software on TCP port 55000 must be open
and cleared.
On your hard disk (your own PC or any windows machine) create a folder
called DAFSIM and then in this folder create a folder called dafnode.
This should looks like : C:\dafsim\dafnode
In the dafnode folder (C:\dafsim\dafnode)
unzip the Dafnode.zip file and double click to launch Dafnode.exe
Now there are two steps : One step should be done only ONCE in order to setup
at first the installation and the second step is the normal and usual connecting
step.
FIRST STEP TO DO ONLY AT THE VERY FIRST INSTALLATION

SECOND STEP (WHAT TO DO EACH TIME YOU LAUNCH YOUR SERVER)
You can create in advance accounts for members
by clicking "Setup and Database" tab control then "Members
Database" button ... I let you find out by yourself...
When a member is banned, then even if he tries to connect with a new
name and new login, he will be refused. The only way to get accepted
is to use another PC or reformat the Hard Drive, and this could take
several hours or several PC's :-)
Take a look at the PHP code I've made to understand more... and don't forget to read the FAQ, there are some nice tricks !
The Dafnode has been split in two parts: A core part and the graphic (GUI) part.
The core part is called DCS (Dafnonode Core Server) and the graphic part is DGI (Dafnode Graphic Interface)
There are three items to setup : One item is the website, the other one is the core server (DCS) and the last one is the graphic interface DGI.
In this document, the term DCS will designate the file winDCS.exe under Windows, or linDCS under Linux
First thing first, setup your website as explained above.
Installing and running the DCS :
Next step is to open
TCP port number 55000 in ALL your firewalls, routers,
NATs, Windows firewall and so on.
The full path to reach your software on TCP port 55000 must be open
and cleared.
On your hard disk, create a folder
called DAFSIM and then in this folder create a folder called dafnode.
This should looks like : C:\dafsim\dafnode or any folder under Linux that ends with dafsim/dafnode
NOTA :
a) If you already have installed dafnode.exe, then you just need to copy there the DCS.exe ( dafnode.exe and DCS.exe do share the same database and config files )
b) It is NORMAL to create a folder called dafnode to install in it the DCS; DCS means ... Dafnode Core Server
In the DCS folder (C:\dafsim\dafnode)
unzip the DCS.zip file and double click to launch DCS.exe
Now there are two steps : One step should be done only ONCE in order to setup
the installation and the second step is the normal and usual connecting
step.
FIRST STEP TO DO ONLY AT THE VERY FIRST INSTALLATION





SECOND STEP ( HOW TO MAKE YOUR SERVER START AUTOMATICALLY )

#!/bin/bash ./lindcs_x86_32 DELAY_TO_CONNECT_AT_STARTUP=5 PASSWORD_TO_WEBSITE=yourpassword &
The & at the end allows the session window, such as putty, to be closed. This also allows for any crashes. It will automatically restart itself on a crash, not a full system restart or shut down.
ADVICES
Copyright © DAFSIM by Karim BENNEGADI 2004-2010
Products, brands and trademarks are property of their respective owners/companies