Installing Linux and wardriving applications on the Ipaq



Software/Hardware Overview

Computer Specifications

·        iPAQ h3975 soon to be Familiar Linux 0.8.2 and OPIE

·        Globalsat BT-338 – Connecting a Bluetooth GPS in Linux on the Ipaq 3975

·        Etrex Legend  – serial

·        Orinoco Gold

·        PCMCIA sleeve


 

Setting up the Software

 

 

Install Familiar

Follow this guide and you use Opie or GPE
Installing Familiar 

 

 

OPIE

  • QT Based
  • Fewer Apps installed
  • Better Package Manager
  • Doesn't like Network cards being constantly switched ethx keeps increasing
  • More refined interface
 

GPE

  • X Based
  • Bigger memory footprint
  • Better X-Console interface

 

 

KISMET

# wget http://www.kismetwireless.net/code/kismet-2005-07-R1-arm.tar.gz
2005-07-R1 - current build as of Aug 8, 2005 
#tar -xzvf kismet-2004-10-R1-arm.tar.gz
#cd kismet-2005-07-R1
#ipkg install kismet-2005-07-R1-arm.ipk

Edit your kismet.conf (located in \usr\local\etc)
Edit your kismet_ui.conf – For Opie set simpleborders=true

It seems that the current kernel module for this is broken. You can install older versions and get it working again by running this command:

For PXA-based machines (h39xx and later)

Setup the Orinoco Card

# ipkg -nodeps -force-overwrite install http://www.handhelds.org/feeds/2.4.19/orinoco-modules_2.4.19-rmk6-pxa1-hh37_ipaqpxa.ipk
If you get an error that the package cannot be found then use method below
 

Famililar V0.8.3 Prerelease Snapshots

# ipkg install http://familiar.handhelds.org/releases/v0.8.2/feed/wo
rld/orinoco-modules-2.4.19-rmk6-pxa1-hh37_0.13e-r3_h3900.ipk
Downloading http://familiar.handhelds.org/releases/v0.8.2/feed/world/orinoco-mod
ules-2.4.19-rmk6-pxa1-hh37_0.13e-r3_h3900.ipk
 

#ipkg install http://familiar.handhelds.org/releases/v0.8.2/feed/world/orinoco-modules-cs-2.4.19-rmk6-pxa1-hh37_0.13e-r3_h3900.ipk

BUGGY USE AT YOUR OWN RISK

This is because the 0.15RC2 drivers are loaded in the snapshots and the ipks have been moved to the World directory

 

GPSD

Use the Package manager to install gpsd

 

Disable console login through the Serial port

Edit /etc/innittab and comment out the last line

Running GPSD

# gpsd -f /dev/tts/0
 
 
edit /etc/init.d/gpsd
GPS DEV=”/dev/tts/0”

 

Getting the SD card to work

   
MMC/SD card doesn't get recognized on H39xx (not h5xxx)
Open a terminal and do 
 
Using package manager remove kernel-module-mmc-samsung-2.4.19-rmk6-pxa1-hh37
 
cd /etc/modutils/
delete the file mmc h5400
 
Create the file 
 
#echo "h3900_asic" > /etc/modutils/h3900_mmc
#echo "mmc_asic3" >> /etc/modutils/h3900_mmc
#modules-update
 
Reboot the ipaq with the SD inserted. It’s now loaded.
If you need to remove the SD card
#rmmod mmc_asic3
 
when you re-insert it
#modprobe mmc_asic3

 

 

Getting the terminal to work

You may need to install additional fonts that support the standard character set. I couldn't find one that worked in the standard font set. Instead of pipes and corners you'll see boxes and other letters of the extended character set.
Not pretty.

OPIE

Install ncurses
#ipkg install ncurses 
Install ncurses-terminfo 
#ipkg install ncurses-terminfo

 

Console Compatibility

open /usr/local/bin/kismet and insert the following two lines after "#!/bin/sh":

export TERMINFO=/etc/terminfo
export TERM=linux

 

 

MISC – Slimdown

You might want to look at the Familiar wiki on "slimdown" to trim the unneeded packages out. There's also a couple google hits for minimum install (removing unneeded)

With your Ipaq on the serial cradle
Fire up Hyperteminal, log into your Ipaq and paste the following command.
GPE

ipkg remove figment figment-locale-de glibc-localedata-de-de \
glibc-localedata-fr-fr gpe-timesheet gpe-today gpe-watch \
libopenobex-1.0-1 locale-base-de-de locale-base-fr-fr \
matchbox-themes-extra-industrial vlc-gpe-locale-de \
vlc-gpe-locale-fr gpe-go gpe-lights gpe-othello gsoko linphone-hh \
linphone-hh-locale-de linphone-hh-locale-fr xdemineur -force-depends