From owner-freebsd-wireless@freebsd.org Sun Jul 3 13:50:33 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07FECB9014D for ; Sun, 3 Jul 2016 13:50:33 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F9A92953; Sun, 3 Jul 2016 13:50:32 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id q132so103013045lfe.3; Sun, 03 Jul 2016 06:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=zTeL6DsHW2/q0regcpTkONeXPCNzt8NaQKYz1yoZ3Gc=; b=hIJr4QFdXqFwpTJNi3u4VRAJ6FXtyos/uW0BCXLl0JkU+U4u7NcsCxQssHQjtEJ5YG u8sdkckuTs530F5xKMg6m6lMjPgz1bt9KowhA59Iaj/1lk0/UrcFSZVGvFJqiMpnhGEY tikbI2XkSH2aNaFrjfEugxFtQCiXXx5qEO/QXBL6nWUuoy4WCt27v1dR4vBHA6UTHVC6 BKaEc2VZhXMTUOnEmUNopYNz5yDpyVPJMl+tl18vmJTyW5BBIjcZRE/8iRX8r7V4MTb5 m8M/WZ304fgT39UrfgcRqZ+bny75pPoUyNYipUXHX92ATApaStHrW6hqpJY61ddrg8jZ ZHTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=zTeL6DsHW2/q0regcpTkONeXPCNzt8NaQKYz1yoZ3Gc=; b=CGasj3B9M6r1xieYjbL8rhZT3jUBfdGNSBldm/DjIgxdVFw9yTTmhOiYoCh7A4h2Yl kbmBXbjKSKCOmAVHTTvDntNNXde5xYI2VSO4sCuv65ljvaVdgHHcVbgDGmh5c7dy9Fm/ G5iOg39lsC66TjSxLUXxvColVWKqacsEu1MVW0QDHfK3x/jw5ce3MaImzG+1B5iWQImu IGFBxWnh+V9hmgcsWePeRf1FkqUf3bTl1has5ih+QOIgdd/er9Bi5eTaxOCxZpl+Guw6 w4hY1F41Yl0vyUxpf25orNGezMFSgYK/fHYTNgkE8BGiN+RcaHfHw5CgII3HHyTzV+3w i1Lw== X-Gm-Message-State: ALyK8tIDRQHXvhZ8dVjKYDrQ4sQxy8tVcSzZhtnV2QneJuq7q1O/s/ofEw/PzieuXtgDpw== X-Received: by 10.25.17.210 with SMTP id 79mr1397411lfr.113.1467553830233; Sun, 03 Jul 2016 06:50:30 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id l79sm1560716lfi.40.2016.07.03.06.50.28 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 03 Jul 2016 06:50:29 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Kurt Jaeger" Cc: "freebsd-wireless@freebsd.org" Subject: Re: kismet, which cards are supported ? References: <20160703105453.GT2369@fc.opsec.eu> <20160703131726.GV2369@fc.opsec.eu> Date: Sun, 03 Jul 2016 16:50:26 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20160703131726.GV2369@fc.opsec.eu> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2016 13:50:33 -0000 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 : > Hi! > >> Automatic mode switching is not supported since r178354; you should >> manually create an interface with required mode: >> >> ifconfig wlan0 create wlandev 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?