OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: nianderson on September 01, 2004, 07:09:27 pm

Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 01, 2004, 07:09:27 pm
can someone link me to a working kismet or wellenreiter package that will work on here? im on a trip and needing net access to check mail. help is greatly appriciated.

oh i have a linksys wfc12 card
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 04, 2004, 06:34:07 pm
you can find packages on my website at:

http://www.bryandeluca.com/feed (http://www.bryandeluca.com/feed)

There are threads on getting these packages working on Cacko, but they do work as I have this working on my Z.

Enjoy!
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 06, 2004, 01:01:19 am
happen to want to point me to how to get kismet from your feed to install? i get errors when trying to install kismet from your feed
Title: kismet c860 cacko 1.21 hotfixb
Post by: Ling on September 06, 2004, 08:21:08 am
Same here. Both say that they have dependencies and additional software must be installed. I think that someone suggested to maslosky that he include kismet in the next version of cacko. Sounds like a good idea to me.
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 06, 2004, 02:56:18 pm
Try installing libpcap.  You will need it for most sniffers.  Seeing as how that is the only package dependancy it should be a matter of configuring the software after that.

Hope this helps!
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 06, 2004, 03:06:45 pm
You might want to look at the Zaurus HOWTO section for how to get kismet working:

http://www.zaurususergroup.com/modules.php...met%20for%20use (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=The%20easy%20way%20to%20configure%20Kismet%20for%20use)
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 08, 2004, 12:45:42 pm
how do you install packages from your feed?

any package i try to install from your feed gives me an error
with  package manager i get ipkg says something went wrong. Sorry
Title: kismet c860 cacko 1.21 hotfixb
Post by: jesizmi on September 08, 2004, 02:15:08 pm
same for me.
And worse,  i had a running version 2.6?? of kismet which i deinstalled for the newer one.
The package refuses to be installed by ipkg, so i tried renaming to .tar.gz instead of .ipk, so  beeing able to unpack and place the files manually. Worked so far, but than kismet kept complaining about missing libstdc++-libc6.1-2.so.3. I had read somewhere, that most of the time it would work to just link it to
 libstdc++-libc6.2-2.so.3, but kismet still complained about the file missing. So i decided to roll back, but now even the older version won't install with identical behaviour.

Package manager says "something went wrong. Sorry"
ipkg on the command line seems to try to get something from somewhere.


>ipkg install kismet_3.0.1c-20031228_arm.ipk
filename - __.ipk

Downloading /__.ipk ...
/__.ipk: Invalid host name
ipkg_download: ERROR: Failed to retrieve /__.ipk, returning
ipkg_get_install: Perhaps you need to run.........

Maybe i just restore and keep on with kismet 2.6??

j.
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 08, 2004, 02:37:57 pm
can ya link me to what you found?
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 08, 2004, 02:57:28 pm
I have no problems with the packages from my feed.  I have uninstalled kismet, downloaded the kismet package from my site to my desktop, copied the file to an SD card, and then installed via ipkg or the graphical package tool.  Both ways work flawlessly.

Try downloading and installing in this order:

 libpcap0_0.7.2_arm.ipk
 kismet_3.0.1c-20031228_arm.ipk

That should work.  I set up this feed for all the Cacko people that are looking for packages that will work for their ROM, but I have not had a chance to test it.  So, installing directly from the feed at the moment may be hosed, but I have installed every one of these packages on my c860 and they do work.
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 08, 2004, 03:36:51 pm
You folks might want to look at this thread, which is where I got the kismet and Wellenreiter packages on my feed:

https://www.oesf.org/forums/inde...topic=2288&st=0 (https://www.oesf.org/forums/index.php?showtopic=2288&st=0)
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 08, 2004, 07:51:38 pm
i didnt have libstdc++-libc6.1-2.so.3. or libstdc++-libc6.2-2.so.3 i did the following http://pc5.2ch.net/test/read.cgi/mobile/1087607638/69-70n (http://pc5.2ch.net/test/read.cgi/mobile/1087607638/69-70n) to wget the file and link it.  now kismet  gives the following
Code: [Select]
Server options:  none
Client options:  none
Starting server...
Waiting for server to finish starting before startuing UI...
Suid priv-dropping disabled.  This may not be secure.
No enable sources specified, all sources will be enabled.
Source 0 (orinocosource): Using pcap to capture packets from eth0
Source 0 (orinocosource):  Attempting to enter monitor mode.
Enabling monitor mode for an orinoco card on eth0 channel 6
eth0      no private ioctls.

