[Xastir] Looking for serial->IP widget
Curt Mills, WE7U
hacker at tc.fluke.com
Wed Jan 15 14:56:16 EST 2003
On Wed, 15 Jan 2003, Jack Twilley wrote:
> I have two different desires which are contradictory:
>
> * I like rebuilding Xastir from CVS to test changes and updates
> * I like long-term data collection
>
> I am looking for a small, simple program that will sit on my serial
> port, listen to my TNC, and store the data in files based on date/time
> information. This program must also provide a server that is
> compatible with Xastir. I guess what I'm looking for is an igate but
> with logging.
>
> Does anyone have any suggestions? Please let me know.
Yea. Xastir-2!
What we need is someone to start the ball rolling. This seems like
a perfect time to do it!
1) Separate the I/O code off into it's own daemon.
2) Create an SQL database that's fed by the I/O daemon.
3) Tweak the rest of Xastir to feed from the database.
A more short-term solution:
---------------------------
1) Use Xastir's logging functions to store everything received in
log files.
2) Use cron to split them up by day/hour/whatever and perhaps
archive/expire them.
3) Tweak Xastir so that when it starts up, it auto-slurps the log
files (or some of them).
You could also set up a Perl server that's local to your box, and
have it feed Xastir when Xastir first starts up. I have code that
you could start from, to make this job easier.
--
Curt Mills, WE7U hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto: A tax on people who are bad at math!"
"Windows: Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list