Interesting find on GPSDrive with Kismet

From: rajat swarup (rajats@gmail.com)
Date: Wed Jul 18 2007 - 20:34:54 EDT


Hi Pen-Testers,
I was encountering a weird problem when using GPSDrive with kismet.
If I started gpsd, followed by Kismet, followed by GPSDrive I would
get an error :
Select () call: Bad file descriptor
Select () call: Bad file descriptor
Select () call: Bad file descriptor
Select () call: Bad file descriptor
Select () call: Bad file descriptor

I searched on different search engines for a solution but found no
help. Eventually doing the following resulted in remediation:
logged on to mysql server and on mysql prompt entered the command:
drop database geoinfo # Mind you this deletes the data.

Then I restarted GPSDrive as follows:
gpsdrive -p /dev/ttyUSB0

This resulted in a perfect mapping of the access points in GPSDrive!

I just wanted to post this so that others who are facing this error
don't figure it out lilke I did...i.e., by using trial and error!

HTH,

-- 
Rajat Swarup
http://rajatswarup.blogspot.com/
------------------------------------------------------------------------
This List Sponsored by: Cenzic
Swap Out your SPI or Watchfire app sec solution for
Cenzic's robust, accurate risk assessment and management
solution FREE - limited Time Offer
http://www.cenzic.com/c/wf-spi
------------------------------------------------------------------------


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:57:57 EDT