NDIS (for Netgear WG311) How-To?

jason henson jason at ec.rr.com
Thu Dec 30 13:54:14 PST 2004


>>> 1) Copied the netwg311.sys and wg311v2.inf files frome the Windows  
>>> 2000 folder from the distribution CD-ROM.
>>> 
>>> 2) Ran ndiscvt -i /home/ecrist/wg311v2.inf -s /home/ecrist/ 
>>> netwg311.sys -o ndis_driver_data.h as root
>>> 
>>> 3) Copied ndis_driver_data.h to the /usr/src/sys directory.
>>> 
>>> 4) Added the following lines to my custom kernel config (GROG)
>>> 		options NDISAPO
>>> 		device ndis
>>> 
>>> 5) Ran (from /usr/src) make buildkernel KERNCONF=GROG
>>> 
>>> 6) Ran (from /usr/src) make installkernel KERNCONF=GROG
>>> 
>>> 7) Rebooted (no ndis0 listing in ifconfig output)
>>> 
>>> Any idea what I did wrong?
>>> 
>>> Thanks.
>> 
>> WAIT!  I've found something.  Here's a snippet from dmesg:
>> 
>> ndis0: <NETGEAR WG311v2 802.11g Wireless PCI Adapter> mem  
>> 0xec800000-0xec81ffff,0xed000000-0xed001fff irq 17 at device 14.0 on  
>> pci0
>> ndis0: NDIS API version: 5.0
>> NDIS: could not find file FwRad16.bin in linker list
>> NDIS: and no filesystems mounted yet, aborting NdisOpenFile()
>> ndis0: init handler failed
>> 
>> Any ideas about that?
>> 
>> Thanks.
> 
> I've figured out what files are missing, I just need to know where to  
> put them for NDIS to find them.  Can someone direct me, please?  It's  
> late, so tomorrow I'll start pulling apart code to figure it out.
> 
> I'll post a full how-to for this network card once I get this all  
> configured.  Thanks for your help.
> 
> _______________________________________________________
> Eric F Crist                  "I am so smart, S.M.R.T!"
> Secure Computing Networks              -Homer J Simpson

Looks like your driver, or card, needs a firmware file.  If you hadn't  
compiled it in you would not have this problem.  You would just need to  
put the firmware in /compat/ndis and after root was mounted the driver  
would load it.  Since you have it compiled in you need to make it so  
the loader can load it.  Read man ndiscvt starting at byte 5107, or the   
-f firmfile section.  I would recommend you recompile without it and  
use the module.



More information about the freebsd-questions mailing list