Source orinocosource: Created child capture process 15778
Enabling channel hopping.
Disabling channel splitting.
Allowing clients to fetch WEP keys.
Logging networks to Kismet-Sep-08-2004-1.network
Logging networks in CSV format to Kismet-Sep-08-2004-1.csv
Logging networks in XML format to Kismet-Sep-08-2004-1.xml
Logging cryptographically weak packets to Kismet-Sep-08-2004-1.weak
Logging cisco product information to Kismet-Sep-08-2004-1.cisco
Logging gps coordinates to Kismet-Sep-08-2004-1.gps
Logging data to Kismet-Sep-08-2004-1.dump
Writing data files to disk every 300 seconds.
Mangling encrypted and fuzzy data packets.
Reading AP manufacturer data and defaults from /usr/local/etc/ap_manuf
FATAL:  capture child 15778 packet buffer empty and flagged as diseased, exiting
Reading client manufacturer data and defaults from /usr/local/etc/client_manuf
Dump file format: wiretap (local code) dump
Crypt file format: airsnort (weak packet) dump
Kismet 3.0.1 (Kismet)
Logging data networks CSV XML weak cisco gps
GPSD cannot connect: Connection refused
Listening on port 2501.
Allowing connections from 127.0.0.1/255.255.255.255
Registering builtin client/server protocols...
Registering requested alerts...
Registering builtin timer events...
Enabling packet source 0 (orinocosource)...
Gathering packets...
Shutting down source 0 (orinocosource)...
Didn't detect any networks, unlinking network list.
Didn't detect any networks, unlinking CSV network list.
Didn't detect any networks, unlinking XML network list.
Didn't detect any Cisco Discovery Packets, unlinking cisco dump
Didn't capture any packets, unlinking dump file
Didn't see any weak encryption packets, unlinking weak file
Waiting for capture child 15778 to terminate...
Kismet exiting.
Starting UI...
FATAL:  Could not connect to localhost:2501.
Client exited, terminating...
Done.  Run kismet_unmonitor or eject and re-insert your card (or restart your
 pcmcia services) to return your card to normal operation.
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 09, 2004, 09:27:24 am
well i try to use the prism drivers by doing mv /etc/pcmcia/wlan-ng.conf /etc/pcmcia/wlan-ng.conf && mv /etc/pcmcia/.hermes.conf /etc/pcmcia/hermes.conf

now i cant even get a regular net connection.
Title: kismet c860 cacko 1.21 hotfixb
Post by: offroadgeek on September 09, 2004, 11:34:17 am
I just reflashed my 760 with the newest cacko rom, installed wellenreiter and it worked great.

You can get the packages from here:  http://www.vanille.de/feed/sharp/ (http://www.vanille.de/feed/sharp/)

Once you have the packages installed, just tap and hold on the wellenreiter icon and tick the "Execute with root privilege" option (the app needs to be run as root).  There are other ways of doing this, but this is quickest/easiest.  You'll still get a message at start up that says you are not running the app as root, when you actually are.  Just click yes to the message.

hth
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 09, 2004, 01:24:41 pm
I do not use the Host AP drivers with my WCF12 and here is what is working for me....

In your /etc/pcmcia/wlan-ng.conf you should have the default configuration for the WCF12:

card "Linksys WCF12 11Mbps 802.11b WLAN Card"
  version "Linksys", "Wireless CompactFlash Card"
  bind "prism2_cs"

You do not need /etc/pcmcia/hermes.conf so you can raname that back to /etc/pcmcia/.hermes.conf

Then remove your Wifi Card and restart pcmcia services as root:

/etc/rc.d/init.d/pcmcia restart

From a console as root edit your /usr/local/etc/kismet.conf file change the source line to read as follows:

source=prism2_legacy,eth0,prism2sources

Save your changes to the file.

Insert your pcmcia card.  It should be detected as normal.  Make sure that your card is not connected to any network before you proceed.

