Re: Buffalo/Broadcom wireless N card

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Saturday, May 24, 2008 - 8:40 am

Chris Turner wrote:

Fwiw, I solved this using FreeBSD's 'ndis' - DF maybe ought
to pull that in??

Here's my post to the FBSD Questions list giving the solution
I found (with the List's help), if you don't mind pulling in
the Windows XP driver:

---

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>"
   }

---

And then it should work.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Buffalo/Broadcom wireless N card, Walter, (Mon May 12, 3:37 pm)
Re: Buffalo/Broadcom wireless N card, Sepherosa Ziehau, (Mon May 12, 9:17 pm)
Re: Buffalo/Broadcom wireless N card, Walter, (Tue May 13, 5:20 am)
Re: Buffalo/Broadcom wireless N card, Sepherosa Ziehau, (Tue May 13, 6:05 am)
Re: Buffalo/Broadcom wireless N card, Chris Turner, (Fri May 23, 10:09 pm)
Re: Buffalo/Broadcom wireless N card, Walter, (Sat May 24, 8:40 am)
Re: Buffalo/Broadcom wireless N card, Sepherosa Ziehau, (Fri May 23, 10:21 pm)
Re: Buffalo/Broadcom wireless N card, Chris Turner, (Fri May 23, 10:37 pm)
Re: Buffalo/Broadcom wireless N card, Sascha Wildner, (Tue May 13, 5:28 am)