OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: davidspitzer on September 24, 2004, 05:59:23 pm

Title: kismet Almost there
Post by: davidspitzer on September 24, 2004, 05:59:23 pm
followed the faqs using kathrin and a ambicom 1100 card -- works great conecting to the internet. Here is my config in kismet and i get a unkown capture source type Prism 2 -- kismet site says the ambicom is a prism 2  -- anyone get this to work and how?

kismet.conf    -----[----] 18 L:[  7+15  22/329] *(738 /12952b)= 0  48 0x30--v>+version=2004.03.devel.a

# Name of server (Purely for organiational purposes)
servername=Kismet

# User to setid to (should be your normal user)
suiduser=kismetuser

# Sources are defined as:
# source=cardtype,interface,name[,initialchannel]
# Card types and required drivers are listed in the README.
# The initial channel is optional, if hopping is not enabled it can be used
# to set the channel the interface listens on.
# source=cisco,eth0,ciscosource
# Other common source configs:
source=prism2,wlan0,prism2source
# source=hostap,wlan1,hostapsource
# source=prism2_avs,wlan0,newprism2source
# source=orinoco,eth0,orinocosource
# An example source line with an initial channel:
# source=orinoco,eth0,silver,11

# Comma-separated list of sources to enable.  This is only needed if you defined
         Save   3Mark   4Replac          Move   7Search
Title: kismet Almost there
Post by: Laze on September 25, 2004, 02:54:42 am
post your cardctl ident and ifconfig - basically make sure the card is showing up as wlan0 and then try all the different types :-)
Title: kismet Almost there
Post by: davidspitzer on September 28, 2004, 11:18:40 am
it is showing up as eth0 so i thried all the cards and i still get the same error anyone using an ambicom card with kismet and if so can you post your config


thanks
Title: kismet Almost there
Post by: Laze on September 28, 2004, 02:45:28 pm
What the exact error message you get from kismet?
Title: kismet Almost there
Post by: altais on September 28, 2004, 04:56:06 pm
try source=hostap,wlan0,prism2source. It might work I am a newbie myself.  
Title: kismet Almost there
Post by: Lexx on September 28, 2004, 10:13:26 pm
Quote
followed the faqs using kathrin and a ambicom 1100 card -- works great conecting to the internet. Here is my config in kismet and i get a unkown capture source type Prism 2 -- kismet site says the ambicom is a prism 2  -- anyone get this to work and how?
I've attached my kismet.conf file. I use an Ambicom 1100 (see sig)

Also, did you copy the libstdc(???) file per the how to?

Hope this helps.
Title: kismet Almost there
Post by: kic on September 29, 2004, 11:01:43 am
I have the same card (Ambicom), hostap,wlan0,hostapsource is what I used. Worked fine for me.
Title: kismet Almost there
Post by: davidspitzer on September 29, 2004, 11:51:31 am
i could not finf the how to about the file  libstdc move  -- do you have a link to the how to?


thanks
Title: kismet Almost there
Post by: davidspitzer on September 29, 2004, 12:57:35 pm
now it sees the card but says the resource is busy with an ioctl error
Title: kismet Almost there
Post by: ericwerk on September 29, 2004, 05:07:44 pm
I have the same issue with kismet saying the card is busy, I just try a couple of times untill I am lucky
Title: kismet Almost there
Post by: rgrep on October 04, 2004, 03:22:30 am
Quote
now it sees the card but says the resource is busy with an ioctl error
I had this problem too.  It never happened when I started Kismet within range of my home AP, but if I was out somewhere it would refuse to start.  If I kept trying to run Kismet then eventually it would start.  The exact error message was:

Code: [Select]
FATAL: channel get ioctl failed 16:Device or resource busyI assume it only happens when you're outside the range of an AP because the card is busy waiting for something to associate with.

I've fixed the problem now by switching drivers from orinoco to hostap.  I have a Linksys WCF12 which is Prism 2 (or Prism 3?) and with the default settings in pdaXrom it uses these modules:

Code: [Select]
# lsmod
Module                  Size  Used by    Tainted: P
orinoco_cs              4472   1
orinoco                35028   0  [orinoco_cs]
hermes                  4592   0  [orinoco_cs orinoco]

...
I'm not sure why the pdaXrom developers decided to only enable the orinoco driver (comments guys?) but it appears that's the only one it will ever use.  For Prism based cards there's no need to use orinoco, especially since hostap is apparently better (and I'm hoping it will let me set my Zaurus up as an Access Point).  The file you need to edit to switch drivers is /etc/pcmcia/hermes.conf.  I added these lines near the top of the file:

Code: [Select]
device "hostap_cs"
   class "hermes"
   module "hostap", "hostap_cs"
Then find the definition for your card (further down in that file) and change the "orinoco_cs" reference to "hostap_cs".  The definition for my card nows looks like this:

Code: [Select]
card "Linksys CompactFlash Wireless Card"
   version "Linksys", "Wireless CompactFlash Card"
   bind "hostap_cs"
(If you're not sure which entry is for your card, use 'cardctl ident' and search in /etc/pcmcia/hermes.conf for the "product info" it reports.

After editing /etc/pcmcia/hermes.conf, eject your card and restart the PCMCIA services:

Code: [Select]
cardctl eject 0

/etc/rc.d/init.d/pcmcia restart
You can test if it's worked by running lsmod again:

Code: [Select]
# lsmod
Module                  Size  Used by    Tainted: P
hostap_cs              45896   1
hostap                 85568   0  [hostap_cs]
...
You'll now have to modify your kismet.conf and change the source line.  I use:

Code: [Select]
source=hostap,wlan0,hostapsource
(NB: Don't bother trying to use the prism2 source examples in kismet.conf, they aren't valid cardtype entries any more - see http://www.kismetwireless.net/documentation.shtml (http://www.kismetwireless.net/documentation.shtml) for the full list)
Title: kismet Almost there
Post by: Lexx on October 04, 2004, 09:00:22 pm
Quote
i could not finf the how to about the file  libstdc move  -- do you have a link to the how to?


thanks
    I do appologise for the delay. I must have missed an email.  In either case, here is the link.    

Hope this helps.

http://www.zaurususergroup.com/modules.php...0the%20SL-6000L (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=How%20to%20run%20Kismet%20on%20the%20SL-6000L)
Title: kismet Almost there
Post by: dlichterman on September 21, 2005, 11:51:34 pm
im having trouble with libstdc++....says it still can't find it so then the server fails----chmod help maybe? created the symlink....what chmod does it need

***************
error while loading shared libraries: lib_____:no such file blah
killing server......
**************

SL-5500 followed the instructions