Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 18:45:29 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Glen Barber <gjb@freebsd.org>
Cc:        Yuri <yuri@rawbw.com>, freebsd-net@freebsd.org
Subject:   Re: Why wpa_supplicant doesn't start with ndis0 interface?
Message-ID:  <alpine.BSF.2.00.1209131841480.24688@wonkity.com>
In-Reply-To: <20120913165111.GA2436@glenbarber.us>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1209131841480.24688>