<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Las</id>
	<title>FlightGear wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Las"/>
	<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/Special:Contributions/Las"/>
	<updated>2026-04-12T16:45:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61428</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61428"/>
		<updated>2013-07-10T23:18:39Z</updated>

		<summary type="html">&lt;p&gt;Las: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer will build directly on FreeBSD.  Below are the steps to build the lastest *nix release (v0.11.1 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines with comments in my /etc/fgms.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = mpserverNN&lt;br /&gt;
server.port = 5000&lt;br /&gt;
&lt;br /&gt;
server.telnet_port = 5001&lt;br /&gt;
server.admin_port = 5002&lt;br /&gt;
server.admin_user = xxxx&lt;br /&gt;
server.admin_pass = xxxx&lt;br /&gt;
server.admin_enable = xxxx&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
# mpserver01 does this&lt;br /&gt;
server.tracked = false&lt;br /&gt;
server.daemon = true&lt;br /&gt;
# This only needed for one server on the network&lt;br /&gt;
server.is_hub = false&lt;br /&gt;
# Distance from which server will allow FG pilots see each other&lt;br /&gt;
server.out_of_reach = 100&lt;br /&gt;
# You will need to contact the admin of mpserver01 and tell them this server now exists.&lt;br /&gt;
relay.host = mpserver01.flightgear.org&lt;br /&gt;
relay.port = 5000&lt;br /&gt;
# it's only interresting for fgms-developers&lt;br /&gt;
# crossfeed.host = foo.example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
10.07.2013 15:26:43 # This is mpserver02&lt;br /&gt;
10.07.2013 15:26:43 # FlightGear Multiplayer Server v0.11.1 started&lt;br /&gt;
10.07.2013 15:26:43 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
10.07.2013 15:26:43 # listening to port 5000&lt;br /&gt;
10.07.2013 15:26:43 # telnet port 5001&lt;br /&gt;
10.07.2013 15:26:43 # admin port x002&lt;br /&gt;
10.07.2013 15:26:43 # using logfile /var/log/fgms.log&lt;br /&gt;
10.07.2013 15:26:43 # listening on 64.69.45.88&lt;br /&gt;
10.07.2013 15:26:43 # tracking is disabled.&lt;br /&gt;
10.07.2013 15:26:43 # I have 1 relays&lt;br /&gt;
10.07.2013 15:26:43 # relay mpserver01.flightgear.org:5000&lt;br /&gt;
10.07.2013 15:26:43 # I have 0 crossfeeds&lt;br /&gt;
10.07.2013 15:26:43 # I have 2 blacklisted IPs&lt;br /&gt;
10.07.2013 15:26:43 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61427</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61427"/>
		<updated>2013-07-10T22:57:16Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Running */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines with comments in my /etc/fgms.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = mpserverNN&lt;br /&gt;
server.port = 5000&lt;br /&gt;
&lt;br /&gt;
server.telnet_port = 5001&lt;br /&gt;
server.admin_port = 5002&lt;br /&gt;
server.admin_user = xxxx&lt;br /&gt;
server.admin_pass = xxxx&lt;br /&gt;
server.admin_enable = xxxx&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
# mpserver01 does this&lt;br /&gt;
server.tracked = false&lt;br /&gt;
server.daemon = true&lt;br /&gt;
# This only needed for one server on the network&lt;br /&gt;
server.is_hub = false&lt;br /&gt;
# Distance from which server will allow FG pilots see each other&lt;br /&gt;
server.out_of_reach = 100&lt;br /&gt;
# You will need to contact the admin of mpserver01 and tell them this server now exists.&lt;br /&gt;
relay.host = mpserver01.flightgear.org&lt;br /&gt;
relay.port = 5000&lt;br /&gt;
# it's only interresting for fgms-developers&lt;br /&gt;
# crossfeed.host = foo.example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
10.07.2013 15:26:43 # This is mpserver02&lt;br /&gt;
10.07.2013 15:26:43 # FlightGear Multiplayer Server v0.11.1 started&lt;br /&gt;
10.07.2013 15:26:43 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
10.07.2013 15:26:43 # listening to port 5000&lt;br /&gt;
10.07.2013 15:26:43 # telnet port 5001&lt;br /&gt;
10.07.2013 15:26:43 # admin port x002&lt;br /&gt;
10.07.2013 15:26:43 # using logfile /var/log/fgms.log&lt;br /&gt;
10.07.2013 15:26:43 # listening on 64.69.45.88&lt;br /&gt;
10.07.2013 15:26:43 # tracking is disabled.&lt;br /&gt;
10.07.2013 15:26:43 # I have 1 relays&lt;br /&gt;
10.07.2013 15:26:43 # relay mpserver01.flightgear.org:5000&lt;br /&gt;
10.07.2013 15:26:43 # I have 0 crossfeeds&lt;br /&gt;
10.07.2013 15:26:43 # I have 2 blacklisted IPs&lt;br /&gt;
10.07.2013 15:26:43 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61426</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61426"/>
		<updated>2013-07-10T22:54:46Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines with comments in my /etc/fgms.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = mpserverNN&lt;br /&gt;
server.port = 5000&lt;br /&gt;
&lt;br /&gt;
server.telnet_port = 5001&lt;br /&gt;
server.admin_port = 5002&lt;br /&gt;
server.admin_user = xxxx&lt;br /&gt;
server.admin_pass = xxxx&lt;br /&gt;
server.admin_enable = xxxx&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
# mpserver01 does this&lt;br /&gt;
server.tracked = false&lt;br /&gt;
server.daemon = true&lt;br /&gt;
# This only needed for one server on the network&lt;br /&gt;
server.is_hub = false&lt;br /&gt;
# Distance from which server will allow FG pilots see each other&lt;br /&gt;
server.out_of_reach = 100&lt;br /&gt;
# You will need to contact the admin of mpserver01 and tell them this server now exists.&lt;br /&gt;
relay.host = mpserver01.flightgear.org&lt;br /&gt;
relay.port = 5000&lt;br /&gt;
# it's only interresting for fgms-developers&lt;br /&gt;
# crossfeed.host = foo.example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61425</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61425"/>
		<updated>2013-07-10T22:54:04Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines with comments in my /etc/fgms.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = mpserverNN&lt;br /&gt;
server.port = 5000&lt;br /&gt;
&lt;br /&gt;
server.telnet_port = 5001&lt;br /&gt;
server.admin_port = 5002&lt;br /&gt;
server.admin_user = xxxx&lt;br /&gt;
server.admin_pass = xxxx&lt;br /&gt;
server.admin_enable = xxxx&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
# mpserver01 does this&lt;br /&gt;
server.tracked = false&lt;br /&gt;
server.daemon = true&lt;br /&gt;
# This only needed for one server on the network&lt;br /&gt;
server.is_hub = false&lt;br /&gt;
# Distance from which server will allow FG pilots see each other&lt;br /&gt;
server.out_of_reach = 100&lt;br /&gt;
# You will need to contact the admin of mpserver01 and tell them this server now exists.&lt;br /&gt;
relay.host = mpserver01.flightgear.org&lt;br /&gt;
relay.port = 5000&lt;br /&gt;
# it's only interresting for fgms-developers&lt;br /&gt;
# crossfeed.host = foo.example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61424</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61424"/>
		<updated>2013-07-10T22:50:39Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Configuring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received 2 error when compiling fgms-0-x/src/server/fg_util.cxx because integer constants were too large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624)|1125899906842624.)|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776)|1099511627776.)|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines with comments in my /etc/fgms.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = mpserverNN&lt;br /&gt;
server.port = 5000&lt;br /&gt;
&lt;br /&gt;
server.telnet_port = 5001&lt;br /&gt;
server.admin_port = 5002&lt;br /&gt;
server.admin_user = xxxx&lt;br /&gt;
server.admin_pass = xxxx&lt;br /&gt;
server.admin_enable = xxxx&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
# mpserver01 does this&lt;br /&gt;
server.tracked = false&lt;br /&gt;
server.daemon = true&lt;br /&gt;
# This only needed for one server on the network&lt;br /&gt;
server.is_hub = false&lt;br /&gt;
# Distance from which server will allow FG pilots see each other&lt;br /&gt;
server.out_of_reach = 100&lt;br /&gt;
# You will need to contact the admin of mpserver01 and tell them this server now exists.&lt;br /&gt;
relay.host = mpserver01.flightgear.org&lt;br /&gt;
relay.port = 5000&lt;br /&gt;
# it's only interresting for fgms-developers&lt;br /&gt;
# crossfeed.host = foo.example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61386</id>
		<title>Howto:Set up a multiplayer server</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61386"/>
		<updated>2013-07-09T19:40:26Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Public Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to providing a short overview about installing the [[FlightGear Multiplayer Server]] ('fgms'). The reader is assumed to be reasonably familiar with working in a Unix/Linux shell environment.&lt;br /&gt;
