Credits


Thanks to all the people who have helped me getting this server to what it is now. I couldn’t have done it without these people:

Greg Ament
John Eisenhour
Jason Grooms
Joe Jurecka
David Kings
Mladen Kmetic
Lyndon Nerenberg

And ofcourse:

All server operators
All people who sent me bug reports
All members of the SB/PC beta mailing list
All members of the FSFAN team Dordrecht
Marty Bochane

Compiling FSD in terminal mode


  1. Resume: After you have downloaded the fsd-ubuntu-120413.tar.bz2 file and you have saved this file in the folder ../Downloads, extracted it in the folder ../fsd-serverdatabase and subsequently copied the 3 folders ../doc ../fsd and ../unix to a folder called  fsd-server. Leave the contents in folder ../fsd-serverdatabase. These are the originals! OK? If you’ve lost me here, get back to this page.
  2. Now switch into terminal mode: Press Ctrl+ALT+t and the terminal screen will open.
    In the text hereafter the commands to type are place between [.  . ]. Type the commands only. Just to get acquainted with UNIX:fsd002
  3. You are: login_name@system. In this sample: fseindhoven@ubuntu:~$
  4. Type [ ls ] and ENTER: you get an overview of existing files in your Home directory
  5. Type [ ls -l ] and ENTER: you get the same view but listed A-Z
  6. Type [ ls -lt ] and ENTER: you get the same view but sorted by date
  7. OK. Now the real work: type [ ls ] and see that you have the folder fsd-server
  8. Type [ cd fsd-server ] and ENTER. Mind your typo’s ! UNIX is space and character case sensitive! The terminal answers with: fseindhoven@ubuntu:~/fsd-server$
  9. Type [ ls ] Check and see the folder fsd
  10. Type [ cd fsd ] and ENTER
    The terminal answers with: fseindhoven@ubuntu:~/fsd-server/fsd$
  11. fsd003
  12. Now type [ make clean ] and ENTER
  13. Now type [ make ] and ENTER
  14. Type [ cd .. ] and ENTER (One folder level up)
  15. Type [ cd unix ] and ENTER (Change dir to unix)
  16. Type [ ls -lta ] and ENTER and see what you’ve got
  17. fsd004
  18. Type [ ./fsd ] and ENTER
  19. Open the folder ../unix and you will see that after a while 3 new files are added.
    Double click log.txt and smile…your server is up and running :-))
  20. At first run there is no metar.txt file and the new metar information is collected in a file called newmetar.txt from the server that is set in the fsd.conf file.
    When finished you will have a file of approx. 1.7 MB.
  21. In the file: whazzup.txt you can read the status of your server.
  22. fsd005Checking the server  in a telnet session. Read in the next post. {Working on it}

METAR information in metar.txt


In the file metar.txt the downloaded metar information from the NOAA server is written. When the file is smaller then 1 MB the file is rejected and no new information is saved. A regular file size is approx. 1.5 MB +

In several circumstances the NOAA server won’t let you download the metar data. You may want to ftp yourself to 205.156.51.233

You can easily check the date/time of refreshment with Windows explorer or opening the log.txt file. If there is no refreshment, change the name of the server=weather.apollo3.com
You must have an IP address in hostname=

Some sample lines:

2013/06/25 08:45
K5SM 250845Z AUTO 00000KT 7SM CLR 10/M05 A3028 RMK AO2 TSNO

2013/06/25 08:45
K5SM 250845Z AUTO 00000KT 7SM CLR 10/M05 A3028 RMK AO2 TSNO

2013/06/25 09:35
KBBF 250935Z AUTO 20019KT 10SM FEW017 SCT022 BKN040 29/25 A2998 RMK A01

2013/06/25 09:35
KEMK 250935Z AUTO 16016KT 9SM CLR 28/24 A3003 RMK A01

2013/06/25 09:35
KBBF 250935Z AUTO 20019KT 10SM FEW017 SCT022 BKN040 29/25 A2998 RMK A01

Done. Get back here for Windows and here for Linux.

Logging the server activities: log.txt


In the file log.txt the activities of the FSD server are logged. See the sample below. You can deleted an existing log file. It will be replaced automatically when the server is started.

OK? Get back here.

12-01-2013 09:56:32 : Booting server
12-01-2013 09:56:32 FSD01: Reading certificates from ‘cert.txt’
12-01-2013 09:56:32 FSD01: Booting port 6809 (client interface)
12-01-2013 09:56:32 FSD01: Booting port 3011 (server interface)
12-01-2013 09:56:32 FSD01: Booting port 3010 (system management interface)
12-01-2013 09:56:33 FSD01: ** Connection to 111.111.111.111 port 3011 failed!
12-01-2013 09:56:33 FSD01: We are up
12-01-2013 09:56:34 FSD01: Reading certificates from ‘cert.txt’
12-01-2013 09:56:35 FSD01: METAR: Starting download of METAR data
12-01-2013 09:56:42 FSD01: METAR: Installed new METAR data.
12-01-2013 10:10:01 FSD01: METAR: Starting download of METAR data
12-01-2013 10:10:07 FSD01: METAR: Installed new METAR data.