From owner-freebsd-ports@FreeBSD.ORG Sun Oct 2 11:14:58 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7EDF1065693 for ; Sun, 2 Oct 2011 11:14:58 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 88ACC8FC17 for ; Sun, 2 Oct 2011 11:14:58 +0000 (UTC) Received: by yxk36 with SMTP id 36so3445820yxk.13 for ; Sun, 02 Oct 2011 04:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Cy2uijHLEyWT9P81ecLTuOz+774CR4izyd8C0/Xt3DY=; b=OLJqSDolDYM88UYXGEuT8fcOhvkwoaJ9THdKVeSCDgTadGISl38lGbrvuJBNyV9Vlz VpdNUNZFCoNScsi8j9u1LbfCStyGg/JoBetjfNTRk2OXYKiTnzAOo3I6pPVF+J3S6Ths C9HIowaJg9zuALVlUb3Yu3F4XdfDTkZfXPSuE= Received: by 10.68.29.228 with SMTP id n4mr72701965pbh.64.1317554097371; Sun, 02 Oct 2011 04:14:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.224.11 with HTTP; Sun, 2 Oct 2011 04:14:37 -0700 (PDT) In-Reply-To: <1317463745584-4859388.post@n5.nabble.com> References: <1317463745584-4859388.post@n5.nabble.com> From: arrowdodger <6yearold@gmail.com> Date: Sun, 2 Oct 2011 15:14:37 +0400 Message-ID: To: Jakub Lach Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: net-mgmt/aircrack-ng on FreeBSD 7+ / call for testing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2011 11:14:59 -0000 On Sat, Oct 1, 2011 at 2:09 PM, Jakub Lach wrote: > Hi ports, > > Since some (2 years?) time, injection > is not supported in monitor mode, but > should work in ahdemo. > > aircrack-ng did not reflect this > change, and was basically not working > as intended. > > I filled a pr, since working on this > issue was delayed in upstream, and > there appeared to be simple workaround > floating around (by richardpl). > > (ports/160564) > > But results are somewhat inconsistent, > e.g. I still get > > wi_write(): Permission denied > > with AR242x / AR542x, even after > updating aircrack for patched > version. > > Others reported success. > > So this is basically call for testing > net-mgmt/aircrack-ng and/or finding > better workaround. > > best regards, > - Jakub Lach > > PS. Simple guide goes a long way: > > 1. Install net-mgmt/aircrack-ng. > > (e.g. portmaster net-mgmt/aircrack-ng) > > 2. Set card in ahdemo mode. > > (e.g. ifconfig wlan0 create wlandev ath0 wlanmode ahdemo) > > 3. Perform injection test. > > (e.g. aireplay-ng -9 wlan0) > > 4. Any "wi_write(): Permission denied"? > > Still wi_write(): Input/output error ? > > Does airodump-ng work now? > > 5. Report back/comment. > My wifi adapter is AR5B95. I've ran all these steps and all air*_ng do not print anything during run and always exit with error code 1.