V210 Linux Advanced Usage Notes

From ASULUG AirPanel Wiki

Revision as of 22:35, 23 November 2009 by G4linux (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

V210 Linux Advanced Usage Notes

V210_linux_ubuntu

Contents

Using Kismet notes

I only know about p54pci and kismet - likely same issues with hostap card. Installed is the older version of Kismet 2008.05.R1 not the latest.

http://www.kismetwireless.net/

System changes for Kismet (p54pci)

  • If never connected to a wireless network - then kismet will fail something to do with channels.
One quick easy method is to use the existing reloadp54drivers.sh before a kismet session, but needs editing.
Edit the /usr/bin/reloadp54drivers.sh and add the following line after modprobe p54pci:

iwconfig wlan0 channel 6

Contents of a modified /usr/bin/reloadp54drivers.sh

#!/bin/sh

/usr/bin/dbus-send --system --dest=org.freedesktop.NetworkManager\
   --type=method_call /org/freedesktop/NetworkManager\
   org.freedesktop.NetworkManager.sleep
sleep 5
rmmod p54pci p54common mac80211 cfg80211
sleep 1
modprobe p54pci
# hack to allow kismet to use with out ever being connected to wlan0
iwconfig wlan0 channel 6
sleep 10
# reinitialize network manager
/usr/bin/dbus-send --system --dest=org.freedesktop.NetworkManager\
   --type=method_call /org/freedesktop/NetworkManager\
   org.freedesktop.NetworkManager.wake
  • Sound doesn't work - need to sudo apt-get install sox.
sudo apt-get install sox
  • Ok... Sound now works but is entirely too loud.

Don't try to modify the soundopts parm in /etc/kismet/kismet_ui.conf. DOESN'T Work. The reason is the soundopts is taken as part of the EXE which tries to run "/usr/bin/play -v .2" as the exe which "play -v .2" is not found. Instead - Create a /usr/bin/playv.2 that contains the following lines:

#!/bin/sh

/usr/bin/play -v .2 $*

sudo chmod 755 /usr/bin/playv.2 Edit the /etc/kismet/kismet_ui.conf and change the soundplay line to contain:

soundplay=/usr/bin/playv.2

Now the sounds are pleasant.

Running Kismet (p54pci)

  • Right click on NM-Applet and Disable wireless. Keeps NM from bothering you.
  • Reload p54drivers - that insures channel will be set if never connected to network.

menu->System Tools->02-Reload p54pci drivers (wait about 15 seconds)

  • pop up keyboard
  • open terminal session and maximize.
  • sudo kismet -n (unless you want logging dumps)

After running Kismet - returning to wireless network

  • When finished with Kismet (Shift Q).
  • Reload p54drivers - required so wireless network is usable.

menu->System Tools->02-Reload p54pci drivers (wait about 15 seconds).

  • Right click on NM-Applet and Enable wireless.
  • reconnect to your wireless if available.
Personal tools