Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mini HOW-TO: Prism3, Kismet and GPSDrive
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message

Joined: 20 Jan 2005
Posts: 16
Location: Bristol, UK

PostPosted: Thu Jan 20, 2005 10:30 am    Post subject: Mini HOW-TO: Prism3, Kismet and GPSDrive Reply with quote

I recently purchased a brand-new 802.11b card from and plugged it into my laptop. It didn't work. Nor did my USB GPS Dongle from EBay. so here's what I did to get them working again:

Step 1: the Serial to USB converter is b0rked in kernels 2.4.19 and upwards. you will need to upgrade to kernel 2.6 (Gentoo-dev-sources)
Don't forget to compile in the various modules for your system, the USB->Serial adapter is under :
Device Drivers -> USB Support -> USB Serial Converter Support

for my GPS Dongle I need to compile the pl2320 module. If you have not tackled the migration to a 2.6 kernel yet, you will find a good tutorial at . Don't forget to compile in wireless support.

Once you have upgraded to kernel 2.6, you must install some drivers for your card. I find that the HOSTAP drivers work best with This card (the linux-wlan-ng drivers didn't workj at all!) and as HOSTAP are being used as the base for the new wireless extenstions in the kernel, it seems like the best choice.

Step 2:
Ensure that you have pcmcia and pcmcis_cs in your MAKE flags

Step 3
 emerge -a hostap-driver hostap-utils wireless-tools

This should install pcmcia-cs, the hostap-drivers and the utilities needed to manage your wireless connection.

now test your connection:
minime liunx# /etc/init.d/pcmcia start

minime liunx# modprobe hostap_cs

If this is sucessfull, add the hostap_cs modules to /etc/modules.autoload.d/kernel-2.6

Step 4:

install Kismet

minime liunx# emerge -a kismet

edit your kismet configuration appropriately, making sure you change the source to:


This will enable the hostap drivers and put the card into monitor mode.

Oce Kismet is working sucessfully, it's time to move to the next bit:

Step 5:

Install GPSDrive.
GPSDrive version 2.09 is far more complete, however it is masked by keywords (replace x86 with the apporopriate one for your platform).

If you want MySQL support as well (recommended) along with Text to Speech, do the following BEFORE installing GPSDrive:
emerge -a mysql festival

Once this has completed, execute the following commands:

minime liunx# ACCEPT_KEYWORD="~x86" emerge -a gpsdrive

Follow the instructions in the ebuilds to configure MySQL and GPSDrive

Step 6:

Configure GPSd:

Plug in your USB Gps Dongle and findout where it lies on your system. Mine is at /dev/usb/tts/0 YMMV.

start gpsd with the following options:
minime liunx# gpsd -p /dev/usb/tts/0

Step 7:

Start Mysql and festival:


minime liunx# /etc/init.d/mysql start
minime liunx# /etc/init.d/festival start

if this works without any errors, fire up gpsdrive:

[code]minime liunx$ gpsdrive{/code]

GPSdrive Should greet you, and if Kismet is still running, detect it and announce it has been detected.

If you did not install festival, there should be a small Kismet logo in the bottom left of the screen.

Step 8:

Go wardriving.

Load the laptop plus the arials and gpsdongle into a car, makesure you've got a gps-fix and drive/walk/bus/train around. See what you pick up.

Please note that this post does not endorse breaking into com[puter systems illegally. the author uses his laptop purely for site surveys to determine the best use of channels on a large metropolitan wireless network.

Hope this helps everyone,

"Quis custodiet ipsos custodes?"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum