From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 10 20:01:34 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3872106564A for ; Sun, 10 Apr 2011 20:01:34 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 688728FC19 for ; Sun, 10 Apr 2011 20:01:34 +0000 (UTC) Received: by iyj12 with SMTP id 12so6125044iyj.13 for ; Sun, 10 Apr 2011 13:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=cdwpHxWSo1Dzs8XCSc/noaqGeu/dIi/qnVUzRYKWYvY=; b=AcQmXzMbRydEzh96zWr5G/MLFOkwn+m4yBOiOUvZ5u3ZvJmw4/Tvth6g0ITRJN+f60 igUO6x5yDC4w1XO8rWnOR42c6fhO8DGegZZ9X/zdJVWOtbhEUFm/+nOTNqZ0yL++k2Eq jxaXcw72SXWozZnORSrXuFqcWHvKk1jtDxCXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TQpgcjJKymWGlxCMUW9ae0zGcR8C/n0pVjPEJLIbUAdyl2a9kmyC/IWjq+mmi+CV+8 8poXL0cQy0HjvYo5F9ifm5oiIxf5Y556X1oD3FmIKTnsQM01QIHFprDix3I/ycK1B45B /M/svjH3DGtDswCiB+PhGhRiVClmGHV3AW8Nk= MIME-Version: 1.0 Received: by 10.231.117.162 with SMTP id r34mr4637321ibq.38.1302465693746; Sun, 10 Apr 2011 13:01:33 -0700 (PDT) Received: by 10.231.195.11 with HTTP; Sun, 10 Apr 2011 13:01:33 -0700 (PDT) In-Reply-To: References: <201104100931.47386.bschmidt@freebsd.org> Date: Sun, 10 Apr 2011 13:01:33 -0700 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: intel3945 ahdemo/monitor mode error "ifconfig: create: bad value" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Apr 2011 20:01:34 -0000 Here is my testing in detail. Please help me get injection in aircrack-ng working with either card, much appreciated. ------------------------------------------------------------- ATHEROS $ sudo ifconfig wlan0 create wlandev ath0 wlanmode monitor $ sudo ifconfig wlan0 channel 6 up $ sudo tcpdump -ni wlan0 -y IEEE802_11_RADIO Captures. $ sudo airodump-ng wlan0 Works. $ sudo aireplay-ng -9 wlan0 05:43:07 Trying broadcast probe requests... wi_write(): Permission denied wi_write(): Permission denied wi_write(): Permission denied 05:43:09 No Answer... 05:43:09 Found 4 APs 05:43:09 Trying directed probe requests... 05:43:09 00:1E:E5:5D:36:01 - channel: 6 - 'linksys' wi_write(): Permission denied wi_write(): Permission denied Injection test fails in monitor. $ sudo ifconfig wlan0 create wlandev ath0 wlanmode ahdemo $ sudo ifconfig wlan0 channel 6 up $ sudo airodump-ng wlan0 $ Doesn't work. So I can't sniff in ahdemo. $sudo aireplay-ng -9 wlan0 $ Injection test fails in ahdemo. INTEL 3945 $ sudo ifconfig wlan0 create wlandev wpi0 wlanmode monitor $ sudo ifconfig wlan0 channel 6 up $ sudo tcpdump -ni wlan0 -y IEEE802_11_RADIO Captures. $ sudo airodump-ng wlan0 Works. $ sudo aireplay-ng -9 wlan0 05:47:28 Trying broadcast probe requests... wi_write(): Permission denied wi_write(): Permission denied wi_write(): Permission denied 05:47:30 No Answer... 05:47:30 Found 3 APs 05:47:30 Trying directed probe requests... 05:47:30 00:14:95:B1:F8:A9 - channel: 6 - '2WIRE059' wi_write(): Permission denied Injection test fails in monitor. $ sudo ifconfig wlan0 create wlandev wpi0 wlanmode ahdemo ifconfig: SIOCIFCREATE2: Operation not supported No ahdemo in intel. -- Lyubomir Grigorov (bgalakazam)