From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 20 07:16:48 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4505616A41F for ; Tue, 20 Sep 2005 07:16:48 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D35AF43D45 for ; Tue, 20 Sep 2005 07:16:47 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1EHcMR-0000q0-6w; Tue, 20 Sep 2005 09:16:15 +0200 Date: Tue, 20 Sep 2005 09:16:48 +0200 From: Marcin Jessa To: Peter Losher Message-Id: <20050920091648.41e2bf16.lists@yazzy.org> In-Reply-To: <200509191617.49953.plosher@plosh.net> References: <200509142146.42969.plosher@plosh.net> <200509191617.49953.plosher@plosh.net> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-mobile@freebsd.org Subject: Re: Best way to load iwi firmware for wpa_supplicant? 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: Tue, 20 Sep 2005 07:16:48 -0000 On Mon, 19 Sep 2005 16:17:38 -0700 Peter Losher wrote: > On Wednesday 14 September 2005 09:46 pm, Peter Losher wrote: > > I now have a Dell Inspiron 700m w/ a integrated iwi chipset, which is > > detected just fine, and works w/ WEP keys etc. with the iwi firmware > > loaded from the local/rc.d script. > > [...] > > > However, I need to get the firmware loaded before wpa_supplicant starts > > for those WPA networks I attach to. (which is why I still have a ath0 > > card sitting around) > > > > Right now, the preferred method seems to be having a > > local/etc/devd/iwi.conf defined like so: > > [...] > > > Yet when the system boots I get a error when wpa_supplicant starts up: > > > > -=- > > iwi0: Please load firmware > > -=- > > > > Is what I have defined in iwi.conf enough, or am I missing a piece here? > > I finally got devd to recognize the device (and load the firmware when > detected), however to do so, I have to boot w/o loading if_iwi.ko; then when > right before the wpa_supplicant rc.d script is called, load the iwi kernel > module (whend devd loads the iwi firmware) then wpa_supplicant is able to > associate with the WPA network I have here. But this is brutally hackish, > and there has to be a better (and cleaner) way for devd to do this properly > at startup.... > > Ideas? Why are you loading the module at all and not compile it into your kernel?