Socket CF driver, the Zaurus, and monitor mode

Ian Goldberg ian at cypherpunks.ca
Sat Jun 22 03:39:57 EST 2002


On Fri, Jun 21, 2002 at 12:41:44PM -0400, Pavel Roskin wrote:
> Hello!
> 
> Let's drop David Gibson from Cc: - he is busy working on the driver and he
> is not very interested in sniffing.  Feel free to move the discussion to
> wireless at lists.samba.org - that's the most appropriate list about all
> Prism2 cards, Orinoco driver and all kind of sniffers/monitors.

OK, Cc: the wireless list (which I guess I should subscribe to).

Here's the situation:

I've got a Sharp Zaurus (kernel 2.4.6 ARM), and a Socket Low Power
CF card.  I reconfigure my kernel to support wireless extensions
(level 11).  I compile spectrum24-0.3.3 from source.  This seems
to work OK for Managed and Ad-Hoc modes, with or without WEP.  Great.

But I'd like kismet to work, too.  :-)

So I patch spectrum24-0.3.3 with the orinoco-0.11b patch from
http://airsnort.shmoo.com/orinoco-0.11b-patch.diff and install that
version.  No dice; I can run "iwpriv monitor eth0 2 3", but I don't
see any packets.

--> Why?  Is the above diff only supposed to work on actual Orinoco
    cards, not any card served by the orinoco driver?  That would
    certainly explain it, of course.

So, ambitiously, I try something else:

- I patch my 2.4.6 kernel using these patches, in order:

http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless.v12.diff
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/iw_handlers.w13-5.diff
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/iw_handlers.w14-5.diff

  [I also turned on ipchains in the config, but I hope that doesn't
  affect this.]

- I build wireless-tools version 24.

- The Zaurus boots OK, and /proc/net/wireless has the extra (version 12
  at least) fields.

- I build and install spectrum24-0.3.3 (no patches).  Badness: now the
  spectrum_cs module hangs in the (initializing) state:

# lsmod
Module                  Size  Used by
spectrum_cs            75856   1  (initializing)
orinoco                33136   0  [spectrum_cs]
hermes                  4944   0  [spectrum_cs orinoco]
sa1100_bi              44720   0  (unused)
net_fd                 35568   1  [sa1100_bi]
usbdcore               20144   0  [sa1100_bi net_fd]
usbdmonitor             5920   0 
sharp_mmcsd_m          26576   1 
devinfo                 3120   0  (unused)

- I try replacing the {orinoco,hermes}.{c,h} files in the spectrum24
  distribution with what you get by patching a clean 0.11b with this:
  http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ori.11b.we14.mos.diff

  (The plan is to use the WE14 Scanning mechanism.) Also no go.  Any
  reference to eth0 sticks a process in D state.  (I think that was the
  problem.)


So?  Any clues what's going wrong here?  I'm not afraid to patch
kernels, etc., but I can't do a serious kernel upgrade, since there
are binary-only modules on the Zaurus that would break.

Thanks for any help you can provide.  kismet would be nice to get going,
but it's not vital, of course.

   - Ian




More information about the wireless mailing list