From owner-freebsd-questions@freebsd.org Wed Oct 12 12:25:07 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90FFCC0D811 for ; Wed, 12 Oct 2016 12:25:07 +0000 (UTC) (envelope-from laoluomoks@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59284779 for ; Wed, 12 Oct 2016 12:25:07 +0000 (UTC) (envelope-from laoluomoks@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id i202so48291277ioi.2 for ; Wed, 12 Oct 2016 05:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OZOrssUFTms2gDBCH+DiMu79IkTcvBHG+FVf7KTN9+w=; b=QChE0z8acE4LzZMkBJi02t3QkXt0ABF0MzYzyE1A/Lk09UprLyKHAp80SUYcc/NuHu jDwkKHZPRFW9HXx0+DDSDtHJMUWKd74QeM/JlfF8i+VBvYcr/wCGVtTW7nmHBj9qJC3I 7f63TpvD9w3YsbBtLqQfZ4RP85CCdAw81gUOMPMcCbheGh49+/AfAi0DTclDn4Qkq23Q Nu9PU4SFPuc2hth5Dj34UxAe8vUGt3cXs1gUWm6hGvDn+hwqpww94vkvLW0ayBZjJtfV HAzIuwLtryP27bqMvuibSFaIxYG67OuG1jMgS9JJvBU0BZlrC28MLHgH97M57pdOJAHK 9t6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OZOrssUFTms2gDBCH+DiMu79IkTcvBHG+FVf7KTN9+w=; b=MytBwjSIr8VscYTTwEZ2QObb5/1fvHVgNeHr7wST++QVRqG7fC43d80Dh3VMzVyOmP nVXkKNrPDSrsO54Ippi8YY8O6bzTjCpffLXfIudEcGYoxWewZgrxyDAsQIgN16p/BZCZ uxX/li9F/xwjY33eq/6y1q87asjujVuj1wRjfcHjdYMuj6s2Nv4bNTJ0PLT4B++cV+MU /UZNcxC3YwqVlriOE1FMiTsPuO4i4zA0a3u1Wgu7aovpz46PmuQxcqmuKBe/hDtkAqFu 4eddfY7GeBOD2VPNWQ9uoGmaKclMrz/XL3JVN0X5jQqZr48vBEgCadNLrDWW+4XTa8LE taYA== X-Gm-Message-State: AA6/9Rngs5ONA6c83t33PFNltFJ7wh9kJr5n2+iHXxOxbdWKPhRSvMkWLgO1fgHHfRmS4GU4Jw2r1IbQwMlKSQ== X-Received: by 10.107.137.138 with SMTP id t10mr1168972ioi.13.1476275106745; Wed, 12 Oct 2016 05:25:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.0.212 with HTTP; Wed, 12 Oct 2016 05:25:05 -0700 (PDT) Received: by 10.79.0.212 with HTTP; Wed, 12 Oct 2016 05:25:05 -0700 (PDT) In-Reply-To: References: <46DF07BE-6D57-4B7E-BBAB-C257791E072C@gmail.com> From: Olaoluwa Omokanwaiye Date: Wed, 12 Oct 2016 13:25:05 +0100 Message-ID: Subject: Re: Broadcom wireless BCM4313 To: JD Cc: Emre Gundogan via freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 12:25:07 -0000 Hi, Tried the above steps, successfully converted the files but when I try to load the .ko driver I get a stackoverflow and the OS reboots pls what do I do? This has not allowed me to load the successfully converted windows driver using ndisgen. Help!!!!! Ola Sent from my MotoE2(4G-LTE) On 10 Oct 2016 4:59 p.m., "JD" wrote: > On URL https://forums.freebsd.org/threads/26616/ > you will find this solution using windos XP driver and ndis. > ------------------------------------------------------------ > --------------- > nox@ said: > There's a link to a Windows XP driver that can be used for this nic with > ndis(4) on FreeBSD/PCBSD >= 9.0 in the PCBSD wiki: > http://wiki.pcbsd.org/index.php/Wireless_Testing. If you are on amd64 > like me you may get a panic "Unregistered use of FPU in kernel", the fix > for that is in gnats: > http://www.freebsd.org/cgi/query-pr.cgi?pr=165622. > > PS: Assuming you have kernel sources installed and the patch from that > ticket applies to 9.0 too (I only tested head) you can just rebuild and > install ndis.ko instead of rebuilding the entire kernel: > # cd /usr/src/sys/modules/ndis && make && make install > > HTH, [image: :)] > Juergen > > I just got my Broadcom BCM4313 up and running yesterday by checking out > that PC-BSD Wiki! > > I just downloaded the drivers on my Windows computer, extracted the driver > files, and transferred the necessary ones (bcmwl5.inf, bcmwl564.sys, > bcm43xx64.cat and bcmwlcoi64.dll, since I am running amd64) over to my > FreeBSD machine using a USB memory stick. > > I then had to convert the files to FreeBSD kernel modules by using ndisgen, > however, since one of the driver files was encoded in UTF-8 ndisgen > required converters/libiconv, so that had to be installed first:# cd > /usr/ports/converters/libiconv && make install cleanAll I had to do next > was to run ndisgen and follow the instructions. I should mention that, > for some reason, I had to run ndisgen from another directory than the > driver files were located in, otherwise ndisgen failed to build the > kernel modules. > > Once ndisgen had finished I ended up with three .KO files, which I placed > in the /boot/modules directory. I was unable to load these files using > /boot/loader.conf, so I ended up making a /etc/rc.d script which can be > found here . Save the > script to /etc/rc.d/bcm4313 and run:# chmod a-w+rx /etc/rc.d/bcm4313 > > Done! > > On Mon, Oct 10, 2016 at 5:14 AM, Olaoluwa Omokanwaiye < > laoluomoks@gmail.com> wrote: > >> Hi, >> Pls how can I get the above wireless card to be recognized and function >> on my FreeBSD 10.3 >> >> Thanks >> >> Sent from my iPhone >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >> @freebsd.org" >> > >