Buffalo/Broadcom wireless N card
tedm at toybox.placo.com
Sat May 17 15:50:09 UTC 2008
Just one more tip when using ndisgen,
If you produce a module that is unstable, try ndisgening with
an older version of the windows driver, that will work sometimes.
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Walter
Sent: Thursday, May 15, 2008 1:03 PM
Subject: Re: Buffalo/Broadcom wireless N card
> I'm trying to compile support for a wireless router into FBSD 7
> using instructions off a FBSD help page I can't locate just now.
> (I'm working on building a network bridge.)
> none0 at pci0:0:10:0: class=0x028000 card=0x03531154 chip=0x432914e4
> rev=0x01 hdr=0x00
> vendor = 'Broadcom Corporation'
> device = 'BCM43XNG 802.11n Network Adapter'
> class = network
> When it boots in the machine which has the card (I compiled
> on another computer) it blows out with a kernel error (writing
> not a non-existent page, I think) when the device shows up.
> It shows as device bge0 but identified as BCM 5701 (iirc).
> Can someone point me in the right direction? Has anyone
> gotten this card to work?
With help from the List I got this to work:
The answer, maybe not the BEST answer, but the answer that
works, is to use the Windows XP driver and FBSD's 'ndis'. My
goal was to build a FBSD router with wireless access to my COTS
wireless router to provide network access in another part of the house.
Get the driver files (.sys & .inf) either from the CD that came with
the card or from the Buffalo web site:
Then, per instructions from the Handbook (11.8.2)
run 'ndisgen' on the driver files:
# ndisgen netg300n.inf cbg300n.sys
A .ko file will be generated: cbg300n_sys.ko. It can be loaded
using 'kldload ./cbg300n_sys.ko' but I wanted it loaded at boot.
So, as 11.8.2 says, copy this file to /boot/modules and add the
following line to /boot/loader.conf:
Also, as I wanted WPA encryption, I added two other lines to
The wireless setup instructions are in the handbook section 29;
Then in /etc/rc.conf add this:
The device 'ndis0' is created by the ndis driver when it handles a
Windows driver. I guess if you have more than one Windows
device and driver you get to sort out the various ndis0/1/2/3/4/5/etc.
If you don't want WPA just use "DHCP" and you don't need the
two extra lines above in loader.conf.
For WPA you need to create the WPA config file:
ssid="<your wireless network name>"
psk="<your personal access key>"
Somehow, it all magically started working. (No doubt due to the
hard work of many FBSD coders.)
I hope I didn't leave out any major part. I'm posting this not only
so other can benefit if they run into a similar problem, but in case
this box burns (HD fails) I'll have a record of what I did to recreate
Thank you again to those that helped.
freebsd-questions at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions