KML files for Map Software like Google Earth-WardriveJOCO-
Wednesday, July 05, 2006
  Integrate your logs into Google Earth !
Here's an article I found on http://www.digg.com about a guy who has taken his log files and put the data into Google Earth, not very hard, and a pretty cool deal. So read up.

QuoteWardriving with Ubuntu Linux and Google Earth

Filed under: Uncategorized — perrygeo @ 10:24 pm

Wardriving is fun. Going around the neighborhood and mapping all the wireless networks may be nothing more than a geeky hobby but it can sure teach you alot. And viewing the results in Google Earth is icing on the cake.

I’ve used NetStumbler on windows and this works great but since my computers at home are now nearly Microsoft-free, I had to relearn the process on Linux. It breaks down into a few easy steps:

  1. Install the drivers for you wireless card. On my HP laptop with a Broadcom card, I followed the instructions on the ubuntu forums which worked great with one exception: the driver link on that page doesn’t have a valid md5 sum so you can download it from this url instead
  2. Install gpsd. This is the software that talks to your gps unit and is available in the ubuntu packages through apt. The one hitch is that I had to set up my Magellan GPS unit up for the correct baud rate and NMEA output. Once installed, I connected the GPS unit via a serial port, turned it on and ran gpsd /dev/ttyS0 to start the gpsd server.
  3. Install kismet, the wireless packet sniffer. The version in the ubuntu repository is not recent enough to support my Broadcom driver so I had to download the latest source and compile it with the standard configure, make, sudo make install . Then I had to edit the /usr/local/etc/kismet.conf to reflect my system configuration; I changed the suiduser, source and logtemplate variables. Once configured, you can start it with the command sudo kismet.
  4. Now drive/bike/walk around for a bit with your laptop and gps unit. When you’re done, shutdown kismet and you’ll have a bunch of fresh logfiles to work with.
  5. The main kismet log is an xml file containing all the info on the available wireless networks including their SSID, their encryption sheme, transfer rater and their geographic position via gpsd. I worked up a small python script, kismet2kml.py (based on a blog entry at jkx@Home), to parse the logfile into a KML file for use with Google Earth. It could certainly use some tweaking but it’s a start. To run it, give it the kismet logfile and pipe the output to a kml file:
    kismet2kml.py kismet-log-Jul-03-2006-1.xml > wardrive.kml
  6. Now fire up Google Earth (Linux version now available!) and load your KML file.



Also, as James Fee points out, posting your data as KML files means that the data can be integrated into a growing number of kml-ready apps including google maps (just upload the kml and point your browser to http://maps.google.com/maps?q=http://your.server/wardrive.kml).


Another neat application I’ve found for dealing with kismet logs is the kismet2gpx script for converting the kismet gps tracklog into gpx. Since most gps units have pretty tight limitations on the length of stored tracks, logging them to your laptop with kismet could be an effective way of creating detailed tracks on very long trips.Quote

--Kyle

 
Comments: Post a Comment

Links to this post:

Create a Link



<< Home


Subscription Options:
Add to Plusmo
Subscribe in FeedLounge
Subscribe in Rojo
Add to My AOL
Subscribe in podnova
Subscribe in Bloglines
Add to Bitty Browser
Add to netvibes
Subscribe in NewsGator Online
Add WardriveJOCO to Newsburst from CNET News.com

Subscribe to WardriveJOCO


Wi-Fi Technology Forum - Wi-Fi Wireless News, Directory and Forums
pkblogs.com
For all of you Johnson County residents that understand the fun in wardriving heres the blog for you. Whether its posting the newest wardrive results, security tips, or changing legal issues regarding Wi-Fi, it's posted here.


WardriveJOCO

ARCHIVES
July 2006 / August 2006 / July 2009 /





Add to Google

More feed options at bottom!






KML files for Map Software like Google Earth