Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue but OpenWRT #3

Open
filviu opened this issue Dec 8, 2016 · 3 comments
Open

Not an issue but OpenWRT #3

filviu opened this issue Dec 8, 2016 · 3 comments

Comments

@filviu
Copy link

filviu commented Dec 8, 2016

Could the tracking process be adapted for OpenWRT?

@mehdilauters-td
Copy link

It depends what do you mean by tracking process and adapted for OpenWRT.
I guess it would be as OpenWRT is based on linux.
If main dependencies are available, there will be no problem

  • aircrack-ng
  • python2.7
  • sqlite3
  • may be optionnal gpsd and scapy

WifiScanMap is working with a master instance (running the main database) and optionals slaves (other WifiScanMap or esp8266-wifiScanMap) which are uploading their data to the master ( using http(s) ).
To track devices, you will need to know the position of each OpenWRT (using gps, wifi estimation or command line)

  • -e, --enable enable db synchro through json
  • -u SYNCHRO, --synchro SYNCHRO
    synchro uri ie http://test.com:8686
  • -p POSITION, --position POSITION

Be aware that tracking real people is probably forbidden in your country.

@filviu
Copy link
Author

filviu commented Dec 8, 2016

Be aware that tracking real people is probably forbidden in your country.

I'm aware, maybe tracking wasn't the best choice of words :) What I meant is run the data gathering processes on the openwrt device as aircrack and gpsd are for sure available on openwrt

Basically I could write a script to record all details on the openwrt system and then convert it and feed it via json to a master instance. Thanks!

@mehdilauters
Copy link
Owner

If I understood well, you have not to write your own script as wifiScanMap already have this feature.

Just enable the synchro on the master with -e and run your slave with -u http(s)://your.server:port

If for any reason you want to do it by your own, have a look to the Synchronizer object and the webui.

I should write a quick json api doc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants