FSD configuration file: fsd.conf


################################################################
# Sample configuration file for FSD
# Attention : WINDOWS-format : required CR in this file!
# Use Notepad++ or Notepad for changes.
################################################################

# The [system group] holds information about your server.
# The ports where clients and servers will connect to are:
# [system]
# clientport=6809
# serverport=3011
# The port where the system management services will be located
# systemport=3010

# ident=FSD01
# The ident of your server. This ident has to be unique. It is used to
# identify your server in the global network. It should not contain spaces.
# Please use a small ident code, it will be sent in every packet

# email=yourname@yourhost.com
# The email address that can be used to mail the maintainer of this server.

# name=FSD Windows server
# The name(description) of your server. It may contain spaces.

# hostname=localhost
# The hostname that can be used to reach this server.

# password=disable
# The password you need to specify before you can execute privileged
# commands on the system port.

# location=City Country
# The (physical) location of the server in the world, and the internet.
# Example: ‘Amsterdam, The netherlands’

# mode=normal
# The mode of the server; can be ‘normal’ or ‘silent’. Use ‘normal’
# for normal operation.

# certificates=cert.txt
# The file to read certificates from.

# maxclients=100
# The maximum amount of clients this server will allow.

# whazzup=whazzup.txt
# The file to put WhazzUp data in.

################################################################
# The [connections] group holds information about the (server) connections that the
# server will establish and accept.
#
# connectto=
# Contains the hostname and port numbers of the servers to connect to.
# Multiple servers can be used here. For example:
# connectto=server.flightsim.com:4006
# allowfrom=
# Contains the IP addresses from which servers can connect to this server.
# Multiple IP addresses can be used, separated by commas. For example:
# allowfrom=server.flightsim.com,atc.aol.com

################################################################
# The [hosts] group contains a list of hosts that are trusted for some activity.
# There are 2 entries:
# certificates= contains a list of server ID’s that are allowed to change
# weather=  contains a list of server ID’s that are allowed to change weather profiles

################################################################
# This group [weather] controls the weather system.
# The ‘source’ variable determines the source of the METAR data.
# For normal operation, set this to ‘network’.
# There are 3 possible values here:
# ‘file’ : Read the METAR data from the file ‘metar.txt’
# and allow weather requests from other servers.
# ‘download’ : Like ‘file’, but refresh metar.txt every hour by downloading
# the latest weather observations from metlab. The server has
# to be connected to the internet for this to work.
# ‘network’ : Relay weather requests to the closest METAR capable server.
#
# ‘server’,’dir’ and ‘ftpmode’ are only used when the METAR source is ‘download’. These
# fields determine the host name and the directory from where metar data is
# read. FSD uses the FTP protocol to get the data. ftpmode can have the value ‘active’
# ‘passive’ that are Active and Passive FTP protocol mode, default is ‘passive’.
# If you use FSD on a computer having a private IP, only use passive mode.

In fact this is all that remains after removing the text above. When done and understood, get back here for Windows and here for Linux.

[system]
clientport=6809
serverport=3011
systemport=3010
ident=FSD01
email=yourname@yourhost.com
name=FSD Windows server
hostname=localhost
password=disable
location=City Country
mode=normal
certificates=cert.txt
maxclients=200
whazzup=c:whazzup.txt
[connections]
#connectto=
#allowfrom=
[hosts]
#certificates=
weather=http://weather.noaa.gov/cgi-bin/mgetmetar.pl
[weather]
source=download
server=tgftp.nws.noaa.gov
dir=data/observations/metar/cycles/
ftpmode=passive