wifiScanMap icon indicating copy to clipboard operation
wifiScanMap copied to clipboard

Not an issue but OpenWRT

Open filviu opened this issue 8 years ago • 3 comments

Could the tracking process be adapted for OpenWRT?

filviu avatar Dec 08 '16 10:12 filviu

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.

mehdilauters-td avatar Dec 08 '16 11:12 mehdilauters-td

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!

filviu avatar Dec 08 '16 15:12 filviu

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...

mehdilauters avatar Dec 08 '16 20:12 mehdilauters