Broadcom 4313 Guide - BSD

Users browsing this thread: 1 Guest(s)
exaem
Members
So I've been having trouble installing the Broadcom 4313 kernel modules on BSD and stumbled across a few guides on the internet detailing how to do it. However, everyone I followed seemed to mess it up and I'd end up getting kernel panics. Combining them all seemed to work.

Make sure you have the /usr/src kernel tree installed

Quote:ls /usr/src

If you don't, install it.

Make sure you have libiconv installed

Quote:cd /usr/ports/converters/libiconv; make; make install clean

Download the Broadcom BCM43 package installer

Quote:fetch http://gugus69.free.fr/freebsd/Broadcom_..._win5x.tgz; tar -xvzf Boadcom_BCM43xx_5.100.235.19_win5x.tgz

cd into the folder

Quote:cd Broadcom_BCM43xx_5.100.235.19_win5x/

install ndisulator

Quote:instructions: https://github.com/NDISulator/ndisulator/tree/stable9

run ndisgen

Quote:ndisgen

follow these steps

Quote:Type 3 for "Convert driver"
INF Filename: bcmwl5.inf
SYS Filename: bcmwl564.sys (or bcmwl5.sys for FreeBSD-i386)
Firmware Files: kept empty

Copy the generated kernel module to /boot/modules

Quote:cp bcmwl564_sys.ko (bcmwl5_sys.ko if not 64 bit) /boot/modules

Edit your /etc/rc.conf with the following

Quote:kld_list='bcmwl564_sys'
#kld_list='bcmwl5_sys' if not 64 bit
wlans_ndis0="wlan0"
wpa_supplicant_enable=”YES”
ifconfig_wlan0="WPA SYNCDHCP”

Edit your /boot/loader.conf with the following
Quote:wlan_ccmp_load=”YES”
wlan_tkip_load=”YES”

Setup your /etc/wpa_supplicant.conf
Quote:ap_scan=1

network={
ssid=”ssid here”
psk=”security code here”
}

No doubt I messed up somewhere in combining this so if you use it and run into a problem it's probably my fault and shouldn't be too had to fix.


Messages In This Thread
Broadcom 4313 Guide - by exaem - 01-10-2013, 06:51 PM
RE: Broadcom 4313 Guide - by bhamdani - 31-10-2013, 05:49 AM
RE: Broadcom 4313 Guide - by zygotb - 08-11-2013, 07:04 PM
RE: Broadcom 4313 Guide - by zygotb - 09-11-2013, 05:03 PM
RE: Broadcom 4313 Guide - by jobss - 13-11-2013, 11:57 AM
RE: Broadcom 4313 Guide - by exaem - 18-12-2013, 05:04 PM