Launch the network configuration tool in the Settings tab:

  1.  Add a new network configuration by clicking the Add button
  2.  In the "Name:" field let's call this configuration 'Kismet'
  3.  Click on the Config tab.
  4.  Uncheck the "Non-Spec ESS-ID: "ANY"
  5.  In the 'ESS-ID field type 'any'
  6.  In the Network Type field select '802.11 Ad-Hoc'
  7.  In the Channel Field select '1'
  8.  Click on the TCP/IP Tab
  9.  Uncheck "Obtain TCP/IP Information Automatically"
  10. In the IP Address field type '1.1.1.1'
  11. In the Subnet Mask field  type '255.255.255.0'
  12. In the Gateway field type '1.1.1.0'
  13.  Click the OK button in the upper right corner.

Select the new Kismet configuration in the Network application and click "Connect".

Now from the console run kismet as root.  You should begin to sniff networks.  This same configuration works for me with wellenreiter.

Hope this helps!
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 09, 2004, 07:13:23 pm
ok so once i changed the source line in the kismet .conf file kismet is working. now for some reason wellenreiter dosnt want to work with that config. well sniff at least.  when i start it  it says you hcae started as non-root ect ... whn i start from cli as root it says Qt/Embedded data directory is not owned by user 0 Aborted. did you make any other changes to get wellenreiter to work?
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 09, 2004, 10:07:32 pm
Heh,

I guess that I mis-typed earlier.    I forgot that I wrote a little script to launch wellenreiter.  Basically it changes the bind line in /etc/pcmcia/wlan-ng.conf from:

bind "prism2_cs"

to

bind "orinoco_cs"

Then:

mv /etc/pcmcia/.hermes.conf /etc/pcmcia/hermes.conf

Restart pcmcia card services and insert your card.  Then activate that bogus "Kismet" network configuration from my last post.  Run wellenreiter as root and click on Sniffer-->Configure.  Set the interface name: to 'eth0' and the driver to 'orinoco'.

YMMV
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 09, 2004, 10:41:29 pm
so does your script activate the bogus network connection too? whatrs the commandline for that or ya could post yer script
Title: kismet c860 cacko 1.21 hotfixb
Post by: Ling on September 10, 2004, 07:46:20 am
Quote
Heh,

I guess that I mis-typed earlier.    I forgot that I wrote a little script to launch wellenreiter.  Basically it changes the bind line in /etc/pcmcia/wlan-ng.conf from:

bind "prism2_cs"

to

bind "orinoco_cs"

Then:

mv /etc/pcmcia/.hermes.conf /etc/pcmcia/hermes.conf

Restart pcmcia card services and insert your card.  Then activate that bogus "Kismet" network configuration from my last post.  Run wellenreiter as root and click on Sniffer-->Configure.  Set the interface name: to 'eth0' and the driver to 'orinoco'.

YMMV
I installed libtcap and then tried to install Kismet and Wellenreiter. Both still complained about dependencies. I did get an icon for Wellenreiter, but it didn't seem to do anything. The howtos don't help (a dope like me) much.
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 11, 2004, 05:04:49 am
Here is my pooey script...  I'm using 'cardctl scheme <scheme_name>' to activate the necessary scheme.  You will need to make a few changes to get this script to work on your system:

*  Create /etc/pcmcia/wlan-ng.conf.orinoco with the line bind line for the orinoco drivers.

*  Create /etc/pcmcia/wlan-ng.conf.prism2 with the default prism2 bind line.

*  Identify the scheme name for your dummy network configuration (should be qpewlan#) and change the SNIFFING_CONFIG= variable at the top of wellenreiter.sh to this scheme name.

After that you can run 'wellenreiter.sh start' as root to start sniffing away.

I'm pretty sure that all these gyrations are only for the WCF12 cards.

Have fun...
Title: kismet c860 cacko 1.21 hotfixb
Post by: stupkid on September 11, 2004, 02:12:12 pm
The Package index on my feed has been un-f'd and tested by me.  Anyone else care to verify that it works?

Thanks!
Title: kismet c860 cacko 1.21 hotfixb
Post by: nianderson on September 12, 2004, 01:54:36 am
any idea on the running as non root limited privlidges?  or the Qt/Embedded not owned by 0?