&lt;br /&gt;
== Pre-Requisites ==&lt;br /&gt;
* A computer running a variant of *nix to compile and host the server. Speed of the machine isn't of great consequence as the protocol is a multiplexer which doesn't require much processing grunt.&lt;br /&gt;
** For specific documentation for setting up on FreeBSD see [[Howto:Set up a multiplayer server on FreeBSD]].&lt;br /&gt;
* direct/physical or remote access to the server (i.e. SSH/telnet, a conventional web hosting package will usually '''not''' be sufficient!)-suitable hosting packages are: dedicated root servers, virtual private servers, shell servers - for a collection of '''free''' shell account providers that may be suitable for fgms, see [[Free Shell Providers]] (you may want to check this out if you are interested in running fgms but don't have hosting yet)&lt;br /&gt;
* if the server is meant to be a public internet server: an internet connection, featuring sufficient upstream/downstream capabilities (see below for details concerning bandwidth requirements). &lt;br /&gt;
* firewall policies will need to be set up to allow for incoming and outgoing UDP traffic for the corresponding ports, the same applies to the administration port (TCP)&lt;br /&gt;
* permission to run unattended background processes (this may only be an issue with certain limited hosting packages)&lt;br /&gt;
* a working GNU toolchain including gcc/g++ (compiler), make &amp;amp;  cmake&lt;br /&gt;
* fgms source code, currently version 0.10.23&lt;br /&gt;
* about 5-10 MB of hard disk space (mainly required for building the binary)&lt;br /&gt;
&lt;br /&gt;
== Traffic &amp;amp; Bandwidth Considerations ==&lt;br /&gt;
&lt;br /&gt;
Note: Currently (May 2008), the server code basically boils down to a packet multiplexer (i.e. most data is -unconditionally- transmitted to all 'active' clients), which may thus create considerable amounts of traffic; this ought to be taken into consideration due to bandwidth limitations in most hosting packages (i.e. '''fgms may create considerable amounts of traffic!'''). For basic calculations: inbound traffic is 25 Kilobit per second while outbound is 25 Kbits per second for each plane/client that can 'see' another. &lt;br /&gt;
&lt;br /&gt;
By default, assuming a 10hz update interval, each active fgfs client will currently cause I/O traffic of approximately 5 kbytes/sec (one update consuming ~500 bytes) [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
As client updates have to be propagated to all other active clients by the server, this number has to be multiplied by the number of active clients -1 (i.e. clients within a configurable range, minus the originating client). &lt;br /&gt;
In addition, the fgms system allows for traffic updates to be sort of 'mirrored' on (relayed to) other configurable multiplayer/relay servers. &lt;br /&gt;
&lt;br /&gt;
This feature makes it possible for users/clients to use an arbitrary server (with acceptable latency), but still see clients/vehicles connected to different servers. Thus, such relay servers may additionally increase inbound/outbound traffic considerably as all traffic is mirrored/propagated to such relays.&lt;br /&gt;
&lt;br /&gt;
Having more servers should actually decrease the load on each server in high load situations, i.e. when most of the clients are within range of each other. See this&lt;br /&gt;
[http://www.gidenstam.org/FlightGear/fgms/fgms_bandwidth_estimates.txt brief note on the theoretical bandwidth behaviour of fgms.]&lt;br /&gt;
&lt;br /&gt;
=== Facts ===&lt;br /&gt;
In March 2008, the main fgms multiplayer server (pigeond.net) was reported to consume approximately 15 gb of bandwidth per '''day''', with an average throughput of 200 kB/sec and peak loads of up to ~ 650 kB/sec [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
During the same month (the much less used but interconnected) mpserver06.flightgear.org had on average 742 MB incoming and 688 MB outgoing traffic per day (i.e. 72 kbit/sec respective 66 kbit/sec on average).&lt;br /&gt;
&lt;br /&gt;
In September 2009, mpserver 05 had a massive peak bandwidth of 1.0 MB/sec. Average bandwidth consumed was about 9 GB of bandwidth per day. The average bandwidth usage per day is climbing due to more users moving from 02 to 05.&lt;br /&gt;
&lt;br /&gt;
=== Reducing bandwidth requirements ===&lt;br /&gt;
Total network traffic is mainly determined by the number of active clients that 'see eachother' and configured mirrors. &lt;br /&gt;
If traffic considerations are relevant, the following options exist to reduce overall server/network load:&lt;br /&gt;
&lt;br /&gt;
* configure a relatively low &amp;quot;server.out_of_reach&amp;quot; value, so that clients outside a certain range are not provided with updates (usually about 100 nm on the main server network)&lt;br /&gt;
* for virtual gatherings (i.e. fly-ins), have clients use airports and places that do not have lots of other traffic (i.e. in other words, avoid places like standard airports such as KSFO)&lt;br /&gt;
* avoid the use of unnecessary relay servers&lt;br /&gt;
* if you are not interested in your server being publicly available, only share its address with your friends privately&lt;br /&gt;
* for local testing/development purposes, you may want to run only a private fgms session, that may be specific to your LAN or even computer.&lt;br /&gt;
&lt;br /&gt;
=== Hosting Packages known to be suitable for fgms hosting ===&lt;br /&gt;
(yet to be filled in)&lt;br /&gt;
&lt;br /&gt;
== Getting &amp;amp; Building fgms ==&lt;br /&gt;
&lt;br /&gt;
* You will need the build tools cmake and make, and also g++ to compile the fgms application. These can usually be found in the package manager for most the common Linux distributions. You will also need the git client to fetch the source code from the repository, if you plan to download it from the command line interface (see below).&lt;br /&gt;
&lt;br /&gt;
* Once the build tools are installed on your machine, create a directory to hold the source code. This could be named anything, such as fgms. Create it in your user home directory. Note that this WILL NOT be the directory where the program will be compiled.&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the directory you just made, where you will run the command to fetch the source code from the git repository (see below). &lt;br /&gt;
&lt;br /&gt;
* To download the latest stable version via HTTP, you can use direct your browse to the URL http://gitorious.org/fgms/fgms-0-x/. Download and unzip the source code, and place it in the directory you created above.&lt;br /&gt;
&lt;br /&gt;
* To download a file directly to your server from an ssh session, you can use git tools with the following command:&lt;br /&gt;
&lt;br /&gt;
 $git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
&lt;br /&gt;
== Compiling FGMS ==&lt;br /&gt;
&lt;br /&gt;
For FreeBSD-specific instructions, please see [[Howto:Set up a multiplayer server on FreeBSD]]&lt;br /&gt;
&lt;br /&gt;
NOTE: In general, on any current machine this process should not take longer than about 60 seconds.&lt;br /&gt;
&lt;br /&gt;
* Once you have the source code, 'cd' into the ~/fgms/fgms-0-x/ directory and note the presence of the CMakeLists.txt file and the README.cmake file. Open the README.cmake file and take a minute to read it over. Also, note the path to the CMakeLists.txt file, as you will need this in the following steps.&lt;br /&gt;
&lt;br /&gt;
* Now create a build-fgms directory in your home directory, and 'cd' into it. From inside the ~/build-fgms/ directory, run the cmake command using the path to the CMakeLists.txt as an argument. For example: cmake /home/&amp;lt;user_name&amp;gt;/fgms/fgms-0-x/&lt;br /&gt;
&lt;br /&gt;
* Once the build finishes, you can either run the &amp;quot;cmake --build ...&amp;quot; command as shown in the README.cmake file, or you can simply use &amp;quot;make&amp;quot; to build the program.&lt;br /&gt;
&lt;br /&gt;
* Once the compilation process finishes, you need to install the program using &amp;quot;make install&amp;quot; (as user), or you can also install as root.&lt;br /&gt;
&lt;br /&gt;
* Once the program has been installed, you need to copy the fgms_example.conf file from the /fgms/fgms-0-x/src/server directory, into the build-fgms directory. To do this from inside the /fgms/fgms-0-x/src/server directory, you can use this command: cp ./fgms_example.conf ~/build-fgms/&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the build-fgms directory, and rename the file you just copied as &amp;quot;fgms.conf&amp;quot; so that fgms can find the proper configuration.&lt;br /&gt;
&lt;br /&gt;
== Setting up the config file ==&lt;br /&gt;
&lt;br /&gt;
At this point you should have a working 'fgms' binary in the build-fgms directory. If the server will be offline or for private use (i.e. LAN-only, please comment out the relay servers section. This will save bandwidth from the server being consumed.&lt;br /&gt;
&lt;br /&gt;
* Edit the fgms.conf file according to the instructions found elsewhere on this page, then save and close the file.&lt;br /&gt;
&lt;br /&gt;
== Running FGMS for the first time ==&lt;br /&gt;
&lt;br /&gt;
In addition to its configuration file, FGMS supports a number of configuration parameters that can be passed at startup (and that will by default override any configuration file settings), to get a summary of supported parameters, you may want to run:&lt;br /&gt;
 $ ./fgms --help&lt;br /&gt;
&lt;br /&gt;
Which should present you with the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options are:&lt;br /&gt;
-h            print this help screen&lt;br /&gt;
-a PORT       listen to PORT for telnet&lt;br /&gt;
-c config     read 'config' as configuration file&lt;br /&gt;
-p PORT       listen to PORT&lt;br /&gt;
-t TTL        Time a client is active while not sending packets&lt;br /&gt;
-o OOR        nautical miles two players must be apart to be out of reach&lt;br /&gt;
-l LOGFILE    Log to LOGFILE&lt;br /&gt;
-v LEVEL      verbosity (loglevel) in range 1 (few) and 5 (much)&lt;br /&gt;
-d            do _not_ run as a daemon (stay in foreground)&lt;br /&gt;
-D            do run as a daemon&lt;br /&gt;
&lt;br /&gt;
the default is to run as a daemon, which can be overridden in the&lt;br /&gt;
config file.&lt;br /&gt;
commandline parameters always override config file options&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After having finished the fgms configuration, you can try running fgms and start up fgfs to use the new server.&lt;br /&gt;
=== Public Server ===&lt;br /&gt;
If you'd like to make it a public server, you can simply use your external (public) IP address to set up the multiplayer in fgfs.&lt;br /&gt;
&lt;br /&gt;
For others to know about your public server you should notify the developers of the existence of your server by posting a message to the [[Mailing list|developers mailing list]].&lt;br /&gt;
&lt;br /&gt;
Add your server to this list: http://wiki.flightgear.org/Howto:Multiplayer#Servers&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[Howto: Multiplayer|Multiplayer howto]]&lt;br /&gt;
* [[MPmap]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;br /&gt;
[[Category:Multiplayer]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Installer un serveur multijoueur]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61385</id>
		<title>Howto:Set up a multiplayer server</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61385"/>
		<updated>2013-07-09T19:38:06Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Public Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to providing a short overview about installing the [[FlightGear Multiplayer Server]] ('fgms'). The reader is assumed to be reasonably familiar with working in a Unix/Linux shell environment.&lt;br /&gt;
&lt;br /&gt;
== Pre-Requisites ==&lt;br /&gt;
* A computer running a variant of *nix to compile and host the server. Speed of the machine isn't of great consequence as the protocol is a multiplexer which doesn't require much processing grunt.&lt;br /&gt;
** For specific documentation for setting up on FreeBSD see [[Howto:Set up a multiplayer server on FreeBSD]].&lt;br /&gt;
* direct/physical or remote access to the server (i.e. SSH/telnet, a conventional web hosting package will usually '''not''' be sufficient!)-suitable hosting packages are: dedicated root servers, virtual private servers, shell servers - for a collection of '''free''' shell account providers that may be suitable for fgms, see [[Free Shell Providers]] (you may want to check this out if you are interested in running fgms but don't have hosting yet)&lt;br /&gt;
* if the server is meant to be a public internet server: an internet connection, featuring sufficient upstream/downstream capabilities (see below for details concerning bandwidth requirements). &lt;br /&gt;
* firewall policies will need to be set up to allow for incoming and outgoing UDP traffic for the corresponding ports, the same applies to the administration port (TCP)&lt;br /&gt;
* permission to run unattended background processes (this may only be an issue with certain limited hosting packages)&lt;br /&gt;
* a working GNU toolchain including gcc/g++ (compiler), make &amp;amp;  cmake&lt;br /&gt;
* fgms source code, currently version 0.10.23&lt;br /&gt;
* about 5-10 MB of hard disk space (mainly required for building the binary)&lt;br /&gt;
&lt;br /&gt;
== Traffic &amp;amp; Bandwidth Considerations ==&lt;br /&gt;
&lt;br /&gt;
Note: Currently (May 2008), the server code basically boils down to a packet multiplexer (i.e. most data is -unconditionally- transmitted to all 'active' clients), which may thus create considerable amounts of traffic; this ought to be taken into consideration due to bandwidth limitations in most hosting packages (i.e. '''fgms may create considerable amounts of traffic!'''). For basic calculations: inbound traffic is 25 Kilobit per second while outbound is 25 Kbits per second for each plane/client that can 'see' another. &lt;br /&gt;
&lt;br /&gt;
By default, assuming a 10hz update interval, each active fgfs client will currently cause I/O traffic of approximately 5 kbytes/sec (one update consuming ~500 bytes) [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
As client updates have to be propagated to all other active clients by the server, this number has to be multiplied by the number of active clients -1 (i.e. clients within a configurable range, minus the originating client). &lt;br /&gt;
In addition, the fgms system allows for traffic updates to be sort of 'mirrored' on (relayed to) other configurable multiplayer/relay servers. &lt;br /&gt;
&lt;br /&gt;
This feature makes it possible for users/clients to use an arbitrary server (with acceptable latency), but still see clients/vehicles connected to different servers. Thus, such relay servers may additionally increase inbound/outbound traffic considerably as all traffic is mirrored/propagated to such relays.&lt;br /&gt;
&lt;br /&gt;
Having more servers should actually decrease the load on each server in high load situations, i.e. when most of the clients are within range of each other. See this&lt;br /&gt;
[http://www.gidenstam.org/FlightGear/fgms/fgms_bandwidth_estimates.txt brief note on the theoretical bandwidth behaviour of fgms.]&lt;br /&gt;
&lt;br /&gt;
=== Facts ===&lt;br /&gt;
In March 2008, the main fgms multiplayer server (pigeond.net) was reported to consume approximately 15 gb of bandwidth per '''day''', with an average throughput of 200 kB/sec and peak loads of up to ~ 650 kB/sec [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
During the same month (the much less used but interconnected) mpserver06.flightgear.org had on average 742 MB incoming and 688 MB outgoing traffic per day (i.e. 72 kbit/sec respective 66 kbit/sec on average).&lt;br /&gt;
&lt;br /&gt;
In September 2009, mpserver 05 had a massive peak bandwidth of 1.0 MB/sec. Average bandwidth consumed was about 9 GB of bandwidth per day. The average bandwidth usage per day is climbing due to more users moving from 02 to 05.&lt;br /&gt;
&lt;br /&gt;
=== Reducing bandwidth requirements ===&lt;br /&gt;
Total network traffic is mainly determined by the number of active clients that 'see eachother' and configured mirrors. &lt;br /&gt;
If traffic considerations are relevant, the following options exist to reduce overall server/network load:&lt;br /&gt;
&lt;br /&gt;
* configure a relatively low &amp;quot;server.out_of_reach&amp;quot; value, so that clients outside a certain range are not provided with updates (usually about 100 nm on the main server network)&lt;br /&gt;
* for virtual gatherings (i.e. fly-ins), have clients use airports and places that do not have lots of other traffic (i.e. in other words, avoid places like standard airports such as KSFO)&lt;br /&gt;
* avoid the use of unnecessary relay servers&lt;br /&gt;
* if you are not interested in your server being publicly available, only share its address with your friends privately&lt;br /&gt;
* for local testing/development purposes, you may want to run only a private fgms session, that may be specific to your LAN or even computer.&lt;br /&gt;
&lt;br /&gt;
=== Hosting Packages known to be suitable for fgms hosting ===&lt;br /&gt;
(yet to be filled in)&lt;br /&gt;
&lt;br /&gt;
== Getting &amp;amp; Building fgms ==&lt;br /&gt;
&lt;br /&gt;
* You will need the build tools cmake and make, and also g++ to compile the fgms application. These can usually be found in the package manager for most the common Linux distributions. You will also need the git client to fetch the source code from the repository, if you plan to download it from the command line interface (see below).&lt;br /&gt;
&lt;br /&gt;
* Once the build tools are installed on your machine, create a directory to hold the source code. This could be named anything, such as fgms. Create it in your user home directory. Note that this WILL NOT be the directory where the program will be compiled.&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the directory you just made, where you will run the command to fetch the source code from the git repository (see below). &lt;br /&gt;
&lt;br /&gt;
* To download the latest stable version via HTTP, you can use direct your browse to the URL http://gitorious.org/fgms/fgms-0-x/. Download and unzip the source code, and place it in the directory you created above.&lt;br /&gt;
&lt;br /&gt;
* To download a file directly to your server from an ssh session, you can use git tools with the following command:&lt;br /&gt;
&lt;br /&gt;
 $git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
&lt;br /&gt;
== Compiling FGMS ==&lt;br /&gt;
&lt;br /&gt;
For FreeBSD-specific instructions, please see [[Howto:Set up a multiplayer server on FreeBSD]]&lt;br /&gt;
&lt;br /&gt;
NOTE: In general, on any current machine this process should not take longer than about 60 seconds.&lt;br /&gt;
&lt;br /&gt;
* Once you have the source code, 'cd' into the ~/fgms/fgms-0-x/ directory and note the presence of the CMakeLists.txt file and the README.cmake file. Open the README.cmake file and take a minute to read it over. Also, note the path to the CMakeLists.txt file, as you will need this in the following steps.&lt;br /&gt;
&lt;br /&gt;
* Now create a build-fgms directory in your home directory, and 'cd' into it. From inside the ~/build-fgms/ directory, run the cmake command using the path to the CMakeLists.txt as an argument. For example: cmake /home/&amp;lt;user_name&amp;gt;/fgms/fgms-0-x/&lt;br /&gt;
&lt;br /&gt;
* Once the build finishes, you can either run the &amp;quot;cmake --build ...&amp;quot; command as shown in the README.cmake file, or you can simply use &amp;quot;make&amp;quot; to build the program.&lt;br /&gt;
&lt;br /&gt;
* Once the compilation process finishes, you need to install the program using &amp;quot;make install&amp;quot; (as user), or you can also install as root.&lt;br /&gt;
&lt;br /&gt;
* Once the program has been installed, you need to copy the fgms_example.conf file from the /fgms/fgms-0-x/src/server directory, into the build-fgms directory. To do this from inside the /fgms/fgms-0-x/src/server directory, you can use this command: cp ./fgms_example.conf ~/build-fgms/&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the build-fgms directory, and rename the file you just copied as &amp;quot;fgms.conf&amp;quot; so that fgms can find the proper configuration.&lt;br /&gt;
&lt;br /&gt;
== Setting up the config file ==&lt;br /&gt;
&lt;br /&gt;
At this point you should have a working 'fgms' binary in the build-fgms directory. If the server will be offline or for private use (i.e. LAN-only, please comment out the relay servers section. This will save bandwidth from the server being consumed.&lt;br /&gt;
&lt;br /&gt;
* Edit the fgms.conf file according to the instructions found elsewhere on this page, then save and close the file.&lt;br /&gt;
&lt;br /&gt;
== Running FGMS for the first time ==&lt;br /&gt;
&lt;br /&gt;
In addition to its configuration file, FGMS supports a number of configuration parameters that can be passed at startup (and that will by default override any configuration file settings), to get a summary of supported parameters, you may want to run:&lt;br /&gt;
 $ ./fgms --help&lt;br /&gt;
&lt;br /&gt;
Which should present you with the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options are:&lt;br /&gt;
-h            print this help screen&lt;br /&gt;
-a PORT       listen to PORT for telnet&lt;br /&gt;
-c config     read 'config' as configuration file&lt;br /&gt;
-p PORT       listen to PORT&lt;br /&gt;
-t TTL        Time a client is active while not sending packets&lt;br /&gt;
-o OOR        nautical miles two players must be apart to be out of reach&lt;br /&gt;
-l LOGFILE    Log to LOGFILE&lt;br /&gt;
-v LEVEL      verbosity (loglevel) in range 1 (few) and 5 (much)&lt;br /&gt;
-d            do _not_ run as a daemon (stay in foreground)&lt;br /&gt;
-D            do run as a daemon&lt;br /&gt;
&lt;br /&gt;
the default is to run as a daemon, which can be overridden in the&lt;br /&gt;
config file.&lt;br /&gt;
commandline parameters always override config file options&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After having finished the fgms configuration, you can try running fgms and start up fgfs to use the new server.&lt;br /&gt;
=== Public Server ===&lt;br /&gt;
If you'd like to make it a public server, you can simply use your external (public) IP address to set up the multiplayer in fgfs.&lt;br /&gt;
&lt;br /&gt;
For others to know about your public server you should notify the developers of the existence of your server by posting a message to the [[Mailing list|developers mailing list]].&lt;br /&gt;
&lt;br /&gt;
Add your server to this list: http://wiki.flightgear.org/Howto:Multiplayer&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[Howto: Multiplayer|Multiplayer howto]]&lt;br /&gt;
* [[MPmap]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;br /&gt;
[[Category:Multiplayer]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Installer un serveur multijoueur]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61384</id>
		<title>Howto:Set up a multiplayer server</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61384"/>
		<updated>2013-07-09T19:14:11Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Running FGMS for the first time */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to providing a short overview about installing the [[FlightGear Multiplayer Server]] ('fgms'). The reader is assumed to be reasonably familiar with working in a Unix/Linux shell environment.&lt;br /&gt;
&lt;br /&gt;
== Pre-Requisites ==&lt;br /&gt;
* A computer running a variant of *nix to compile and host the server. Speed of the machine isn't of great consequence as the protocol is a multiplexer which doesn't require much processing grunt.&lt;br /&gt;
** For specific documentation for setting up on FreeBSD see [[Howto:Set up a multiplayer server on FreeBSD]].&lt;br /&gt;
* direct/physical or remote access to the server (i.e. SSH/telnet, a conventional web hosting package will usually '''not''' be sufficient!)-suitable hosting packages are: dedicated root servers, virtual private servers, shell servers - for a collection of '''free''' shell account providers that may be suitable for fgms, see [[Free Shell Providers]] (you may want to check this out if you are interested in running fgms but don't have hosting yet)&lt;br /&gt;
* if the server is meant to be a public internet server: an internet connection, featuring sufficient upstream/downstream capabilities (see below for details concerning bandwidth requirements). &lt;br /&gt;
* firewall policies will need to be set up to allow for incoming and outgoing UDP traffic for the corresponding ports, the same applies to the administration port (TCP)&lt;br /&gt;
* permission to run unattended background processes (this may only be an issue with certain limited hosting packages)&lt;br /&gt;
* a working GNU toolchain including gcc/g++ (compiler), make &amp;amp;  cmake&lt;br /&gt;
* fgms source code, currently version 0.10.23&lt;br /&gt;
* about 5-10 MB of hard disk space (mainly required for building the binary)&lt;br /&gt;
&lt;br /&gt;
== Traffic &amp;amp; Bandwidth Considerations ==&lt;br /&gt;
&lt;br /&gt;
Note: Currently (May 2008), the server code basically boils down to a packet multiplexer (i.e. most data is -unconditionally- transmitted to all 'active' clients), which may thus create considerable amounts of traffic; this ought to be taken into consideration due to bandwidth limitations in most hosting packages (i.e. '''fgms may create considerable amounts of traffic!'''). For basic calculations: inbound traffic is 25 Kilobit per second while outbound is 25 Kbits per second for each plane/client that can 'see' another. &lt;br /&gt;
&lt;br /&gt;
By default, assuming a 10hz update interval, each active fgfs client will currently cause I/O traffic of approximately 5 kbytes/sec (one update consuming ~500 bytes) [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
As client updates have to be propagated to all other active clients by the server, this number has to be multiplied by the number of active clients -1 (i.e. clients within a configurable range, minus the originating client). &lt;br /&gt;
In addition, the fgms system allows for traffic updates to be sort of 'mirrored' on (relayed to) other configurable multiplayer/relay servers. &lt;br /&gt;
&lt;br /&gt;
This feature makes it possible for users/clients to use an arbitrary server (with acceptable latency), but still see clients/vehicles connected to different servers. Thus, such relay servers may additionally increase inbound/outbound traffic considerably as all traffic is mirrored/propagated to such relays.&lt;br /&gt;
&lt;br /&gt;
Having more servers should actually decrease the load on each server in high load situations, i.e. when most of the clients are within range of each other. See this&lt;br /&gt;
[http://www.gidenstam.org/FlightGear/fgms/fgms_bandwidth_estimates.txt brief note on the theoretical bandwidth behaviour of fgms.]&lt;br /&gt;
&lt;br /&gt;
=== Facts ===&lt;br /&gt;
In March 2008, the main fgms multiplayer server (pigeond.net) was reported to consume approximately 15 gb of bandwidth per '''day''', with an average throughput of 200 kB/sec and peak loads of up to ~ 650 kB/sec [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
During the same month (the much less used but interconnected) mpserver06.flightgear.org had on average 742 MB incoming and 688 MB outgoing traffic per day (i.e. 72 kbit/sec respective 66 kbit/sec on average).&lt;br /&gt;
&lt;br /&gt;
In September 2009, mpserver 05 had a massive peak bandwidth of 1.0 MB/sec. Average bandwidth consumed was about 9 GB of bandwidth per day. The average bandwidth usage per day is climbing due to more users moving from 02 to 05.&lt;br /&gt;
&lt;br /&gt;
=== Reducing bandwidth requirements ===&lt;br /&gt;
Total network traffic is mainly determined by the number of active clients that 'see eachother' and configured mirrors. &lt;br /&gt;
If traffic considerations are relevant, the following options exist to reduce overall server/network load:&lt;br /&gt;
&lt;br /&gt;
* configure a relatively low &amp;quot;server.out_of_reach&amp;quot; value, so that clients outside a certain range are not provided with updates (usually about 100 nm on the main server network)&lt;br /&gt;
* for virtual gatherings (i.e. fly-ins), have clients use airports and places that do not have lots of other traffic (i.e. in other words, avoid places like standard airports such as KSFO)&lt;br /&gt;
* avoid the use of unnecessary relay servers&lt;br /&gt;
* if you are not interested in your server being publicly available, only share its address with your friends privately&lt;br /&gt;
* for local testing/development purposes, you may want to run only a private fgms session, that may be specific to your LAN or even computer.&lt;br /&gt;
&lt;br /&gt;
=== Hosting Packages known to be suitable for fgms hosting ===&lt;br /&gt;
(yet to be filled in)&lt;br /&gt;
&lt;br /&gt;
== Getting &amp;amp; Building fgms ==&lt;br /&gt;
&lt;br /&gt;
* You will need the build tools cmake and make, and also g++ to compile the fgms application. These can usually be found in the package manager for most the common Linux distributions. You will also need the git client to fetch the source code from the repository, if you plan to download it from the command line interface (see below).&lt;br /&gt;
&lt;br /&gt;
* Once the build tools are installed on your machine, create a directory to hold the source code. This could be named anything, such as fgms. Create it in your user home directory. Note that this WILL NOT be the directory where the program will be compiled.&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the directory you just made, where you will run the command to fetch the source code from the git repository (see below). &lt;br /&gt;
&lt;br /&gt;
* To download the latest stable version via HTTP, you can use direct your browse to the URL http://gitorious.org/fgms/fgms-0-x/. Download and unzip the source code, and place it in the directory you created above.&lt;br /&gt;
&lt;br /&gt;
* To download a file directly to your server from an ssh session, you can use git tools with the following command:&lt;br /&gt;
&lt;br /&gt;
 $git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
&lt;br /&gt;
== Compiling FGMS ==&lt;br /&gt;
&lt;br /&gt;
For FreeBSD-specific instructions, please see [[Howto:Set up a multiplayer server on FreeBSD]]&lt;br /&gt;
&lt;br /&gt;
NOTE: In general, on any current machine this process should not take longer than about 60 seconds.&lt;br /&gt;
&lt;br /&gt;
* Once you have the source code, 'cd' into the ~/fgms/fgms-0-x/ directory and note the presence of the CMakeLists.txt file and the README.cmake file. Open the README.cmake file and take a minute to read it over. Also, note the path to the CMakeLists.txt file, as you will need this in the following steps.&lt;br /&gt;
&lt;br /&gt;
* Now create a build-fgms directory in your home directory, and 'cd' into it. From inside the ~/build-fgms/ directory, run the cmake command using the path to the CMakeLists.txt as an argument. For example: cmake /home/&amp;lt;user_name&amp;gt;/fgms/fgms-0-x/&lt;br /&gt;
&lt;br /&gt;
* Once the build finishes, you can either run the &amp;quot;cmake --build ...&amp;quot; command as shown in the README.cmake file, or you can simply use &amp;quot;make&amp;quot; to build the program.&lt;br /&gt;
&lt;br /&gt;
* Once the compilation process finishes, you need to install the program using &amp;quot;make install&amp;quot; (as user), or you can also install as root.&lt;br /&gt;
&lt;br /&gt;
* Once the program has been installed, you need to copy the fgms_example.conf file from the /fgms/fgms-0-x/src/server directory, into the build-fgms directory. To do this from inside the /fgms/fgms-0-x/src/server directory, you can use this command: cp ./fgms_example.conf ~/build-fgms/&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the build-fgms directory, and rename the file you just copied as &amp;quot;fgms.conf&amp;quot; so that fgms can find the proper configuration.&lt;br /&gt;
&lt;br /&gt;
== Setting up the config file ==&lt;br /&gt;
&lt;br /&gt;
At this point you should have a working 'fgms' binary in the build-fgms directory. If the server will be offline or for private use (i.e. LAN-only, please comment out the relay servers section. This will save bandwidth from the server being consumed.&lt;br /&gt;
&lt;br /&gt;
* Edit the fgms.conf file according to the instructions found elsewhere on this page, then save and close the file.&lt;br /&gt;
&lt;br /&gt;
== Running FGMS for the first time ==&lt;br /&gt;
&lt;br /&gt;
In addition to its configuration file, FGMS supports a number of configuration parameters that can be passed at startup (and that will by default override any configuration file settings), to get a summary of supported parameters, you may want to run:&lt;br /&gt;
 $ ./fgms --help&lt;br /&gt;
&lt;br /&gt;
Which should present you with the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options are:&lt;br /&gt;
-h            print this help screen&lt;br /&gt;
-a PORT       listen to PORT for telnet&lt;br /&gt;
-c config     read 'config' as configuration file&lt;br /&gt;
-p PORT       listen to PORT&lt;br /&gt;
-t TTL        Time a client is active while not sending packets&lt;br /&gt;
-o OOR        nautical miles two players must be apart to be out of reach&lt;br /&gt;
-l LOGFILE    Log to LOGFILE&lt;br /&gt;
-v LEVEL      verbosity (loglevel) in range 1 (few) and 5 (much)&lt;br /&gt;
-d            do _not_ run as a daemon (stay in foreground)&lt;br /&gt;
-D            do run as a daemon&lt;br /&gt;
&lt;br /&gt;
the default is to run as a daemon, which can be overridden in the&lt;br /&gt;
config file.&lt;br /&gt;
commandline parameters always override config file options&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After having finished the fgms configuration, you can try running fgms and start up fgfs to use the new server.&lt;br /&gt;
=== Public Server ===&lt;br /&gt;
If you'd like to make it a public server, you can simply use your external (public) IP address to set up the multiplayer in fgfs.&lt;br /&gt;
&lt;br /&gt;
For others to know about your public server you should notify the developers of the existence of your server by posting a message to the developers mailing list.&lt;br /&gt;
&lt;br /&gt;
Add your server to this list: http://wiki.flightgear.org/Howto:Multiplayer&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[Howto: Multiplayer|Multiplayer howto]]&lt;br /&gt;
* [[MPmap]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;br /&gt;
[[Category:Multiplayer]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Installer un serveur multijoueur]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Multiplayer&amp;diff=61383</id>
		<title>Howto:Multiplayer</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Multiplayer&amp;diff=61383"/>
		<updated>2013-07-09T19:10:37Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Servers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the '''multiplayer''' function of [[FlightGear]] you are able to see other pilots and vice-versa. This makes it possible to fly in formation, [[Howto: Air-Air Refueling|connect to tankers]] controlled by real people or contact real [[air traffic control]]lers to ask for landing/takeoff clearence.&lt;br /&gt;
&lt;br /&gt;
Multiplay may cause extreme [[Howto: Improve Framerates|framerate drops]] during loading of aircraft models. Especially heavy models can cause severe lag. Therefore, it is suggested to fly in locations other than San Francisco's [[KSFO]], where there are fewer pilots flying around.&lt;br /&gt;
&lt;br /&gt;
== Servers ==&lt;br /&gt;
'''Please Note:''' The multiplayer servers are interconnected; you '''do not''' need to connect to a specific server in order to see other pilots who are on that server. For best performance, you should connect to the server that is geographically closest to you, has the lowest latency (ping time) or is the least busy.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; border=&amp;quot;1px solid&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot;&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |Server&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |Location&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |[http://mpserver15.flightgear.org Tracked]&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |Maintainer&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |[[IRC]] Name&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |[http://flightgear.org/forums Forum] Name&lt;br /&gt;
! style=&amp;quot;background:#efefef&amp;quot; |Comments&lt;br /&gt;
|-&lt;br /&gt;
|mpserver01.flightgear.org&lt;br /&gt;
|Germany&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|Oliver Schroeder&lt;br /&gt;
|os&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver02.flightgear.org&lt;br /&gt;
|Los Angeles, USA&lt;br /&gt;
|&lt;br /&gt;
|Lloyd Stevens&lt;br /&gt;
|ls4680&lt;br /&gt;
|ls4680&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver03.flightgear.org&lt;br /&gt;
|Germany &lt;br /&gt;
|No&lt;br /&gt;
|Hergen&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver04.flightgear.org&lt;br /&gt;
|UK&lt;br /&gt;
|No&lt;br /&gt;
|Jon Stockill&lt;br /&gt;
|Nav&lt;br /&gt;
|JonS&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver05.flightgear.org&lt;br /&gt;
|Chicago, USA&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|Brant&lt;br /&gt;
|IonCannon218&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-       &lt;br /&gt;
|mpserver06.flightgear.org&lt;br /&gt;
|Berlin, Germany&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|Sven Teichmann&lt;br /&gt;
|&lt;br /&gt;
|D-SAMI&lt;br /&gt;
|Unlimited traffic&lt;br /&gt;
|-       &lt;br /&gt;
|mpserver07.flightgear.org&lt;br /&gt;
|Wisconsin, USA&lt;br /&gt;
|&lt;br /&gt;
|Tom Betka&lt;br /&gt;
|TB&lt;br /&gt;
|&lt;br /&gt;
|Offline&lt;br /&gt;
|-       &lt;br /&gt;
|mpserver08.flightgear.org&lt;br /&gt;
|Frankfurt am Main, Germany&lt;br /&gt;
|No&lt;br /&gt;
|Roland&lt;br /&gt;
|Quix0r&lt;br /&gt;
|Quix0r&lt;br /&gt;
|10 TByte traffic, mostly short pings&lt;br /&gt;
|-&lt;br /&gt;
|mpserver09.flightgear.org&lt;br /&gt;
|Köln, Germany&lt;br /&gt;
|&lt;br /&gt;
|Daniel Vigano&lt;br /&gt;
|Fauchi95&lt;br /&gt;
|&lt;br /&gt;
|Offline&lt;br /&gt;
|-&lt;br /&gt;
|mpserver10.flightgear.org&lt;br /&gt;
|Montpellier, France&lt;br /&gt;
|No&lt;br /&gt;
|Alexis Bory&lt;br /&gt;
|xiii&lt;br /&gt;
|xiii&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver11.flightgear.org&lt;br /&gt;
|Vilnius, Lithuania&lt;br /&gt;
|No&lt;br /&gt;
|Darius&lt;br /&gt;
|&lt;br /&gt;
|ffg&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver12.flightgear.org&lt;br /&gt;
|Amsterdam, the Netherlands&lt;br /&gt;
|[http://mpserver12.flightgear.org MPServer12]&lt;br /&gt;
|Rob&lt;br /&gt;
|evilslut&lt;br /&gt;
|evilslut&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver13.flightgear.org&lt;br /&gt;
|Grenoble, France&lt;br /&gt;
|No&lt;br /&gt;
|Charles Ingels&lt;br /&gt;
|charles&lt;br /&gt;
|cbz-026&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver14.flightgear.org&lt;br /&gt;
|Zurich, Switzerland&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|Yves Sablonier&lt;br /&gt;
|gral&lt;br /&gt;
|gral&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver15.flightgear.org&lt;br /&gt;
|North Point, Hong Kong&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|Hazuki Amamiya&lt;br /&gt;
|Hazuki&lt;br /&gt;
|Hazuki&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver16.flightgear.org&lt;br /&gt;
|Texas, USA&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|Rob Dosogne&lt;br /&gt;
|truthsolo&lt;br /&gt;
|truthsolo&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mpserver17.flightgear.org&lt;br /&gt;
|Cluj, Romania&lt;br /&gt;
|&lt;br /&gt;
|Marius&lt;br /&gt;
|tuxum&lt;br /&gt;
|tuxum&lt;br /&gt;
|Offline&lt;br /&gt;
|-&lt;br /&gt;
|mpserver18.flightgear.org&lt;br /&gt;
|Germany&lt;br /&gt;
|[http://mpserver15.flightgear.org Yes]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
''Information as at 2013-05-31''&lt;br /&gt;
&lt;br /&gt;
Use [http://mpserver16.flightgear.org/ this], [http://mpmap01.flightgear.org/mpstatus/ this] or [http://flightgear.mxchange.org/mpstatus/ this] link to check if the MP servers are online. As of FlightGear 2.10.0, the in-sim dialog only displays servers that are available. &lt;br /&gt;
&lt;br /&gt;
Geographic locations of the servers are also available at [http://goo.gl/maps/jBwUd Google Maps].&lt;br /&gt;
&lt;br /&gt;
If you are interested in hosting your own multiplayer server, you may want to check out [[Howto: Set up a multiplayer server]].&lt;br /&gt;
&lt;br /&gt;
=== Multiplayer map ===&lt;br /&gt;
[[File:MP_Server.jpg|thumb|300px|[[MPMap]] screenshot]]&lt;br /&gt;
{{Main article|MPMap}}&lt;br /&gt;
&lt;br /&gt;
There is a very nice online map which displays the location of online pilots at [http://mpmap01.flightgear.org mpmap01] and/or [http://mpmap02.flightgear.org mpmap02]. You will also find this useful to check that you are successfully connecting to the server.&lt;br /&gt;
&lt;br /&gt;
== Getting online ==&lt;br /&gt;
As of FlightGear 2.4.0, multiplayer settings can be accessed via the in-sime Multiplayer menu. This is by far the easiest way to get online, but in some cases the methods mentioned below may be prefered.&lt;br /&gt;
&lt;br /&gt;
=== Using the Windows launcher / FGRun ===&lt;br /&gt;
[[File:Multiplayer.jpg|thumb|300px|Multiplayer options in [[FlightGear Wizard|FG Launcher]]]]&lt;br /&gt;
# Select your [[aircraft]] and starting airport as normal in [[FlightGear Launch Control|FGRun]].&lt;br /&gt;
# On the next screen, tick the &amp;quot;Multiplayer&amp;quot; box. Also tick the &amp;quot;AI models&amp;quot; box or you will not be able to see the other pilots' aircraft.&lt;br /&gt;
#* '''Callsign:''' of your choice. Check [http://fgfs.i-net.hu/modules/fgtracker/ this page] to see whether it is already in use or not. Do not pick a callsign that is already used!&lt;br /&gt;
#* '''Hostname:''' enter &amp;lt;tt&amp;gt;mpserverXX.flightgear.org&amp;lt;/tt&amp;gt; (with &amp;lt;tt&amp;gt;XX&amp;lt;/tt&amp;gt; being the [[#Servers|server number]]).&lt;br /&gt;
#* '''In/Out:''' set both ports to 5000.&lt;br /&gt;
# Click run and you'll soon be flying with other pilots!&lt;br /&gt;
&lt;br /&gt;
To confirm that it's working, you can go to the multiplayer map at; http://mpmap02.flightgear.org/ (in Hong Kong). Once FlightGear has started, you will notice chat messages that say &amp;quot;Hello&amp;quot; indicating pilots that are online and then as they join (you can change this message by editing the &amp;lt;tt&amp;gt;&amp;lt;chat type=&amp;quot;string&amp;quot;&amp;gt;Hello&amp;lt;/chat&amp;gt;&amp;lt;/tt&amp;gt; line in &amp;lt;tt&amp;gt;[[$FG ROOT]]/preferences.xml&amp;lt;/tt&amp;gt;). You may wish to use a different server (i.e. &amp;quot;Hostname&amp;quot; entry). &lt;br /&gt;
&lt;br /&gt;
For more advanced settings, the &amp;lt;tt&amp;gt;Advanced &amp;gt; Network&amp;lt;/tt&amp;gt; tab can be opened. You are able to remove the in or out lines only through this method for example.&lt;br /&gt;
&lt;br /&gt;
=== Using fgfs from the command line ===&lt;br /&gt;
First, for those who are very impatient and have a vague idea about what they're doing, the basic arguments to pass to fgfs for multiplayer are these;&lt;br /&gt;
&lt;br /&gt;
 --multiplay=out,10,server.ip.address,5000&lt;br /&gt;
 --callsign=anything &lt;br /&gt;
&lt;br /&gt;
where 5000 is the port number the server is listening on (which is 5000 for the official servers).&lt;br /&gt;
&lt;br /&gt;
If you for some reason need to specify which local port and/or interface FlightGear should use add the following argument:&lt;br /&gt;
&lt;br /&gt;
 --multiplay=in,10,your.ip.address,portnumber&lt;br /&gt;
&lt;br /&gt;
where portnumber is usually 5000 and your.ip.address is the ip address of the network interface being used by FG to connect to the server - even if that's a local 192.168 type address. You can also leave your.ip.address blank. FlightGear will then listen on all network interfaces:&lt;br /&gt;
&lt;br /&gt;
 --multiplay=in,10,,5000&lt;br /&gt;
&lt;br /&gt;
''If you are using fgrun, please note that fgrun expects you to enter a valid (non-loopback, i.e. not 127.0.0.1) IP address or hostname for the local network interface.''&lt;br /&gt;
&lt;br /&gt;
Check [http://fgfs.i-net.hu/modules/fgtracker/ this page] to see whether your callsign is already in use or not. Do not pick a callsign that is already used, as that will create problems!&lt;br /&gt;
&lt;br /&gt;
==== Now, going more slowly for those who are completely lost... ====&lt;br /&gt;
Try the above first, and if it doesn't work, read on.&lt;br /&gt;
&lt;br /&gt;
First of all, you need to know the IP address of the network interface you'll be using for multiplayer FG. If your Internet connection is via an ADSL modem that plugs directly into your computer with a USB connection, you should be able to find your IP address by visiting http://www.whatismyip.com . Please note that your ISP might not give you the same IP address each time - if MP stops working, check this first.&lt;br /&gt;
&lt;br /&gt;
Otherwise, your connection is likely via some kind of router that connects to your computer via an RJ-45, or &amp;quot;Ethernet&amp;quot; connector (similar shape to most Western telephone plugs), or by a wireless link. You need to find the IP address of that network interface.&lt;br /&gt;
&lt;br /&gt;
* Under '''Linux''', this can be found by logging in as root and typing &amp;quot;ifconfig&amp;quot;. You may find more than one interface listed, beginning with &amp;quot;lo&amp;quot; - ignore that one. You should have something like &amp;quot;eth0&amp;quot; or &amp;quot;wlan0&amp;quot; also listed - look through this block of text for &amp;quot;inet addr&amp;quot;. This will be followed directly by the number you're looking for, e.g. &amp;quot;inet addr:192.168.0.150&amp;quot;&lt;br /&gt;
* Under '''Windows XP or later''', click start, run, and type &amp;quot;cmd&amp;quot;. In the terminal window which appears, type &amp;quot;ipconfig&amp;quot; This should show you your IP address - write it down.&lt;br /&gt;
* With '''Windows 98''', click start, run, and type &amp;quot;winipcfg&amp;quot; to get information about your IP address.&lt;br /&gt;
&lt;br /&gt;
This section _ought_ to be unnecessary now with recent versions of the FG server. If you have problems though, it won't hurt to follow through.&lt;br /&gt;
&lt;br /&gt;
Now, all (!) that remains is to configure your router to forward UDP port 5000 to the IP address you've just found. This is not something that can be described in step-by-step detail, because each manufacturer's configuration interfaces differ greatly. Some tips are given here - if you get stuck, ask nicely on the [[FlightGear IRC channel]] for help (details on the flightgear website).&lt;br /&gt;
&lt;br /&gt;
You should know how to log on to your router's configuration page, usually via a web browser. You are looking for settings pertaining to &amp;quot;port forwarding&amp;quot; &amp;quot;virtual server&amp;quot; &amp;quot;Forwarding Rules&amp;quot; or similar. When you have found the relevant settings, you need to add a rule that forwards port 5000 to the IP address you discovered earlier. If there is a choice given, ensure it is UDP ports that are forwarded. If there is no choice, you may assume that both TCP and UDP are being forwarded. Save your configuration, and most routers will probably then need to be rebooted to apply the changes.&lt;br /&gt;
&lt;br /&gt;
Note: (for BSD users) If you are using a ADSL modem, you might have to put the port forward command into the ppp.conf file rather than firewall. This is because the firewall script will only run each time the machine is booted rather than the ppp line coming back online.&lt;br /&gt;
&lt;br /&gt;
Finally, start FG using the command line given right at the start (if you're using the windows launcher you will find entry boxes for Multiplayer arguments - insert the relevant details there). You will end up with something like this;&lt;br /&gt;
&lt;br /&gt;
 fgfs --callsign=test --multiplay=in,10,192.168.0.2,5000 --multiplay=out,10,mpserver05.flightgear.org,5000 \&lt;br /&gt;
 --airport=KSFO --runway=28R --aircraft=hunter &lt;br /&gt;
&lt;br /&gt;
Choose your own callsign - this is currently limited to seven characters. Check [http://fgfs.i-net.hu/modules/fgtracker/ this page] to see whether your callsign is already in use or not. Do not pick a callsign that is already used, as that will create problems!&lt;br /&gt;
&lt;br /&gt;
Once you have started FG, you should, if others are flying, see messages in the terminal from which FG was started, similar to the following;&lt;br /&gt;
&lt;br /&gt;
 Initialising john51a using 'Aircraft/ufo/Models/ufo.xml'  &lt;br /&gt;
 FGMultiplayRxMgr::ProcessRxData - Add new player. IP: 10.0.0.36,  &lt;br /&gt;
 Call: john51a,model: Aircraft/ufo/Models/ufo.xml &lt;br /&gt;
&lt;br /&gt;
You MUST give your local, behind-the-router IP address for MultiPlayer to work. Trust me on this one!&lt;br /&gt;
&lt;br /&gt;
You should check that your firewall is not causing problems - either turn it off _temporarily_ or add an exception to allow incoming connections on port 5000.&lt;br /&gt;
&lt;br /&gt;
If it's still just not working for you, ask nicely on the [[FlightGear IRC channel]] and someone should be able to assist.&lt;br /&gt;
&lt;br /&gt;
== Multiple connections per computer ==&lt;br /&gt;
It is possible to run multiple FlightGear instances on a single computer and connect them all to the multiplayer network. However, this requires some extras to keep in mind:&lt;br /&gt;
* both instances use the same out-port.&lt;br /&gt;
* one instance uses in port=5001, the other port 5002.&lt;br /&gt;
* and of course should both instances have unique callsigns.&lt;br /&gt;
&lt;br /&gt;
== Multiplayer chat ==&lt;br /&gt;
{{Main article|Chat Menu}}&lt;br /&gt;
&lt;br /&gt;
To chat with other pilots, go to the &amp;quot;Network&amp;quot; menu and select &amp;quot;Chat&amp;quot; or &amp;quot;Chat Menu&amp;quot; at the bottom of the menu. Note that the other pilots may not have their chat box open nor chat messages enabled, so they may not see your messages.&lt;br /&gt;
&lt;br /&gt;
The shortcut for chatting is &amp;quot;_&amp;quot; (underscore) and it brings up a small window where you can type. By default, other people's messages are displayed at the top of Flightgear's window for a few seconds, but it will appear for a much longer time in the window at &amp;lt;tt&amp;gt;Network &amp;gt; Chat&amp;lt;/tt&amp;gt;. So if you think you have missed anything, go check there.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Multiplayer chat is not supported by FlightGear 0.9.10 or older.&lt;br /&gt;
&lt;br /&gt;
== Coping with abusive behaviour ==&lt;br /&gt;
Should you become victim of abusive or annoying behaviour by any pilot you have option to ignore him or her. To activate the ignore function open the Multiplayer &amp;gt; Pilot list dialog and click the ignore button next to the pilot's call sign. As of FlightGear 2.0.0 this will prevent chat messages from the ignored pilot from appearing and in FlightGear 2.4.0 and later it will additionally prevent his aircraft from appearing.&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[FlightGear Multiplayer Server]]&lt;br /&gt;
* [[Howto: Set up a multiplayer server]]&lt;br /&gt;
* [[Multiplayer protocol]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;br /&gt;
[[Category:Howto|Multiplayer]]&lt;br /&gt;
&lt;br /&gt;
[[de:Howto: Multiplayer]]&lt;br /&gt;
[[es:Howto: Multijugador]]&lt;br /&gt;
[[fr:Howto: Multijoueur]]&lt;br /&gt;
[[nl:Howto: Multiplayer]]&lt;br /&gt;
[[pl: Konfiguracja trybu multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61326</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61326"/>
		<updated>2013-07-08T22:21:16Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received 2 error when compiling fgms-0-x/src/server/fg_util.cxx because integer constants were too large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624)|1125899906842624.)|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776)|1099511627776.)|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines I changed in /etc/fgms.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = newmpserver&lt;br /&gt;
server.address = 64.69.45.88&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
server.daemon = true&lt;br /&gt;
#relay.host = mpserver01.flightgear.org&lt;br /&gt;
#relay.port = 5000&lt;br /&gt;
server.out_of_reach = 10000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61325</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61325"/>
		<updated>2013-07-08T22:19:18Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.&lt;br /&gt;
*Also I received compile error on one file because integer constants were too large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624)|1125899906842624.)|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776)|1099511627776.)|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines I changed in /etc/fgms.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = newmpserver&lt;br /&gt;
server.address = 64.69.45.88&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
server.daemon = true&lt;br /&gt;
#relay.host = mpserver01.flightgear.org&lt;br /&gt;
#relay.port = 5000&lt;br /&gt;
server.out_of_reach = 10000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61324</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61324"/>
		<updated>2013-07-08T16:07:41Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see [[Howto:Set up a multiplayer server]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.&lt;br /&gt;
*Also I received compile error on one file because integer constants were too large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|#include &amp;lt;malloc.h&amp;gt;|//#include &amp;lt;malloc.h&amp;gt;|&amp;quot; ../fgms-0-x/src/libcli/libcli.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624|1125899906842624.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776|1099511627776.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines I changed in /etc/fgms.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = newmpserver&lt;br /&gt;
server.address = 64.69.45.88&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
server.daemon = true&lt;br /&gt;
#relay.host = mpserver01.flightgear.org&lt;br /&gt;
#relay.port = 5000&lt;br /&gt;
server.out_of_reach = 10000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61276</id>
		<title>Howto:Set up a multiplayer server</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server&amp;diff=61276"/>
		<updated>2013-07-06T01:25:35Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Pre-Requisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to providing a short overview about installing the [[FlightGear Multiplayer Server]] ('fgms'). The reader is assumed to be reasonably familiar with working in a Unix/Linux shell environment.&lt;br /&gt;
&lt;br /&gt;
== Pre-Requisites ==&lt;br /&gt;
* A computer running a variant of *nix to compile and host the server. Speed of the machine isn't of great consequence as the protocol is a multiplexer which doesn't require much processing grunt.&lt;br /&gt;
** For specific documentation for setting up on FreeBSD see http://wiki.flightgear.org/Howto:Set_up_a_multiplayer_server_on_FreeBSD&lt;br /&gt;
* direct/physical or remote access to the server (i.e. SSH/telnet, a conventional web hosting package will usually '''not''' be sufficient!)-suitable hosting packages are: dedicated root servers, virtual private servers, shell servers - for a collection of '''free''' shell account providers that may be suitable for fgms, see [[Free Shell Providers]] (you may want to check this out if you are interested in running fgms but don't have hosting yet)&lt;br /&gt;
* if the server is meant to be a public internet server: an internet connection, featuring sufficient upstream/downstream capabilities (see below for details concerning bandwidth requirements). &lt;br /&gt;
* firewall policies will need to be set up to allow for incoming and outgoing UDP traffic for the corresponding ports, the same applies to the administration port (TCP)&lt;br /&gt;
* permission to run unattended background processes (this may only be an issue with certain limited hosting packages)&lt;br /&gt;
* a working GNU toolchain including gcc/g++ (compiler), make &amp;amp;  cmake&lt;br /&gt;
* fgms source code, currently version 0.10.23&lt;br /&gt;
* about 5-10 MB of hard disk space (mainly required for building the binary)&lt;br /&gt;
&lt;br /&gt;
== Traffic &amp;amp; Bandwidth Considerations ==&lt;br /&gt;
&lt;br /&gt;
Note: Currently (May 2008), the server code basically boils down to a packet multiplexer (i.e. most data is -unconditionally- transmitted to all 'active' clients), which may thus create considerable amounts of traffic; this ought to be taken into consideration due to bandwidth limitations in most hosting packages (i.e. '''fgms may create considerable amounts of traffic!'''). For basic calculations: inbound traffic is 25 Kilobit per second while outbound is 25 Kbits per second for each plane/client that can 'see' another. &lt;br /&gt;
&lt;br /&gt;
By default, assuming a 10hz update interval, each active fgfs client will currently cause I/O traffic of approximately 5 kbytes/sec (one update consuming ~500 bytes) [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
As client updates have to be propagated to all other active clients by the server, this number has to be multiplied by the number of active clients -1 (i.e. clients within a configurable range, minus the originating client). &lt;br /&gt;
In addition, the fgms system allows for traffic updates to be sort of 'mirrored' on (relayed to) other configurable multiplayer/relay servers. &lt;br /&gt;
&lt;br /&gt;
This feature makes it possible for users/clients to use an arbitrary server (with acceptable latency), but still see clients/vehicles connected to different servers. Thus, such relay servers may additionally increase inbound/outbound traffic considerably as all traffic is mirrored/propagated to such relays.&lt;br /&gt;
&lt;br /&gt;
Having more servers should actually decrease the load on each server in high load situations, i.e. when most of the clients are within range of each other. See this&lt;br /&gt;
[http://www.gidenstam.org/FlightGear/fgms/fgms_bandwidth_estimates.txt brief note on the theoretical bandwidth behaviour of fgms.]&lt;br /&gt;
&lt;br /&gt;
=== Facts ===&lt;br /&gt;
In March 2008, the main fgms multiplayer server (pigeond.net) was reported to consume approximately 15 gb of bandwidth per '''day''', with an average throughput of 200 kB/sec and peak loads of up to ~ 650 kB/sec [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16016.html].&lt;br /&gt;
&lt;br /&gt;
During the same month (the much less used but interconnected) mpserver06.flightgear.org had on average 742 MB incoming and 688 MB outgoing traffic per day (i.e. 72 kbit/sec respective 66 kbit/sec on average).&lt;br /&gt;
&lt;br /&gt;
In September 2009, mpserver 05 had a massive peak bandwidth of 1.0 MB/sec. Average bandwidth consumed was about 9 GB of bandwidth per day. The average bandwidth usage per day is climbing due to more users moving from 02 to 05.&lt;br /&gt;
&lt;br /&gt;
=== Reducing bandwidth requirements ===&lt;br /&gt;
Total network traffic is mainly determined by the number of active clients that 'see eachother' and configured mirrors. &lt;br /&gt;
If traffic considerations are relevant, the following options exist to reduce overall server/network load:&lt;br /&gt;
&lt;br /&gt;
* configure a relatively low &amp;quot;server.out_of_reach&amp;quot; value, so that clients outside a certain range are not provided with updates (usually about 100 nm on the main server network)&lt;br /&gt;
* for virtual gatherings (i.e. fly-ins), have clients use airports and places that do not have lots of other traffic (i.e. in other words, avoid places like standard airports such as KSFO)&lt;br /&gt;
* avoid the use of unnecessary relay servers&lt;br /&gt;
* if you are not interested in your server being publicly available, only share its address with your friends privately&lt;br /&gt;
* for local testing/development purposes, you may want to run only a private fgms session, that may be specific to your LAN or even computer.&lt;br /&gt;
&lt;br /&gt;
=== Hosting Packages known to be suitable for fgms hosting ===&lt;br /&gt;
(yet to be filled in)&lt;br /&gt;
&lt;br /&gt;
== Getting &amp;amp; Building fgms ==&lt;br /&gt;
&lt;br /&gt;
* You will need the build tools cmake and make, and also g++ to compile the fgms application. These can usually be found in the package manager for most the common Linux distributions. You will also need the git client to fetch the source code from the repository, if you plan to download it from the command line interface (see below).&lt;br /&gt;
&lt;br /&gt;
* Once the build tools are installed on your machine, create a directory to hold the source code. This could be named anything, such as fgms. Create it in your user home directory. Note that this WILL NOT be the directory where the program will be compiled.&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the directory you just made, where you will run the command to fetch the source code from the git repository (see below). &lt;br /&gt;
&lt;br /&gt;
* To download the latest stable version via HTTP, you can use direct your browse to the URL http://gitorious.org/fgms/fgms-0-x/. Download and unzip the source code, and place it in the directory you created above.&lt;br /&gt;
&lt;br /&gt;
* To download a file directly to your server from an ssh session, you can use git tools with the following command:&lt;br /&gt;
&lt;br /&gt;
 $git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
&lt;br /&gt;
== Compiling FGMS ==&lt;br /&gt;
&lt;br /&gt;
NOTE: In general, on any current machine this process should not take longer than about 60 seconds.&lt;br /&gt;
&lt;br /&gt;
* Once you have the source code, 'cd' into the ~/fgms/fgms-0-x/ directory and note the presence of the CMakeLists.txt file and the README.cmake file. Open the README.cmake file and take a minute to read it over. Also, note the path to the CMakeLists.txt file, as you will need this in the following steps.&lt;br /&gt;
&lt;br /&gt;
* Now create a build-fgms directory in your home directory, and 'cd' into it. From inside the ~/build-fgms/ directory, run the cmake command using the path to the CMakeLists.txt as an argument. For example: cmake /home/&amp;lt;user_name&amp;gt;/fgms/fgms-0-x/&lt;br /&gt;
&lt;br /&gt;
* Once the build finishes, you can either run the &amp;quot;cmake --build ...&amp;quot; command as shown in the README.cmake file, or you can simply use &amp;quot;make&amp;quot; to build the program.&lt;br /&gt;
&lt;br /&gt;
* Once the compilation process finishes, you need to install the program using &amp;quot;make install&amp;quot; (as user), or you can also install as root.&lt;br /&gt;
&lt;br /&gt;
* Once the program has been installed, you need to copy the fgms_example.conf file from the /fgms/fgms-0-x/src/server directory, into the build-fgms directory. To do this from inside the /fgms/fgms-0-x/src/server directory, you can use this command: cp ./fgms_example.conf ~/build-fgms/&lt;br /&gt;
&lt;br /&gt;
* Now 'cd' into the build-fgms directory, and rename the file you just copied as &amp;quot;fgms.conf&amp;quot; so that fgms can find the proper configuration.&lt;br /&gt;
&lt;br /&gt;
== Setting up the config file ==&lt;br /&gt;
&lt;br /&gt;
At this point you should have a working 'fgms' binary in the build-fgms directory. If the server will be offline or for private use (i.e. LAN-only, please comment out the relay servers section. This will save bandwidth from the server being consumed.&lt;br /&gt;
&lt;br /&gt;
* Edit the fgms.conf file according to the instructions found elsewhere on this page, then save and close the file.&lt;br /&gt;
&lt;br /&gt;
== Running FGMS for the first time ==&lt;br /&gt;
&lt;br /&gt;
In addition to its configuration file, FGMS supports a number of configuration parameters that can be passed at startup (and that will by default override any configuration file settings), to get a summary of supported parameters, you may want to run:&lt;br /&gt;
 $ ./fgms --help&lt;br /&gt;
&lt;br /&gt;
Which should present you with the following output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options are:&lt;br /&gt;
-h            print this help screen&lt;br /&gt;
-a PORT       listen to PORT for telnet&lt;br /&gt;
-c config     read 'config' as configuration file&lt;br /&gt;
-p PORT       listen to PORT&lt;br /&gt;
-t TTL        Time a client is active while not sending packets&lt;br /&gt;
-o OOR        nautical miles two players must be apart to be out of reach&lt;br /&gt;
-l LOGFILE    Log to LOGFILE&lt;br /&gt;
-v LEVEL      verbosity (loglevel) in range 1 (few) and 5 (much)&lt;br /&gt;
-d            do _not_ run as a daemon (stay in foreground)&lt;br /&gt;
-D            do run as a daemon&lt;br /&gt;
&lt;br /&gt;
the default is to run as a daemon, which can be overridden in the&lt;br /&gt;
config file.&lt;br /&gt;
commandline parameters always override config file options&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After having finished the fgms configuration, you can try running fgms and start up fgfs to use the new server.&lt;br /&gt;
If you'd like to make it a public server, you can simply use your external (public) IP address to set up the multiplayer in fgfs.&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[Howto: Multiplayer|Multiplayer howto]]&lt;br /&gt;
* [[MPmap]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiplayer]]&lt;br /&gt;
[[Category:Howto|Set up a multiplayer server]]&lt;br /&gt;
[[fr:Installer un serveur multijoueur]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61275</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61275"/>
		<updated>2013-07-06T01:23:44Z</updated>

		<summary type="html">&lt;p&gt;Las: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
For generic setup information see http://wiki.flightgear.org/Howto:Set_up_a_multiplayer_server&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.&lt;br /&gt;
*Also I received compile error on one file because integer constants were to large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|#include &amp;lt;malloc.h&amp;gt;|//#include &amp;lt;malloc.h&amp;gt;|&amp;quot; ../fgms-0-x/src/libcli/libcli.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624|1125899906842624.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776|1099511627776.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines I changed in /etc/fgms.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = newmpserver&lt;br /&gt;
server.address = 64.69.45.88&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
server.daemon = true&lt;br /&gt;
#relay.host = mpserver01.flightgear.org&lt;br /&gt;
#relay.port = 5000&lt;br /&gt;
server.out_of_reach = 10000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61274</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61274"/>
		<updated>2013-07-06T01:22:06Z</updated>

		<summary type="html">&lt;p&gt;Las: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.&lt;br /&gt;
*Also I received compile error on one file because integer constants were to large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|#include &amp;lt;malloc.h&amp;gt;|//#include &amp;lt;malloc.h&amp;gt;|&amp;quot; ../fgms-0-x/src/libcli/libcli.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624|1125899906842624.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776|1099511627776.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines I changed in /etc/fgms.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = newmpserver&lt;br /&gt;
server.address = 64.69.45.88&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
server.daemon = true&lt;br /&gt;
#relay.host = mpserver01.flightgear.org&lt;br /&gt;
#relay.port = 5000&lt;br /&gt;
server.out_of_reach = 10000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61273</id>
		<title>Howto:Set up a multiplayer server on FreeBSD</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Set_up_a_multiplayer_server_on_FreeBSD&amp;diff=61273"/>
		<updated>2013-07-06T01:18:57Z</updated>

		<summary type="html">&lt;p&gt;Las: Created page with &amp;quot;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (as of July 2013) on FreeBSD...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (as of July 2013) on FreeBSD 9.0-STABLE.&lt;br /&gt;
== Download ==&lt;br /&gt;
If you do not have git installed you must install it first&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Download the latest version of fgms and create a build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://gitorious.org/fgms/fgms-0-x.git&lt;br /&gt;
mkdir fgms-build&lt;br /&gt;
cd fgms-build/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Modifications ==&lt;br /&gt;
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.&lt;br /&gt;
*Also I received compile error on one file because integer constants were to large so just convert them to real. &lt;br /&gt;
&lt;br /&gt;
The commands below will automatically make the above modifications.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i '' -e &amp;quot;s|#include &amp;lt;malloc.h&amp;gt;|//#include &amp;lt;malloc.h&amp;gt;|&amp;quot; ../fgms-0-x/src/libcli/libcli.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1125899906842624|1125899906842624.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
sed -i '' -e &amp;quot;s|1099511627776|1099511627776.|&amp;quot; ../fgms-0-x/src/server/fg_util.cxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Building ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake ../fgms-0-x&lt;br /&gt;
cmake --build .&lt;br /&gt;
make install&lt;br /&gt;
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Configuring ==&lt;br /&gt;
Make sure you edit the installed configuration file /etc/fgms.conf&lt;br /&gt;
Shown below are the lines I changed in /etc/fgms.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server.name = newmpserver&lt;br /&gt;
server.address = 64.69.45.88&lt;br /&gt;
server.logfile = /var/log/fgms.log&lt;br /&gt;
server.daemon = true&lt;br /&gt;
#relay.host = mpserver01.flightgear.org&lt;br /&gt;
#relay.port = 5000&lt;br /&gt;
server.out_of_reach = 10000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Running ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fgms -c /etc/fgms.conf&lt;br /&gt;
processing /etc/fgms.conf&lt;br /&gt;
# using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # This is newmpserver&lt;br /&gt;
05.07.2013 18:16:38 # FlightGear Multiplayer Server v0.11.0 started&lt;br /&gt;
05.07.2013 18:16:38 # using protocol version v1.1 (LazyRelay enabled)&lt;br /&gt;
05.07.2013 18:16:38 # listening to port 5000&lt;br /&gt;
05.07.2013 18:16:38 # telnet port 5001&lt;br /&gt;
05.07.2013 18:16:38 # admin port 5002&lt;br /&gt;
05.07.2013 18:16:38 # using logfile /var/log/fgms.log&lt;br /&gt;
05.07.2013 18:16:38 # listening on 64.&lt;br /&gt;
05.07.2013 18:16:38 # tracking is disabled.&lt;br /&gt;
05.07.2013 18:16:38 # I have 1 relays&lt;br /&gt;
05.07.2013 18:16:38 # relay mpserver14.flightgear.org:5000&lt;br /&gt;
05.07.2013 18:16:38 # I have 0 crossfeeds&lt;br /&gt;
05.07.2013 18:16:38 # I have 2 blacklisted IPs&lt;br /&gt;
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=TerraGear&amp;diff=60969</id>
		<title>TerraGear</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=TerraGear&amp;diff=60969"/>
		<updated>2013-06-15T07:05:49Z</updated>

		<summary type="html">&lt;p&gt;Las: /* Pre-compiled builds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding-left:20px;&amp;quot;&amp;gt;''Not to be confused with [[TerraSync]], a tool to download scenery on-the-fly.''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:TerraGear The Hague wireframe.png|thumb|270px|A wireframe view of detailed [[CORINE]] and [[OSM]] scenery, generated by TerraGear.]]&lt;br /&gt;
'''TerraGear''' is a collection of open-source tools and rendering libraries which can transform publically available GIS data in 3D representations (i.e. 3D models or 3D maps) of the earth for use in real time rendering projects. TerraGear can import 3D data sets such as DEM terrain grids, 2D polygon data sets such as coastlines, city outlines, lake outlines, and 2D raster data sets such as the 1 km NAOO land use/land cover data. It also has tools for generating realistic [[airport]]s, runways, and lighting based on available FAA data. &lt;br /&gt;
&lt;br /&gt;
TerraGear is the primary tool used to generate the [[scenery]] for the [[FlightGear]] project. &lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
For a variety of reasons you might want to build terrain yourself, rather than downloading it from the available scenery on FlightGear. For instance, if you use [[TaxiDraw]] to create or modify an airport layout, you might wish to see how that modified airport would look in the Scenery before deciding you're happy with the results. And normally, to see and use the airport in the scenery, it's necessary to submit the modifications to the FlighGear scenery staff and then wait untill the next update of the scenery of that area is available via [[TerraSync]] or in the [http://www.flightgear.org/download/scenery/ official FlightGear Scenery] build. If you can build terrain yourself, you can start using it right away.&lt;br /&gt;
&lt;br /&gt;
Maybe the official scenery is too detailed for your slow machine, and you'd like to build terrain using a digital elevation model (DEM) with poorer resolution, to decrease the number of polygons and thus improve your framerates. Or maybe you've got a fantastically fast machine, and you want to build your own terrain using higher resolution vector data (vmap1, Tiger) to get better roads/rivers. For all these reasons learning how to use TerraGear is a good idea.&lt;br /&gt;
&lt;br /&gt;
== Getting TerraGear ==&lt;br /&gt;
=== Pre-compiled builds ===&lt;br /&gt;
* [http://flightgear.simpits.org:8080/job/TerraGear-Win-Cmake/lastSuccessfulBuild/artifact/*zip*/archive.zip Latest Windows build], built by the [[FlightGear Build Server]].&lt;br /&gt;
&lt;br /&gt;
:*[[TerraGear_Installation_for_Windows|Detailed Windows Installation Instructions]]&lt;br /&gt;
&lt;br /&gt;
=== Source ===&lt;br /&gt;
The source is hold in a [[git]] repository at Gitorious.&lt;br /&gt;
 git clone git://git.gitorious.org/fg/terragear.git&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
* TerraGear&lt;br /&gt;
** [[SimGear]] - '''Not''' simgear-cs! (simgear-dev package)&lt;br /&gt;
*** SimGear can be compiled without OSG support thus eliminating many deps, like OSG. Use &amp;quot;-DSIMGEAR_HEADLESS=YES&amp;quot; for a minimal build.&lt;br /&gt;
** [http://www.cgal.org/ CGAL] - For high accuracy geometric calculations&lt;br /&gt;
** [http://www.gdal.org/ libgdal]&lt;br /&gt;
&lt;br /&gt;
=== Building ===&lt;br /&gt;
 cmake . [options]  &lt;br /&gt;
 make install&lt;br /&gt;
&amp;lt;tt&amp;gt;cmake&amp;lt;/tt&amp;gt; options:&lt;br /&gt;
 -DCMAKE_PREFIX_PATH=&amp;quot;/path/to/lib/install/prefix&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Platform specific ===&lt;br /&gt;
* Debian: [[Building FlightGear - Debian#TerraGear]]&lt;br /&gt;
* Gentoo: &amp;lt;tt&amp;gt;emerge -av terragear&amp;lt;/tt&amp;gt; &amp;lt;BR&amp;gt;See [[Building Flightgear - Gentoo]].&lt;br /&gt;
* Ubuntu: [[Building terragear in Ubuntu 910 (32- or 64-bit)]]&lt;br /&gt;
&lt;br /&gt;
== GUI Tool ==&lt;br /&gt;
A [[TerraGear GUI]] is available for those that would like to use TerraGear without knowing/using the command line options.&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[Using Terragear]]&lt;br /&gt;
* [[TerraGear CORINE]]&lt;br /&gt;
* [[TerraGear Documentation]]&lt;br /&gt;
&lt;br /&gt;
{{Terra}}&lt;br /&gt;
{{Building}}&lt;br /&gt;
&lt;br /&gt;
[[Category:TerraGear| ]]&lt;br /&gt;
&lt;br /&gt;
[[es:TerraGear]]&lt;br /&gt;
[[fr:TerraGear]]&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=TerraGear_Installation_for_Windows&amp;diff=60968</id>
		<title>TerraGear Installation for Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=TerraGear_Installation_for_Windows&amp;diff=60968"/>
		<updated>2013-06-15T07:02:03Z</updated>

		<summary type="html">&lt;p&gt;Las: Created page with &amp;quot;TerraGear build for Windows requires several libraries, some which must be downloaded separately.  ===  TerraGear Windows Build=== [http://flightgear.simpits.org:8080/job/Terr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TerraGear build for Windows requires several libraries, some which must be downloaded separately.&lt;br /&gt;
&lt;br /&gt;
===  TerraGear Windows Build===&lt;br /&gt;
[http://flightgear.simpits.org:8080/job/TerraGear-Win-Cmake/lastSuccessfulBuild/artifact/*zip*/archive.zip Download the Latest TerraGear Windows Build Archive] from the [[http://wiki.flightgear.org/FlightGear_Build_Server|FlightGear Build Server]].&lt;br /&gt;
&lt;br /&gt;
Select a logical location on your system for TerraGear. It can be anywhere but for clarity the instruction below are for C:\Program Files&lt;br /&gt;
&lt;br /&gt;
Extract the TerraGear Archive to a temporary location on your system.  In the examples below the Archive was extracted to C:\Archive &lt;br /&gt;
&lt;br /&gt;
* Move C:\Archive\install\msvc100\TerraGear\ to C:\Program Files&lt;br /&gt;
* Move C:\Archive\CGAL\auxiliary\gmp\lib\libgmp-10.dll to C:\Program Files\TerraGear\bin\&lt;br /&gt;
* Move C:\Archive\CGAL\auxiliary\gmp\lib\libmpfr-4.dll to C:\Program Files\TerraGear\bin\&lt;br /&gt;
* Move C:\Archive\gdal\bin\gdal110dev.dll              to C:\Program Files\TerraGear\bin\&lt;br /&gt;
&lt;br /&gt;
=== Required Libraries ===&lt;br /&gt;
[http://flightgear.simpits.org:8080/job/CGAL-Win-CMake/ws/install/msvc100/CGAL/bin/CGAL-vc100-mt-4.1.dll Download the CGAL library] from http://flightgear.simpits.org:8080/job/CGAL-Win-CMake/ws/install/msvc100/CGAL/bin/ and save the dll into C:\Program Files\TerraGear\bin\&lt;br /&gt;
&lt;br /&gt;
[http://download.osgeo.org/proj/proj446_win32_bin.zip Download the Cartographic Projections Library] from http://trac.osgeo.org/proj/ &lt;br /&gt;
You only need one file, proj.dll, from this archive. Save proj.dll into to C:\Program Files\TerraGear\bin\&lt;br /&gt;
&lt;br /&gt;
=== Results ===&lt;br /&gt;
If you chose C:\Progam Files for your location when you are done you should have following directory structure.&lt;br /&gt;
* C:\Progam Files\TerraGear\bin&lt;br /&gt;
:* (contains 15 .exe files and 5 .dll files)&lt;br /&gt;
* C:\Progam Files\TerraGear\share\TerraGear&lt;br /&gt;
:* (contains 15 .txt files)&lt;br /&gt;
&lt;br /&gt;
If you use [[TerraGear_GUI|TerraGear GUI]] its &amp;quot;TerraGear root&amp;quot; will be C:\Progam Files\TerraGear&lt;/div&gt;</summary>
		<author><name>Las</name></author>
	</entry>
</feed>