Hi!

I'm having some trouble trying to use kismet.

I'm trying to use kismet on a zaurus with an Ambicom WL54-CF wireless
card (malo(4)).

Does anyone running -current has kismet working with malo(4)?


Data from the system/experiences:


-> Here is the dmesg:

OpenBSD 4.4-beta (GENERIC) #232: Wed Jul  2 12:31:55 MDT 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/zaurus/compile/GENERIC
real mem  = 67108864 (64MB)
avail mem = 56643584 (54MB)
mainbus0 at root
cpu0 at mainbus0: PXA27x step C-5 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache
pxaip0 at mainbus0: CPU clock = 416.000 MHz
pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller
pxadmac0 at pxaip0 addr 0x40000000 intr 25: DMA Controller
pxaost0 at pxaip0 addr 0x40a00000
com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo
com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo
com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR)
pxaudc0 at pxaip0: USB Device Controller
usbf0 at pxaudc0: USB revision 1.1
cdcef0 at usbf0: usbf_open_pipe failed
ohci0 at pxaip0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "PXA27x OHCI root hub" rev 1.00/1.00 addr 1
lcd0 at pxaip0
wsdisplay0 at lcd0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1 added (std, vt100 emulation)
zkbd0 at pxaip0
wskbd0 at zkbd0: console keyboard, using wsdisplay0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
pxammc0 at pxaip0: MMC/SD/SDIO controller
sdmmc0 at pxammc0
zssp0 at pxaip0
apm0 at pxaip0
zts0 at pxaip0
wsmouse0 at zts0 mux 0
zaudio0 at pxaip0: I2C, I2S, WM8750 Audio
audio0 at zaudio0
zrc0 at pxaip0: CE-RH2 remote control
wskbd1 at zrc0 mux 1
wskbd1: connecting to wsdisplay0
flash0 at pxaip0: Samsung K9F1G08U0A 128Mx8 3.3V
wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138
wd0 at wdc0 channel 0 drive 0: <HMS360606D5CF00>
wd0: 32-sector PIO, LBA, 5859MB, 12000556 sectors
wd0(wdc0:0:0): using BIOS timings
malo0 at pcmcia1 function 0 "Marvell, 88W8300 802.11g PC Card, Version 1.1" 
port 0x0/128, irq 137
softraid0 at root
boot device: wd0
root on wd0a swap on wd0b dump on wd0b
malo0: address 00:10:7a:70:08:9b


-> Here are the packages:

# pkg_info -A | grep malo
malo-firmware-1.4   Firmware binary images for malo driver
# 

# pkg_info -A | grep kismet
kismet-200805R1     802.11 layer2 wireless network detector, sniffer, and IDS
# 


-> Here is ifconfig -m malo0

# ifconfig -m malo0
malo0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:10:7a:70:08:9b
        priority: 0
        groups: wlan
        media: IEEE802.11 autoselect
        status: no network
        ieee80211: nwid ""
        supported media:
                media autoselect
                media autoselect mediaopt monitor
                media autoselect mode 11b
                media autoselect mode 11b mediaopt monitor
                media DS1 mode 11b
                media DS1 mode 11b mediaopt monitor
                media DS2 mode 11b
                media DS2 mode 11b mediaopt monitor
                media DS5 mode 11b
                media DS5 mode 11b mediaopt monitor
                media DS11 mode 11b
                media DS11 mode 11b mediaopt monitor
                media autoselect mode 11g
                media autoselect mode 11g mediaopt monitor
                media DS1 mode 11g
                media DS1 mode 11g mediaopt monitor
                media DS2 mode 11g
                media DS2 mode 11g mediaopt monitor
                media DS5 mode 11g
                media DS5 mode 11g mediaopt monitor
                media DS11 mode 11g
                media DS11 mode 11g mediaopt monitor
                media OFDM6 mode 11g
                media OFDM6 mode 11g mediaopt monitor
                media OFDM9 mode 11g
                media OFDM9 mode 11g mediaopt monitor
                media OFDM12 mode 11g
                media OFDM12 mode 11g mediaopt monitor
                media OFDM18 mode 11g
                media OFDM18 mode 11g mediaopt monitor
                media OFDM24 mode 11g
                media OFDM24 mode 11g mediaopt monitor
                media OFDM36 mode 11g
                media OFDM36 mode 11g mediaopt monitor
                media OFDM48 mode 11g
                media OFDM48 mode 11g mediaopt monitor
                media OFDM54 mode 11g
                media OFDM54 mode 11g mediaopt monitor
                media DS1
                media DS1 mediaopt monitor
                media DS2
                media DS2 mediaopt monitor
                media DS5
                media DS5 mediaopt monitor
                media DS11
                media DS11 mediaopt monitor
                media OFDM6
                media OFDM6 mediaopt monitor
                media OFDM9
                media OFDM9 mediaopt monitor
                media OFDM12
                media OFDM12 mediaopt monitor
                media OFDM18
                media OFDM18 mediaopt monitor
                media OFDM24
                media OFDM24 mediaopt monitor
                media OFDM36
                media OFDM36 mediaopt monitor
                media OFDM48
                media OFDM48 mediaopt monitor
                media OFDM54
                media OFDM54 mediaopt monitor


