Author Topic: Wellenreiter And Kismet On Cacko  (Read 12928 times)

Tomoe

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Wellenreiter And Kismet On Cacko
« on: November 02, 2005, 11:34:27 am »
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.
« Last Edit: November 02, 2005, 11:39:40 am by Tomoe »

GadgetGuy

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #1 on: November 02, 2005, 11:55:21 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.
Zaurus C-3100 from PriceJapan with OZ 3.5.4.1. Opie and GPE
Ambicom CF WL1100C Wifi Card and Symbol Wireless Networker CF Wifi Card
1 GB Sandisk Ultra II SD
PdAir leather case - Nintendo DS metal case
various smaller CF and SD cards
all kinds of USB cables and accessories
-------------------------------------------------------------
Previous computers: TI 99/4A, ZX81, C64, Amiga 500, Apple Powerbook 100
Previous PDA's: Palm 1000, Palm III, Palm V, Palm Vx, Audiovox Maestro Pocket PC, Psion 5mx
Current PDA: Palm Tungsten E2
Current favourite: Zaurus C3100 - my "micro laptop"

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Wellenreiter And Kismet On Cacko
« Reply #2 on: November 02, 2005, 02:15:35 pm »
Thanks for posting this, Kismet is just too hard (though it worked perfectly on my 5500) however Wellenreiter is fab.

Good result!

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Wellenreiter And Kismet On Cacko
« Reply #3 on: November 02, 2005, 03:12:23 pm »
I will update kismet package to reflect wireless interface name in 1.23
I will also include most recent kismet version

Tomoe

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Wellenreiter And Kismet On Cacko
« Reply #4 on: November 02, 2005, 11:32:37 pm »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101905\"][{POST_SNAPBACK}][/a][/div]
It doesn't work for me like that, tho.

Tomoe

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Wellenreiter And Kismet On Cacko
« Reply #5 on: November 02, 2005, 11:52:28 pm »
Quote
Thanks for posting this, Kismet is just too hard (though it worked perfectly on my 5500) however Wellenreiter is fab.

Good result!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101923\"][{POST_SNAPBACK}][/a][/div]
You mean you still didn't manage to get Kismet working? If yes, what's the problem?

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Wellenreiter And Kismet On Cacko
« Reply #6 on: November 03, 2005, 05:50:35 am »
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

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #7 on: November 03, 2005, 08:43:45 am »
Quote
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101905\"][{POST_SNAPBACK}][/a][/div]
It doesn't work for me like that, tho.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101991\"][{POST_SNAPBACK}][/a][/div]

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?
Zaurus C-3100 from PriceJapan with OZ 3.5.4.1. Opie and GPE
Ambicom CF WL1100C Wifi Card and Symbol Wireless Networker CF Wifi Card
1 GB Sandisk Ultra II SD
PdAir leather case - Nintendo DS metal case
various smaller CF and SD cards
all kinds of USB cables and accessories
-------------------------------------------------------------
Previous computers: TI 99/4A, ZX81, C64, Amiga 500, Apple Powerbook 100
Previous PDA's: Palm 1000, Palm III, Palm V, Palm Vx, Audiovox Maestro Pocket PC, Psion 5mx
Current PDA: Palm Tungsten E2
Current favourite: Zaurus C3100 - my "micro laptop"

drakecoldwinter

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #8 on: November 10, 2005, 07:16:32 am »
for me Wereiller work very well, but kismet says error opening terminal: vt100.
killing server...

and then stops... :'(
---------------------------------------------------------------------------
SL-C3100
Cacko lite 1.23
Lynksys Wifi card
---------------------------------------------------------------------------

Tomoe

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Wellenreiter And Kismet On Cacko
« Reply #9 on: November 10, 2005, 08:56:05 am »
Quote
for me Wereiller work very well, but kismet says error opening terminal: vt100.
killing server...

and then stops... :'(
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103107\"][{POST_SNAPBACK}][/a][/div]
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.
« Last Edit: November 10, 2005, 08:58:00 am by Tomoe »

Ragnorok

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #10 on: November 10, 2005, 12:58:41 pm »
Quote
...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...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101897\"][{POST_SNAPBACK}][/a][/div]
- 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?...
« Last Edit: November 10, 2005, 12:59:06 pm by Ragnorok »
| I shed a tear for the passing of Hiroshi; he served me well
| Zaurus zealot since Nov 2002, PDA user since Oct 1991
| Replaced Z with UMID BZ February 2010

Ragnorok

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #11 on: November 10, 2005, 01:31:34 pm »
Quote
...snip...
Now, open /opt/QtPalmtop/etc/kismet/kismet.conf with your favourite editor =)
...snip...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101897\"][{POST_SNAPBACK}][/a][/div]
- 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...
| I shed a tear for the passing of Hiroshi; he served me well
| Zaurus zealot since Nov 2002, PDA user since Oct 1991
| Replaced Z with UMID BZ February 2010

drakecoldwinter

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #12 on: November 10, 2005, 10:41:04 pm »
Kismet working Tomoe, I send you all my gratitudes
---------------------------------------------------------------------------
SL-C3100
Cacko lite 1.23
Lynksys Wifi card
---------------------------------------------------------------------------

drakecoldwinter

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Wellenreiter And Kismet On Cacko
« Reply #13 on: November 10, 2005, 11:03:48 pm »
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
---------------------------------------------------------------------------
SL-C3100
Cacko lite 1.23
Lynksys Wifi card
---------------------------------------------------------------------------

Tomoe

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Wellenreiter And Kismet On Cacko
« Reply #14 on: November 11, 2005, 12:11:52 pm »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103242\"][{POST_SNAPBACK}][/a][/div]
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.