- AirTraf 0.3-3 poll_server Information 2/14/2001 Finally, the polling server is ready for usage!!! Here are some requirements for running the poll_server properly. 1) need access to a mysql database (user_name, password) 2) need to have sniff_server run in server-mode 3) need to make proper changes to db_import.cfg file 4) need to run the 'init_airtraf' program to initalize the database @) Building poll_server ~~~~~~~~~~~~~~~~~~~~~~~~ 1. it should be built automagically when you do 'make all' in the src directory. Few things to note, first of all, there's no web/php interface for viewing the data stored into the database (yet). Second of all, make sure you have your database setup properly. Best would be to have your database on the same machine as the polling server, to make sure you get the best access time, although polling server is capable of managing remote connections to the database. With the database, make sure you create an user account (if you don't have one already), give it a password, and create a database to use, preferably one named 'airtraf', and have the user have all priviledges to making changes to that database. I'll have some rudimentary documentation on how to setup a database & such in the docs directory (when I get around to it), but I'll assume you know your way around it in a very basic way. For more information on mySQL database, there are numerous good places to learn on the web, or you can get a book. Either way, polling server deals with all the queries necessary, so all you need to make sure is that the database is setup correctly, and running. Before running the polling server, MAKE SURE that you run the 'init_airtraf' program, and make the initial database configuration be complete & successful before running the polling server. The init_airtraf reads the 'db_import.cfg' file, so read the file for example formats, and make the appropriate changes prior to running the 'init_airtraf' program. In the case that you make a mistake, or the import is not successful, you have the option of resetting the database, i.e. clearing all the table information so that you can run the initialization again. REMEBER that resetting the database will result in loss of ALL data that you may have collected previously using airtraf polling server, so make sure you know what you're doing. Also, to change the polling interval (default to 5 mins.), make the change in definition.h file. Also to suppress the neat server operational messages, disable the polling server's debug messages in the same file. Well, I think that's all for now. Enjoy the program, and as usual, let me know if you run into any problems. :) Peter K. Lee saint@elixar.net http://www.elixar.net/wireless http://sourceforge.net/projects/airtraf *NEW* http://airtraf.sourceforge.net