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

next in thread | previous in thread | raw e-mail | index | archive | help
Sun, 03 Jul 2016 16:17:26 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0=
=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kurt Jaeger <pi@freebsd.org>:

> 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=3D0x028000 card=3D0x13118086 chip=3D0x42=
398086  =

> rev=3D0x35
> hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'Centrino Advanced-N 6200'
>     class      =3D network
>     bar   [10] =3D 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

wlanmode can be specified only at the creation time;
try to destroy the interface first:

ifconfig wlan0 down
ifconfig wlan0 destroy

and, then:

ifconfig wlan0 create wlandev iwn0 wlanmode monitor up

>
> So I tested it on another laptop:
>
> With this card:
>
> wpi0@pci0:3:0:0:        class=3D0x028000 card=3D0x10118086 chip=3D0x42=
278086  =

> rev=3D0x02 hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'PRO/Wireless 3945ABG [Golan] Network Connection'
>     class      =3D network
>     bar   [10] =3D 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 enabl=
ed
> 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
> [...]
>

There were numerous bugfixes for wpi(4) in 11.0 branch; can you upgrade =
to  =

it?



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