-> Here is ifconfig before running kismet

# ifconfig malo0
malo0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:10:7a:70:08:9b
        priority: 0
        groups: wlan
        media: IEEE802.11 autoselect
        status: no network
        ieee80211: nwid ""


-> When I run kismet for the first time I get:

# kismet
Launching kismet_server: /usr/local/bin/kismet_server
Will drop privs to _kismet (547) gid 547
No specific sources given to be enabled, all will be enabled.
Non-RFMon VAPs will be destroyed on multi-vap interfaces (ie, madwifi-ng)
Enabling channel hopping.
Enabling channel splitting.
NOTICE: Disabling channel hopping, no enabled sources are able to change 
channel.
Source 0 (radiotap_bsd_b): Enabling monitor mode for radiotap_bsd_b source 
interface malo0 channel 6...
Source 0 (radiotap_bsd_b): Opening radiotap_bsd_b source interface malo0...
FATAL: No support for radiotap data link
Done.
# 


-> If I immediately run again kismet I get:

# kismet 
Launching kismet_server: /usr/local/bin/kismet_server
Will drop privs to _kismet (547) gid 547
No specific sources given to be enabled, all will be enabled.
Non-RFMon VAPs will be destroyed on multi-vap interfaces (ie, madwifi-ng)
Enabling channel hopping.
Enabling channel splitting.
NOTICE: Disabling channel hopping, no enabled sources are able to change 
channel.
Source 0 (radiotap_bsd_b): Enabling monitor mode for radiotap_bsd_b source 
interface malo0 channel 6...
FATAL: malo0: cannot set ifmedia: Operation not permitted
Done.
# 


-> Here is ifconfig after trying to run kismet 

# ifconfig malo0
malo0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:10:7a:70:08:9b
        priority: 0
        groups: wlan
        media: IEEE802.11 autoselect monitor
        status: active
        ieee80211: nwid ""
        inet6 fe80::210:7aff:fe70:89b%malo0 prefixlen 64 scopeid 0x6




I'm supposing kismet works with malo(4)...
This may be an incorrect assumption (please, correct me if I am
wrong).  Although the webpage
http://www.kismetwireless.net/documentation.shtml informs that for
OpenBSD the

Known supported cards: Prism2 (wi), Atheros (ath), Intel 2200/2225/2915
      (iwi), Intel 2100 (ipw), Ralink (ral, ural and rum), Realtek RTL8180L 
      (rtw), ZyDAS ZD1211/ZD1211B (zyd), Prism GT Full-MAC (pgt), Cisco 35x
      (an), WSP100, Drone, wtapfile, pcapfile.

does not list the malo driver, I'm supposing it may work based on the
thread http://marc.info/?l=openbsd-ports&m=119239885612850&w=2 and
especially on http://marc.info/?l=openbsd-ports&m=119470972907731&w=2
and on
http://portofsaints.wordpress.com/2007/04/22/openbsd-marvell-libertas-malo-and-kismet/


In kismet.conf, I've tried the sources 

   radiotap_bsd_ab,malo0,radiotap_bsd_ab
   radiotap_bsd_b,malo0,radiotap_bsd_b




I've tried with kismet-200805R1 and also with the old kismet
(kismet-200710R1) without success on both cases.

I don't see useful traffic with tcpdump.


So, back to my initial question: 

Does anyone running -current has kismet working with malo(4)?



Thanks.


Filipe de Sá-Soares

Reply via email to