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.
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Woodhouse | [PATCH 1/3] firmware: allow firmware files to be built into kernel image |
| Linus Torvalds | Linux 2.6.21 |
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
git: | |
| David Miller | [GIT]: Networking |
| Rick Jones | Re: Network latency regressions from 2.6.22 to 2.6.29 |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
