Date: Wed, 12 Oct 2016 13:25:05 +0100 From: Olaoluwa Omokanwaiye <laoluomoks@gmail.com> To: JD <jd1008@gmail.com> Cc: Emre Gundogan via freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Broadcom wireless BCM4313 Message-ID: <CADZMNXKacAygzrkcv-PoyyGoiMVxaCSyx4Eg6=a=PhgKwamhDQ@mail.gmail.com> In-Reply-To: <CAN2YBg6whC0YRz-RAGMxL=YWEjgxYZcTvDn389rEk%2BA5sdxbVw@mail.gmail.com> References: <46DF07BE-6D57-4B7E-BBAB-C257791E072C@gmail.com> <CAN2YBg6whC0YRz-RAGMxL=YWEjgxYZcTvDn389rEk%2BA5sdxbVw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <jd1008@gmail.com> 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 <http://forums.freebsd.org/showthread.php?t=33728>. 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" >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADZMNXKacAygzrkcv-PoyyGoiMVxaCSyx4Eg6=a=PhgKwamhDQ>