From owner-freebsd-mobile@FreeBSD.ORG Sat Sep 12 02:48:39 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96415106568D for ; Sat, 12 Sep 2009 02:48:39 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD798FC18 for ; Sat, 12 Sep 2009 02:48:39 +0000 (UTC) Received: from Macintosh-4.local ([10.0.0.198]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8C2bZrG093029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Sep 2009 19:37:35 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4AAB096F.5090702@freebsd.org> Date: Fri, 11 Sep 2009 19:37:35 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Eddie Leisure References: <4AAA96DB.7070501@angryeddie.cn> <3a142e750909111328l5f3813d5xba6cf84d349f30a@mail.gmail.com> <4AAAD01F.1040309@angryeddie.cn> In-Reply-To: <4AAAD01F.1040309@angryeddie.cn> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: "Paul B. Mahol" , freebsd-mobile@freebsd.org Subject: Re: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 02:48:39 -0000 Eddie Leisure wrote: > Paul B. Mahol wrote: >> Look at iwn source code, IBSS cap is commented out. >> Either this issue should be addressed or man page should be updated. > Thanks for your help here, it never occurred to me to check the source, > I'm still a bit of a newbie at this. > > Deleted the #if 0...#endif block around the code in if_iwn.c and > recompiled. > Running it form the console this time and I can see the error "iwn0: > IBSS mode not supported" - so it still doesn't seem to be working. I > checked over the rest of the source and I don't see anything obvious in > the header files either. > > I think I'm dancing around my limits here, I think I'll just have to > find a different way to connect this machine, or just get a usb adapter. > > Just to make sure I'm on track here, i did a kldunload if_iwn, then ran > make, then did a kldload if_iwn - this is the first time for me to > recompile a kernel module so I want to make sure I'm not messing this up. > > It somewhat makes sense for it not to work though, I assume theres a > reason it was commented out to begin with. iwn's ibss suport didn't work when I last tried it so I removed the capability. Someone needs to take responsibility for the driver; there are many outstanding issues with the code in the tree (e.g. lack of support for the newer (but now old) parts). Sam