Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2016 15:17:26 +0200
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        Andriy Voskoboinyk <s3erios@gmail.com>
Cc:        Kurt Jaeger <pi@freebsd.org>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: kismet, which cards are supported ?
Message-ID:  <20160703131726.GV2369@fc.opsec.eu>
In-Reply-To: <op.yj0uvpmiiew4ia@localhost>
References:  <20160703105453.GT2369@fc.opsec.eu> <op.yj0uvpmiiew4ia@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> Automatic mode switching is not supported since r178354; you should  
> manually create an interface with required mode:
> 
> ifconfig wlan0 create wlandev <dev> wlanmode monitor up

Thanks. On a laptop with

FreeBSD 10.3-RELEASE-p4 amd64

and this wlan hardware:

iwn0@pci0:2:0:0:        class=0x028000 card=0x13118086 chip=0x42398086 rev=0x35
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Centrino Advanced-N 6200'
    class      = network
    bar   [10] = type Memory, range 64, base 0xf2400000, size 8192, enabled

If I do this:

ifconfig wlan0 wlanmode monitor

this is the error message:

ifconfig: wlanmode: bad value

So I tested it on another laptop:

With this card:

wpi0@pci0:3:0:0:        class=0x028000 card=0x10118086 chip=0x42278086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/Wireless 3945ABG [Golan] Network Connection'
    class      = network
    bar   [10] = type Memory, range 32, base 0xdfcff000, size 4096, enabled


  ifconfig wlan0 create wlandev wpi0 wlanmode monitor up

worked, but:

Jul  3 15:18:40 xdog kernel: wlan0: permanently promiscuous mode enabled
Jul  3 15:18:41 xdog kernel: wpi0: could not set power mode
Jul  3 15:18:41 xdog kernel: wpi0: error 35 settting channel
Jul  3 15:18:42 xdog kernel: wpi0: wpi_cmd: cmd 119 not sent, busy
Jul  3 15:18:42 xdog kernel: wpi0: could not set power mode
Jul  3 15:18:42 xdog kernel: wpi0: error 35 settting channel
Jul  3 15:18:43 xdog kernel: wpi0: wpi_cmd: cmd 119 not sent, busy
Jul  3 15:18:43 xdog kernel: wpi0: could not set power mode
Jul  3 15:18:43 xdog kernel: wpi0: error 35 settting channel
Jul  3 15:18:44 xdog kernel: wpi0: wpi_cmd: cmd 119 not sent, busy
[...]

-- 
pi@FreeBSD.org         +49 171 3101372                4 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160703131726.GV2369>