Re: Buffalo/Broadcom wireless N card



Walter wrote:

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@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:
http://www.buffalotech.com/support/downloads/

Then, per instructions from the Handbook (11.8.2)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html
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:

cbg300n_sys_load="YES"

Also, as I wanted WPA encryption, I added two other lines to
loader.conf:
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
The wireless setup instructions are in the handbook section 29;
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

Then in /etc/rc.conf add this:
ifconfig_ndis0="WPA DHCP"
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:
/etc/wpa_supplicant.conf:
network={
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
it. <g>

Thank you again to those that helped.

Walter
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Shared Epson Printer Wont Print
    ... > The best thing you can do is follow their instructions, ... > "Once you have installed the driver directly from the cd on each client ... >> Even with the print server, some of the features of the AIO may not be available to the network, particularly the scanning feature. ...
    (microsoft.public.windowsxp.network_web)
  • RE: English and localized XP versions behave differently with RIS?
    ... It IS the instructions that you post, ... A quick search uncovered this driverpackage especially compiled for RIS. ... Follow the rest of the Microsoft instructions for adding a new network ... driver to the RIS installation. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Linux Firewall/LoadBalancer
    ... The bonding driver originally came from Donald Becker's beowulf patches for ... Build kernel with the bonding driver ... "Bonding driver support" in the "Network device support" section. ... so the bonding driver will automatically load when the bond0 interface is ...
    (Security-Basics)
  • [SPARC] Problem with "Happy Meal" drivers
    ... I also use two network cards handled by your driver: ... # Loadable module support ... Unimplemented SPARC system call 188 ...
    (Linux-Kernel)
  • Re: Cant print to my Windows 98 shared printer from my XP compute
    ... >>I can't print from the printer attached to my Windows 98 machine using my XP ... >>not have the correct printer driver installed etc". ... >>clicked OK to continue and selected the built-in XP Lexmark Z52 driver from ... >>Add Printer wizard and has a pipe attached, indicating a network printer. ...
    (microsoft.public.windowsxp.network_web)