From owner-freebsd-net@FreeBSD.ORG Fri Sep 14 00:45:31 2012 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 CE807106567F; Fri, 14 Sep 2012 00:45:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 84D418FC21; Fri, 14 Sep 2012 00:45:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q8E0jURS025407; Thu, 13 Sep 2012 18:45:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q8E0jT3U025404; Thu, 13 Sep 2012 18:45:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 13 Sep 2012 18:45:29 -0600 (MDT) From: Warren Block To: Glen Barber In-Reply-To: <20120913165111.GA2436@glenbarber.us> Message-ID: References: <505136E8.6010708@rawbw.com> <20120913015904.GC1341@glenbarber.us> <50514BCC.3010607@rawbw.com> <20120913030153.GH1341@glenbarber.us> <5051FD10.8040204@rawbw.com> <20120913165111.GA2436@glenbarber.us> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 13 Sep 2012 18:45:30 -0600 (MDT) Cc: Yuri , freebsd-net@freebsd.org Subject: Re: Why wpa_supplicant doesn't start with ndis0 interface? 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: Fri, 14 Sep 2012 00:45:31 -0000 On Thu, 13 Sep 2012, Glen Barber wrote: > On Thu, Sep 13, 2012 at 08:34:40AM -0700, Yuri wrote: >> On 09/12/2012 20:01, Glen Barber wrote: >>> It would be helpful if you would at least try my cron(8) suggestion. >> >> So I tried adding the lines into crontab: >> @reboot root /sbin/kldload /boot/kernel/if_ndis.ko >/dev/null 2>&1 >> @reboot root /sbin/kldload /boot/modules/bcmwl5_sys.ko >/dev/null 2>&1 >> >> Firstly, for some reason, this method fails to load bcmwl5_sys.ko with >> the error message: >> KLD bcmwl5_sys.ko: depends on ndis - not available or version mismatch >> > > Hmm. This should also be loading ndis.ko. If not, add that to the cron > line as well. If that is the problem, sorry, that was my mistake. On a fast machine, there could be a race there. Best to load them in order in a single command: @reboot root /sbin/kldload if_ndis.ko && /sbin/kldload bcmwl5_sys.ko