Help - Search - Members - Calendar
Full Version: Wellenreiter And Kismet On Cacko
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
Tomoe
This is a small instructional I slapped up couple minutes ago for TsingTao when he asked me how did I get these two running; pardon the grammar mistakes and such, English is not my native language and it's rather late here.

-----

About Wellenreiter, I installed the files from the alternative cacko feed ( http://web.mol.ru/~zaurus/feed/ - libpcap, libopie1, libopie2, wellenreiter - install them in this order), at first I got some grays too because it didn't work, I clicked on Autodetect in settings, then checked if the driver name is correct, and there it was, hostap, and everything should work, but it didn't.
The thing was, after 20-some tries without any success I noticed the 'Name' selection box in Wellenreiter configuration, it defaults to wifi0 and it should be wlan0, I changed that and voila! it works. So, first you click on Autodetect, and then switch from wifi0 to wlan0 in Interface box.

About kismet, it is a bit more work. First, make sure you installed libpcap, kismet and kismet-qt from the cacko feed, then:
In the network app create a new service, call it anything you wish, on the config tab untick the 'Non-Spec ESS-ID' and enter 'any' as SSID. Switch the network type from Infrastructure to Ad-hoc and on the TCP/IP tab untick the box for automatic address assignment, then enter this: IP – 10.1.0.2 Mask - 255.0.0.0 Gateway 10.1.0.1
Also, untick the 'Autodetect nameservers' on the DNS tab and enter 10.1.0.1 in the first box.
Now, open /opt/QtPalmtop/etc/kismet/kismet.conf with your favourite editor =) and then find the 'source=blablabla' line (almost on the beginning). Change it to match your card (in my case it looks like this:
source=hostap,wlan0,hostap
first one is the driver name (write it according to your card or according to what Wellenreiter had autodetected) and the second one is the interface name, be sure to change the interface name to wlan0 since the default is 'eth0', not much sense in leaving that right? The third part is name and you can put anything.
Now, scroll down, somewhere at 1/3 of the file there's a line 'gps=true', comment it down (put # in front of it). Save the file.

Connect to the network (dummy network) we configured on the beginning, then open a terminal (don't run the icon for kismet, fails for me too) and enter 'sudo kismet'. It should work. If it acts weird, try entering these two lines:
cardctl eject
cardctl insert
before starting up the network and running 'sudo kismet' (try the same with Wellenreiter if it fails too).


BTW, anyone knows how to get Kismet to display colors, AND the full lines (frames)? When I put TERM=vt100, color is not supported, when I put TERM=linux, lines do now show up correctly, and I'm not too sure if there's color, either.
GadgetGuy
I just installed kismet (with the required libraries), and it worked after changing the config file ( source=hostap,wlan0,Wireless).

There was no need to create any network profile, and there is no need to connect to any network.

I just launch kismet and it works.
rebski
Thanks for posting this, Kismet is just too hard (though it worked perfectly on my 5500) however Wellenreiter is fab.

Good result!
maslovsky
I will update kismet package to reflect wireless interface name in 1.23
I will also include most recent kismet version
Tomoe
QUOTE(GadgetGuy @ Nov 2 2005, 08:55 AM)
I just installed kismet (with the required libraries), and it worked after changing the config file ( source=hostap,wlan0,Wireless).

There was no need to create any network profile, and there is no need to connect to any network.

I just launch kismet and it works.
*

It doesn't work for me like that, tho.
Tomoe
QUOTE(rebski @ Nov 2 2005, 11:15 AM)
Thanks for posting this, Kismet is just too hard (though it worked perfectly on my 5500) however Wellenreiter is fab.

Good result!
*

You mean you still didn't manage to get Kismet working? If yes, what's the problem?
rebski
No, still not working. It also seemed to require the installation of libstdc++2.10-glibc2.2_1-2.95.4-16_arm.ipk though.

Once that was installed the ‘sudo kismet’ command on Terminal then came to the end of its processes but with “Can’t start server”.

I shall wait now for Maslovsky to work his magic.

Your advice on Wellenreiter is a total success and there could well be something that I am doing wrong with Kismet..

Just a curious footnote, my Symbol card detects 2 local networks but the Linksys finds 3. Why that should be, I wonder? If there was to be any discrepancy in performance I would have assumed the Symbol to be the superior card.
GadgetGuy
QUOTE(Tomoe @ Nov 2 2005, 11:32 PM)
QUOTE(GadgetGuy @ Nov 2 2005, 08:55 AM)
I just installed kismet (with the required libraries), and it worked after changing the config file ( source=hostap,wlan0,Wireless).

There was no need to create any network profile, and there is no need to connect to any network.

I just launch kismet and it works.
*

It doesn't work for me like that, tho.
*



I have tried this with two cards: an Ambicom and a Symbol card - with my C3100.

In both cases it worked fine. What wifi card do you use? Which Z?
drakecoldwinter
for me Wereiller work very well, but kismet says error opening terminal: vt100.
killing server...

and then stops... :'(
Tomoe
QUOTE(drakecoldwinter @ Nov 10 2005, 04:16 AM)
for me Wereiller work very well, but kismet says error opening terminal: vt100.
killing server...

and then stops... :'(
*

Tomoe to the rescue!

Actually, I was dealing with this (among others) problem for the last half an hour, just finished troubleshooting.
Try entering these commands in shell:

sudo kismet_server

(now open a second shell tab and enter this there:)

export TERMINFO=/usr/share/terminfo
kismet_client

Let me know if it works this way.
Ragnorok
QUOTE(Tomoe @ Nov 2 2005, 04:34 PM)
...snip...
About Wellenreiter, I installed the files from the alternative cacko feed ( http://web.mol.ru/~zaurus/feed/ - libpcap, libopie1, libopie2, wellenreiter - install them in this order), at first I got some grays too because it didn't work, I clicked on Autodetect in settings, then checked if the driver name is correct, and there it was, hostap, and everything should work, but it didn't.
The thing was, after 20-some tries without any success I noticed the 'Name' selection box in Wellenreiter configuration, it defaults to wifi0 and it should be wlan0, I changed that and voila! it works. So, first you click on Autodetect, and then switch from wifi0 to wlan0 in Interface box.
...snip...
*

- I did this ... the lastest on the Cacko feed has wlan0 already. (grin) After autodetect I had to shut down and relaunch Wellenreiter, but then it scans just fine as you please.
- But it never finds anything. There are two networks visible from my house, and Kismet finds them both. Wellenreiter just scans and scans and comes up with nothing. Ideas?...
Ragnorok
QUOTE(Tomoe @ Nov 2 2005, 04:34 PM)
...snip...
Now, open /opt/QtPalmtop/etc/kismet/kismet.conf with your favourite editor =)
...snip...
*

- I installed Kismet from the v1.23 feed last night, and it looks for the kismet.conf file at /usr/local/etc/kismet.conf, for some reason. Don't recall it doing that in the past, but a soft link fixes it straight away. Gotta love Linux! (wolfish grin)
- This version has handy enablehost settings for hostap and orinico already. Nice! But it won't work with my Symbol card unless I leave hostap_source in force. Says "FATAL: channel get ioctl failed 19:no such device" if I enable orinoco_14. Weird.
- Wifi never finishes connecting with the recommended setup. The little lightning bolt is on the connection applet, and it just flashes balefully at me. The card looks dead ... no blinky lights or anything. Eject and reseat. Ding!
- Now it says "FATAL: Failed to set Channel 6 110:Connection timed out". Additionally, my WiFi link says "No Connection detected." and it disconnected me.
- If I eject and reseat the card, then change back to orinono_source, I get "FATAL: Could not find 'monitor' private ioctl ... <blah><blah>" followed by "No Connection detected" and a disconnect. Looks like I need to check a lib ... though I've never had this particular problem when installing Kismet from the Cacko feed before. (shrug)

- I've always had a ton of trouble getting Kismet to work, but once it works, it's a very nice tool. Wellenreither has always been just the opposite ... it's very simple to configure, but it rarely finds anything. (bemused grin)

- Just some ramblings from the peanut gallery on this cloudy afternoon...
drakecoldwinter
Kismet working Tomoe, I send you all my gratitudes biggrin.gif
drakecoldwinter
on a side note, now that we have wereiller and kismet working how about a link to step by step cracking tutorial ?
I understand the theory, I use kismet and were to find networks and get their MAC adresses, computers connected, etc, then I use aircrack tools to provoke very high wifi trafic and force the AP to send identification keys to his clients, then I grab as much of those packets as I can and then I try to figure out the WEP key out of those packets. Then, the theory is very okay, but then I know nothing of how to use airodump, aireplay and I don't know what else... I saw that wereill can dump those packets, but then I played around and my zaurus got a full memory trouble... :'( I guess I will need to do a big ram swapfile for wereiller and kismet... anyway, the point is a link to a tutorial would be fine. Also I understand that you are getting your hands full with zdict, kismet, wereiller kioku dojo (I hope you port this one, it gives a japanese message error, and my japanese is low level) anyway, you don't have the time to write tutorials with is very understandable, so a link would be nice. Also it would be nice a tutorial section on the forums, to put all tutorials and links to tutorials together in the same place.

In the end thanks a lot for sharing the knowledge you posses, without you we would not even have kismet and wereiller and zdict and more wink.gif
Tomoe
QUOTE(drakecoldwinter @ Nov 10 2005, 08:03 PM)
In the end thanks a lot for sharing the knowledge you posses, without you we would not even have kismet and wereiller and zdict and more wink.gif
*

I don't possess any factual knowledge, I'm just a stuborn mule who doesn't give up and is good at debugging from all the years of Commodore and IBM PC fixing. Praises should go to people who invest a lot of their time for the benefit of others, like maslovsky and sash.
maslovsky
QUOTE(Ragnorok @ Nov 10 2005, 08:58 PM)
- But it never finds anything.  There are two networks visible from my house, and Kismet finds them both.  Wellenreiter just scans and scans and comes up with nothing.  Ideas?...
*


I found out that if you use Socket/Symbol card and you use a dummy ad-hoc network connection, then this card will get stuck to the channel you've specified! Wellenreiter simply cannot switch channels. This seems to be a bug in orinoco dirivers.

The workaround is instead of connecting to a dummy ad-hoc network type the following commands before starting wellenreiter:

cardctl scheme qpewlan0; cardctl reset;

This will keep the card "awaken" and will not lock it to any particular channel. It's also suggested that the first wireless connectino you create with Network Setup is using managed mode, not ad-hoc.
rebski
Ragnorok

“..Kismet.. looks for the kismet.conf file at /usr/local/etc/kismet.conf” how did you fix that please?

Sorry I don’t know what a soft link is.
stormer
Try this link for a quick tutorial on what to do when you get Kismet up and running

http://www.tomsnetworking.com/Sections-article118.php

there is another article on that site about cracking WEP, that follows a demomstration given by the FBI using forced disassociations and replaying authentication requests to generate enough of a sample to give aircrack something to work with.

http://www.tomsnetworking.com/Sections-article111-page1.php

The following article gives a good bit of info on WEP and is a good source of links to other tools and their usage.

http://securityfocus.com/infocus/1814

If you want to dabble further into this world then the following is a fantastic site by an older Finish gentleman very much targeted at those of us who tend to ask "Why", just don't visit it using M$ IE !

http://searchlores.org/
GadgetGuy
QUOTE(Ragnorok @ Nov 10 2005, 01:31 PM)
QUOTE(Tomoe @ Nov 2 2005, 04:34 PM)
...snip...
Now, open /opt/QtPalmtop/etc/kismet/kismet.conf with your favourite editor =)
...snip...
*

- I installed Kismet from the v1.23 feed last night, and it looks for the kismet.conf file at /usr/local/etc/kismet.conf, for some reason. Don't recall it doing that in the past, but a soft link fixes it straight away. Gotta love Linux! (wolfish grin)
- This version has handy enablehost settings for hostap and orinico already. Nice! But it won't work with my Symbol card unless I leave hostap_source in force. Says "FATAL: channel get ioctl failed 19:no such device" if I enable orinoco_14. Weird.
- Wifi never finishes connecting with the recommended setup. The little lightning bolt is on the connection applet, and it just flashes balefully at me. The card looks dead ... no blinky lights or anything. Eject and reseat. Ding!
- Now it says "FATAL: Failed to set Channel 6 110:Connection timed out". Additionally, my WiFi link says "No Connection detected." and it disconnected me.
- If I eject and reseat the card, then change back to orinono_source, I get "FATAL: Could not find 'monitor' private ioctl ... <blah><blah>" followed by "No Connection detected" and a disconnect. Looks like I need to check a lib ... though I've never had this particular problem when installing Kismet from the Cacko feed before. (shrug)

- I've always had a ton of trouble getting Kismet to work, but once it works, it's a very nice tool. Wellenreither has always been just the opposite ... it's very simple to configure, but it rarely finds anything. (bemused grin)

- Just some ramblings from the peanut gallery on this cloudy afternoon...
*



Ragnorok, while my Kismet connection was totally automatic with an earlier version of kismet, and a beta cacko, ( plug and play ) - I experience now the exact same symptoms you describe. ( In the past I used the hostap driver with my symbol card, and no "fake" network and it just worked. I installed it, launched kismet and all was good )

Have you found any solutions? I have tried all the advice in this thread - and no success with my Symbol card. ( Wellenreiter works, and my Ambicom card also works, when following tomoe's advice re. VT-100 terminal. But I would like to use my Symbol card...)
Kerensa
I'll add my two cents. I have a C3000 with the Cacko beta. Installed libpcap, libopie1, libopie2, and wellenreiter from the cacko feed, but when I ran from terminal the app wanted the older version of libpcap (0.7.2). Found this version and installed it. Tried this for a bit with different cardctl commands before running wellenreiter, no luck. But it was at least running now.

What got the scan up and going is running wellenreiter from the terminal and AFTER it was going connect my card to the wireless ad-Hoc described http://www.users.on.net/~hluc/myZaurus/cus...ml#wellenreiter

Any ideas on a cleaner method?
gsgmx
QUOTE(Tomoe @ Nov 10 2005, 03:56 PM)
QUOTE(drakecoldwinter @ Nov 10 2005, 04:16 AM)
for me Wereiller work very well, but kismet says error opening terminal: vt100.
killing server...

and then stops... :'(
*

Tomoe to the rescue!

Actually, I was dealing with this (among others) problem for the last half an hour, just finished troubleshooting.
Try entering these commands in shell:

sudo kismet_server

(now open a second shell tab and enter this there:)

export TERMINFO=/usr/share/terminfo
kismet_client

Let me know if it works this way.
*



Hi Tomoe,

yeah that helped here too!
and with an additional

export TERM=screen

before your export TERMINFO gives me kismet with colors. smile.gif smile.gif

i needed also the link for kismet.conf Ragnorok wrote about.

@rebski:
ls -s /opt/QtPalmtop/etc/kismet/kismet.conf /usr/local/etc/kismet.conf

also had to create a dir /var/log/kismet

Thats quick and dirty to get it working here, will try to optimize that setup, probably the k.sh startup script could be made functional by inserting these exports there.
- if i find time to do and test.

George
maslovsky
Great, I will update kiemet package in the feed!

QUOTE(gsgmx @ Nov 25 2005, 09:56 PM)
Hi Tomoe,

yeah that helped here too!
and with an additional

export TERM=screen

before your export TERMINFO gives me kismet with colors.  smile.gif  smile.gif

i needed also the link for kismet.conf Ragnorok wrote about.

@rebski:
ls -s /opt/QtPalmtop/etc/kismet/kismet.conf /usr/local/etc/kismet.conf

also had to create a dir /var/log/kismet

Thats quick and dirty to get it working here, will try to optimize that setup, probably the k.sh startup script could be made functional by inserting these exports there.
- if i find time to do and test.

George
*
dominate
I was having similar trouble to others in this thread.... i'm on cacko 1.23 on a c1000.

I noticed a couple additional things:
- ioctl errors and it sorta working when wellineter running seems to be due to dhcpd running. Killing it (as root) makes them go away for me.
- the permissions on kismet_client were 744, while the other kismet bins were 755. This made kismet.sh not be able to start the client and fail.

hope that helps some!
ken
datajerk
Kismet is only producing .dump files, the rest (.csv, etc...) are empty. Is this a bug or a config setting? The older kismit I used with older Cacko did not have this problem.

Thanks.
datajerk
QUOTE(datajerk @ Dec 8 2005, 10:36 AM)
Kismet is only producing .dump files, the rest (.csv, etc...) are empty.  Is this a bug or a config setting?  The older kismit I used with older Cacko did not have this problem.

Thanks.
*

Nevermind. The writeinterval was set to 300, and I was not waiting long enough.
loc4me
can anyone tell me the difference between Kismet and Wellenreiter? Is one better than the other at some tast? Thanks.
cmonex
love this thread. helped me a lot, got wellenreiter up and running after four earlier unsuccessful attempts!!!!

trick was: uninstalling the version of wellenreiter i had and getting the one recommended by thread starter. then su - and then wellenreiter (from console). got some errors in the console but it works fine after setting wlan0! laugh.gif

(order of installing the libs doesn't matter? i installed the wrong version wellenreiter first then the three libs, in a wrong order again. then uninstalled only wellenreiter itself... all this after a rom reflash.. cacko 1.23 btw)
BarryW
Hey guys, got kismet to show a color screen! Borrowed an idea from over in the sl-6000 area. Made a script to start kismet. Called it oddly enough startkismet..

CODE
#!/bin/sh

export TERMINFO=/usr/share/terminfo
export TERM=screen


kismet


Add that to /usr/local/bin/ chmod it 777 then at a prompt type startkismet. Ta da! Now to get my gps working.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.