This project went together smoother than I thought it would. The source code and application are available on it’s SourceForge page. I’m still working to create a range for the networks and then use circles as points. I’m thinking if I factor in strength, I can come up with an approximate (no where near exact) range. Unfortunately, without the right antenna, it’s not likely to come up with a direction but I can get the entry and exit and create a circle around it from that. Unfortunately, to convert the minute data to feet will take some fancy math due to variations in minutes with the longitude. More on that in a future post.
For those wanting to use the application, here are the steps to get it working.
- Ensure you have iwlist, gpsbabel and Google Earth installed.
- sudo apt-get install wireless-tools gpsbabel googleearth-package
- Plug in your gps.
- Test with ‘sudo gpsbabel -T -i garmin -f /dev/ttyUSB0‘
- If that pulls data, run ‘sudo ./garminwardriver.py‘
- Open your ‘out.kml’ in Google Earth (Start Google Earth->File->Open)
And there you go, data that can be drawn on any wifi card with any GPS device (if you change the code for your device). Try it out and let me know if it works or what errors you come up with. This is just a prototype, so expect v1.01 to be out soon with updates.
I wrote this post and completely forgot to add the screen shots!