AvSquirrel
23e2721c90
Add datalog mutex for timestamp
2016-04-06 03:01:10 +00:00
peepsnet
77f9708d56
keep an alias file after this file is modified
...
Since I am tired of my aliases being over written I am adding this so I can make my own alias file and not have it overwritten!!!!!!!!!!!!!
create a file called .aliases in /root and they will be included
2016-04-04 12:20:34 -04:00
Christopher Young
22a019b9a7
Remove temporary files on update.
2016-04-03 14:41:06 -04:00
Christopher Young
5da86d919f
Comment out debugging data.
2016-04-03 14:16:00 -04:00
Christopher Young
8545a9ba0d
Fix bulkInsert query logic problem. Maximum rows based on column limitation (999). Issue warning if SQLite is taking too long.
2016-04-03 14:10:42 -04:00
cyoung
a39bc203a2
Merge pull request #361 from peepsnet/patch-1
...
Update mkimg.sh for hostapd_manager.sh
2016-04-03 13:56:06 -04:00
Christopher Young
0b1ca4b2da
Fix temporary fix for generic NMEA GPS - Satellites = SatellitesTracked = SatellitesSeen.
2016-04-03 13:42:38 -04:00
cyoung
a37855225c
Merge pull request #366 from peepsnet/patch-3
...
Correct typo and clarify instructions for hostapd_manager.sh
2016-04-03 11:00:33 -04:00
peepsnet
9cdd5e3af2
Correct typo and clarify instructions
2016-04-03 01:27:14 -04:00
cyoung
73236d73c8
Merge pull request #363 from cyoung/sqlite_logging
...
Sqlite logging.
2016-04-02 16:18:35 -04:00
Christopher Young
feaffc07fc
Compile with 4 cores.
2016-04-02 16:01:07 -04:00
Christopher Young
9607311dbe
Increase batch size to 1,000 up to a maximum query size 750,000 bytes.
2016-04-02 15:57:05 -04:00
Christopher Young
da4eb3dfc8
Type fix.
2016-04-02 15:40:25 -04:00
Christopher Young
1b093ef1bb
INSERT speed fixes.
2016-04-02 15:33:19 -04:00
peepsnet
0b4df811ab
Update mkimg.sh for hostapd_manager.sh
...
copy file to location and chmod
2016-04-01 19:42:54 -04:00
cyoung
2d10744cfe
Merge pull request #360 from cyoung/sqlite_logging
...
Sqlite logging.
2016-04-01 18:44:11 -04:00
Christopher Young
980977146e
Remove debugging code.
2016-04-01 18:42:28 -04:00
Christopher Young
8cc6534761
Remove debugging code.
2016-04-01 18:33:01 -04:00
Christopher Young
62dd58b07f
Use batched inserts instead of prepared statements.
2016-04-01 18:25:53 -04:00
cyoung
8b56f1f6de
Merge pull request #359 from peepsnet/patch-1
...
Bash script to modify hostapd.conf and hostapd-edimax.conf
2016-04-01 16:53:16 -04:00
Christopher Young
f1f3977e5b
Used prepared statements for SQLite inserts.
2016-04-01 15:42:46 -04:00
peepsnet
47bc631568
Completely rewritten for command line flags
...
Help documentation for go.sh.
Basic usage: hostapd_manager.sh -s ssid -c chan -e pass
Command line switches are optional. The following switches are recognized.
-s --Sets the SSID to ssid. "-s stratux"
-c --Sets the channel to chan. "-c 1"
-e --Turns on encryption with passphrase pass. 8-13 Printable Characters. Cannot be used with -o. "-e password!"
-o --Turns off encryption and sets network to open. Cannot be used with -e.
-h --Displays this help message. No further functions are performed.
Example: hostapd_manager.sh -s stratux -c 1 -e N3558D
2016-04-01 15:00:51 -04:00
Christopher Young
dbacc6b6e7
Move db writes to a separate goroutine.
2016-04-01 14:05:23 -04:00
peepsnet
cb8a531710
Update hostapd_manager.sh
...
typo
2016-04-01 12:37:28 -04:00
Christopher Young
044a95d801
Stratux shutdown and archive log database when upgrading.
2016-04-01 12:00:21 -04:00
Christopher Young
268ea23ce5
Use tmp variable to assign.
2016-04-01 08:40:09 -04:00
Christopher Young
2bfb5d8c33
Typo.
2016-04-01 08:36:10 -04:00
Christopher Young
fdbde39e96
Extrapolate GPS timestamps with stratuxClock.
2016-04-01 08:34:37 -04:00
Christopher Young
b87aa52044
Batch data writes.
...
This will be done as part of a system where the database file is
compressed and moved periodically.
2016-04-01 08:26:37 -04:00
peepsnet
93841cc4f5
Update hostapd_manager.sh
2016-04-01 01:48:49 -04:00
peepsnet
267c906354
Update hostapd_manager.sh
2016-04-01 01:45:50 -04:00
peepsnet
6a8eb2b3c9
Update hostapd_manager.sh
2016-04-01 01:44:59 -04:00
peepsnet
5612e70e27
Update hostapd_manager.sh
2016-04-01 01:44:23 -04:00
peepsnet
039e0c231e
Hostapd_manager.sh
...
File to modify:
/etc/hostapd/hostapd.conf
/etc/hostapd/hostapd-edimax.conf
This is a improvement on the script that was uploaded to reddit.
https://www.reddit.com/r/stratux/comments/4c0ffw/change_ssid_bash_script/
usage:
hostapd_manager.sh ssid channel passphrase
2016-04-01 00:59:50 -04:00
Christopher Young
4e5513ce95
Send traffic update to logTraffic().
2016-03-31 20:39:02 -04:00
Christopher Young
7ad31e9414
Temp.
2016-03-26 17:25:32 -04:00
Christopher Young
ce1617af93
Remove further remnants of replay logging.
2016-03-26 17:24:08 -04:00
Christopher Young
c6c8c22b63
Stratux plugin beginning.
2016-03-26 17:23:08 -04:00
Christopher Young
480426cdd1
Remove further remnants of replay logging.
2016-03-26 17:19:59 -04:00
Christopher Young
e0f82b0a29
Data logging graceful shutdown.
2016-03-26 17:15:59 -04:00
Christopher Young
0199d49238
Move dump1090 terminal logging to datalog package. Remove remnants of replay logging.
2016-03-26 17:12:26 -04:00
Christopher Young
fa28ac210c
Remove UAT and ES replay logging. Add datalog functions for UAT and ES messages.
2016-03-26 16:49:57 -04:00
Christopher Young
cb113cb804
Remove AHRS replay log.
2016-03-26 16:37:33 -04:00
Christopher Young
aa2bd06fd0
Remove GPS replay log.
2016-03-26 16:34:02 -04:00
Christopher Young
bcf20249e8
Don't log situation or traffic data unless globalSettings.ReplayLog is true.
2016-03-25 11:58:44 -04:00
Christopher Young
8de91a55f0
Remove extra help info.
...
PR #268 .
2016-03-24 19:31:42 -04:00
Christopher Young
7c5da8ab55
Newline.
2016-03-24 18:08:42 -04:00
Christopher Young
32097e3b61
Debug output cleanup.
2016-03-24 17:28:00 -04:00
Christopher Young
a86314e883
Cleanup.
2016-03-24 17:26:59 -04:00
Christopher Young
ce566ae5d3
Use stratuxClock to check timestamp age.
2016-03-24 12:59:29 -04:00