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,
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 clean
All 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!