From owner-freebsd-net@FreeBSD.ORG Thu Mar 5 18:30:00 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AB75106564A for ; Thu, 5 Mar 2009 18:30:00 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 39FBC8FC21 for ; Thu, 5 Mar 2009 18:29:59 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fxm2 with SMTP id 2so51433fxm.43 for ; Thu, 05 Mar 2009 10:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f5v3kqCbhAGPNR7Mn+bJ32Q3Rq0RLa1ApnwQ2nOAMdo=; b=L4tMWoPqT3uCSjuo5syyAyUCvR/N6lFPsHACHIyL8Tlzr5B60fNCgeyJOtXdvE1nxl SnYmXW+APMbWnWReLyxavVbkyTkHyne4Qrtg93q01OSA4P4VjxJCnclXLb5xW+njYOQn E8Z3gteHT/mhAWiaT1pEEJohVOTjIFhYz90x4= 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 :cc:content-type:content-transfer-encoding; b=jAE0glrXlgAmBUs7PyO6gcBS2XJoXN/Ed+BUNi+jDexzDx9B0XHY/bvieIxV6tziAV /TXobypVodr+R/ELdZJJoMhJ0UyAbKj+13o/NO5lddJk0RrXkNckyvc+ok5pLVjt7ZRD RX8esUNIelNVPPuCDjXt2F6ZGvKg9AO+U1NfY= MIME-Version: 1.0 Received: by 10.223.108.15 with SMTP id d15mr1211482fap.62.1236277798312; Thu, 05 Mar 2009 10:29:58 -0800 (PST) In-Reply-To: <55CF3225C5C074DD9DCB1564@192.168.192.108> References: <200903050143.n251htES060465@freefall.freebsd.org> <55CF3225C5C074DD9DCB1564@192.168.192.108> Date: Thu, 5 Mar 2009 19:29:58 +0100 Message-ID: <3a142e750903051029h37839d28l5e07ead6b616c73b@mail.gmail.com> From: "Paul B. Mahol" To: Erwin Hoffmann Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, linimon@freebsd.org Subject: Re: kern/130820: [ndis] wpa_supplicant(8) returns 'no space on device' X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 18:30:00 -0000 On 3/5/09, Erwin Hoffmann wrote: > Hi > > thanks for following my bug-report: > > --On Donnerstag, 5. Maerz 2009 01:43 +0000 linimon@FreeBSD.org wrote: > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=130820 > > From: "Paul B. Mahol" > To: linimon@freebsd.org > Cc: freebsd-net@freebsd.org, freebsd-bugs@freebsd.org > Subject: Re: kern/130820: [ndis] wpa_supplicant(8) returns 'no space on > device' > > Yet another invalid bug report. > OP should use -Dndis and not -Dbsd > > -- > > I did not reply to the comment, because of it's obvious stupidness: > > If you go thru the code source for the wpasuplicant (what I did trying to > fix the bug), you can see that (at least that's true for FreeBSD 6.3) the > wpasupplicant *only* supports the BSD driver for wlan cards and no other. > > That is ok, if the documentation clearly would mention that. > > However, it is completely misleading (and shows the ignorance on that > subject by Paul) even pretending FreeBSD's wpasuplicant can be used with > the driver option. > > In fact, FreeBSD's wpasupplicant implementation is at best half baked. > It turned out, that one has to consider at least two different ndis drivers: > > 1. The generic one, which works for unencrypted and WEP connections (using > the chipset's internal de/encryption facilities). > 2. A specific ndis driver different from (1.) used to talk to the wlan > adapter while encryption and authentication is done by wpasupplicant. > > Since (2.) is missing, wpasupplicant tries to use the build-in BSD driver, > which of course fails with the error message mentioned in my bug report. > > In order to follow up this subject, I would recommend to change the > category of the bug into something like 'documentation bug' straighten up > the docs and close it. > > I'm inclined to set up a wpa reference page with a detailed description of > this issue and perhaps include some additional patches (wpasupplicant > latest version for FreeBSD and others). However, currently I'm busy with > other projects; so it is likely that this will we postponed after the > summer term. > > Further, it would be great (and maybe I ask one of my students) to get the > ndis driver working for FreeBSD. But again: This will not happen until the > winter term. Patches are always welcome but note that mayor development is going in 8.0 CURRENT and there ndisulator + wpa_supplicant work for me. wpa_supplicant on 6.3 RELEASE does support ndis driver interface, I come up to that conclusion looking in cvs but I can not be sure because I never used wpa_supplicant with 6.3 RELEASE http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/wpa/wpa_supplicant/?only_with_tag=RELENG_6_3_0_RELEASE -- Paul