From owner-freebsd-current@FreeBSD.ORG Thu May 1 22:46:07 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B968B106564A for ; Thu, 1 May 2008 22:46:07 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 6DE588FC15 for ; Thu, 1 May 2008 22:46:07 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so252908ana.13 for ; Thu, 01 May 2008 15:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zvT9vEjW7SWWc/wh3lwJSrVl5LbztKOCy8eUPty7Kg4=; b=pyN3GMZzHtzNZrAhZBNRhLrgkBuLljIPbsEUL3qYtVFt1O47gAI1ztioOanYJWT7NpvThdKYXu/r4Gf9/Q4YBlGMsaM77iJZhzpnhIkCVQfMVrmLXulOJf6A3FppP92aRbtMfXTs/SvQPKcScVjziYFLMpj4fTU2geUVRGLmWJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k7MfFTEBvP+YPNiG2RTHbB74mlh9XNF1j5rspX3LH0LAbAB+geCORInU8mlgQbUckzXgD8GWbvSdAqAerFMSL8NxejE+vZm6H12DoZWvKA/9JStd6v549uLVqmCY0Hco3pff47+ZPBC75e4gGkKz8Pnd+UFqja1cbLnyvxqeGcg= Received: by 10.100.214.3 with SMTP id m3mr3855756ang.81.1209681966584; Thu, 01 May 2008 15:46:06 -0700 (PDT) Received: by 10.100.214.9 with HTTP; Thu, 1 May 2008 15:46:06 -0700 (PDT) Message-ID: <47d0403c0805011546k60ad7a84m5bd8bbf145519850@mail.gmail.com> Date: Thu, 1 May 2008 18:46:06 -0400 From: "Ben Kaduk" To: "Andrew Thompson" In-Reply-To: <20080427040021.GC98671@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <480D6667.4020509@errno.com> <47d0403c0804261757w5eb90be4k1f4f06521fe01bd@mail.gmail.com> <20080427040021.GC98671@citylink.fud.org.nz> Cc: FreeBSD Current Subject: Re: HEADSUP: 802.11 vap support merged X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 22:46:07 -0000 On 4/27/08, Andrew Thompson wrote: > On Sat, Apr 26, 2008 at 08:57:27PM -0400, Ben Kaduk wrote: > > Hi Sam, > > > > On 4/22/08, Sam Leffler wrote: > > > From UPDATING: > > > > > > 20080420: > > > The 802.11 wireless support was redone to enable multi-bss > > > operation on devices that are capable. The underlying device > > > is no longer used directly but instead wlanX devices are > > > cloned with ifconfig. This requires changes to rc.conf files. > > > > > > > Again, sorry for jumping in late. > > > > Do I interpret this correctly as that it is unsupported, now, to > > do something like `ifconfig ndis0 up`? > > In my present configuration, I can do: > > ifconfig wlan0 create wlandev ndis0 > > ifconfig ndis0 up > > ... > > and get a useable connection, but: > > ifconfig ndis0 up > > gives me a panic (hand transcribed) > > Fatal trap 12: page fault while in kernel mode > > ndis_setstate_80211 > > > I can see why this would happen, can you try this patch. > Sorry for the delay; I just got to test the patch. It works, in that the machine no longer panics when I try to frob ndis0 directly. I can still create a wlan0 on top of ndis0, and this appears to send and receive traffic properly. I can assign ndis0 an IP address and netmask with ifconfig, but ifconfig ndis0 scan is ``unable to get scan results''. (I also can't give ndis0 an ssid (SIOCS80211: Invalid argument), and thus can't send traffic directly on ndis0.) I also got some error messages when I had given ndis0 my static IP, added wlan0 on top of it, and then tried to send traffic. My understanding is that this is not a supported operation, though, so I won't worry about it. Let me know if you want more information/testing. Thanks, Ben Kaduk