Author Topic: Sound In Kismet  (Read 8817 times)

mandjab

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Sound In Kismet
« on: March 15, 2006, 08:28:24 am »
Hello,

I just install kismet on my new SL-C3100, and when a new network is discover, i have no sound.
i remenber last year with my Sl c760, kismet have sound. Whats the problem?
however, I modified the conf file and activated the sound in.
But it doesn't work anymore. Any ideas?

Version of Kismet :
Kismet 2005-08-R1-2
Kismet-qt 2.0.0-3

Thank's
Zaurus SL-C 3100,  SL-C 760 Cacko 1.23, Buffalo Wifi, Buffalo Lan card,¨Planex GW-CF11X, 1Go SD card, 512 Mo SD card, 2 X EABL08, 1 CE RH1, 1 sharp Mic

http://myzauri.blogspot.com/

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #1 on: March 28, 2006, 01:25:18 am »
check your kismet.conf has "sound=false" and kismet_ui.conf has "sound=true". then check the latter has the right program for the sound player, and run it at the command line.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Sound In Kismet
« Reply #2 on: March 28, 2006, 02:24:22 am »
Might want to see if the sounds even exist.  I thought we had to copy them out of an older release.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #3 on: March 29, 2006, 02:24:47 am »
the version out of the box with cacko1.23 does have the sound files... hmmm, will get back to you.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Sound In Kismet
« Reply #4 on: March 29, 2006, 02:43:49 am »
the latest Kismet 2005-08-R1-2 didn't come with "play" and "sox" and the wav files. I don't know wether cacko includes the following in their package (hope they had).

Code: [Select]
Run the latest Kismet with sound

12) Unzip and untar the old kismet ipk to extract the playback binaries and wav files

mkdir temp
cp Location/kismet_3.0.1c-20031228_arm.ipk temp
cd temp

tar zxvf kismet_3.0.1c-20031228_arm.ipk
gunzip data.tar.gz
tar xvf data.tar

cp ./usr/local/bin/play /usr/local/bin
cp ./usr/local/bin/sox  /usr/local/bin
chmod 755 /usr/local/bin/play
chmod 755 /usr/local/bin/sox

prepare the directory (mkdir ***) /usr/local/share/kismet/wav
cp ./usr/local/share/kismet/wav/*.wav /usr/local/share/kismet/wav


Ref the how-to https://www.oesf.org/index.php?title=How_to...on_the_SL-6000L
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #5 on: April 09, 2006, 05:03:18 pm »
Quote
the version out of the box with cacko1.23 does have the sound files... hmmm, will get back to you.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120799\"][{POST_SNAPBACK}][/a][/div]

sorry for the delay, I was away on holiday. Yes, kismet as part of cacko1.23 feed DOES install the sound files BUT the kismet config file refers to the wrong place.

this is the magic command you have to do so kismet can find them. Start a console, use "su" command to become root and then enter

ln -s /home/QtPalmtop/share/kismet /usr/local/share/kismet

easy!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #6 on: April 09, 2006, 05:04:31 pm »
p.s. you can always run this command

find / -name "*.wav" -print | more

to find all the wav files on your zaurus.  that's how I found out where all the kismet sound files were
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

mandjab

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Sound In Kismet
« Reply #7 on: April 11, 2006, 10:55:01 am »
Ok thank's for your reply, i'm going to test it tonight.

I really prefer kismet With sound.  


Quote
p.s. you can always run this command

find / -name "*.wav" -print | more

to find all the wav files on your zaurus.  that's how I found out where all the kismet sound files were
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122421\"][{POST_SNAPBACK}][/a][/div]
Zaurus SL-C 3100,  SL-C 760 Cacko 1.23, Buffalo Wifi, Buffalo Lan card,¨Planex GW-CF11X, 1Go SD card, 512 Mo SD card, 2 X EABL08, 1 CE RH1, 1 sharp Mic

http://myzauri.blogspot.com/

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #8 on: April 15, 2006, 06:49:33 pm »
did it work?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #9 on: November 15, 2006, 01:16:51 pm »
I'm just trying to get kismet running on my "new" c3100 newly flashed to cacko1.23, it's been 8 months since I sold my 860, so I am like a newbie.

I thought I would post what I learned to do.

install kismet and ncurses package:
* ipkg install kismet
* ipkg install ncurses

put kismet conf files in easy to find place
* ln -s /opt/Qtopia/etc/kismet /etc/kismet

fix the location of the sound files
* ln -s /opt/Qtopia/share/kismet /usr/local/share/kismet

turn off gps and sound in the server, turn sound on in client
* vi /etc/kismet/kismet.conf and disable gps and sound
* vi /etc/kismet/kismet_ui.conf and enable sound, change the sound player from /usr/bin/play to /opt/Qtopia/bin/wavplay

now, it nearly runs, but the client doesn't come up. must have missed something, and it leaves the server running. kismet_client isn't executable by user zaurus, but if I do make it so, I get the following problem:
$ kismet_client
NOTICE:  Group file did not exist, it will be created.
Looking for startup info from localhost:2501.... found.
Connected to Kismet server 2005.08.R1 on localhost:2501
Reading AP manufacturer data and defaults from /usr/local/etc/ap_manuf
Reading client manufacturer data and defaults from /usr/local/etc/client_manuf
Error opening terminal: linux.

I have tried changing TERM to linux, vt100, xterm with no joy. I have tried too as user root. Hmm.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #10 on: November 16, 2006, 11:32:07 am »
hmmm. very odd, kismet runs fine from qtopia icon, it's just the command line that fails. very odd... but I do remember that the kismet shell wrapper for qtopia is a replacement for the command line script.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Sound In Kismet
« Reply #11 on: November 16, 2006, 10:34:46 pm »
Quote
Error opening terminal: linux.

I have tried changing TERM to linux, vt100, xterm with no joy. I have tried too as user root. Hmm.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146360\"][{POST_SNAPBACK}][/a][/div]
Did you export TERMINFO before export TERM
Code: [Select]
export TERMINFO=/usr/share/terminfo
export TERM=linux
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sound In Kismet
« Reply #12 on: November 20, 2006, 07:09:02 pm »
aha, that appeared to do the trick... I've now realised that the k.sh script provided for the icon in qtopia is a completely separate thing to the kismet script.

thanks!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.