Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 21:58:45 +0000
From:      jason henson <jason@ec.rr.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: NDIS (for Netgear WG311) How-To?
Message-ID:  <1104443925l.4794l.0l@BARTON>
In-Reply-To: <E7744E2E-5A1F-11D9-8385-000D9333E43C@secure-computing.net> (from ecrist@secure-computing.net on Thu Dec 30 00:01:45 2004)
References:  <3C5D2686-5A0E-11D9-8385-000D9333E43C@secure-computing.net> <1104378755l.2101l.2l@BARTON> <C51C46B5-5A18-11D9-8385-000D9333E43C@secure-computing.net> <C1D1CFF8-5A19-11D9-8385-000D9333E43C@secure-computing.net> <E7744E2E-5A1F-11D9-8385-000D9333E43C@secure-computing.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> 1) Copied the netwg311.sys and wg311v2.inf files frome the Windows =20
>>> 2000 folder from the distribution CD-ROM.
>>>=20
>>> 2) Ran ndiscvt -i /home/ecrist/wg311v2.inf -s /home/ecrist/=20
>>> netwg311.sys -o ndis_driver_data.h as root
>>>=20
>>> 3) Copied ndis_driver_data.h to the /usr/src/sys directory.
>>>=20
>>> 4) Added the following lines to my custom kernel config (GROG)
>>> 		options NDISAPO
>>> 		device ndis
>>>=20
>>> 5) Ran (from /usr/src) make buildkernel KERNCONF=3DGROG
>>>=20
>>> 6) Ran (from /usr/src) make installkernel KERNCONF=3DGROG
>>>=20
>>> 7) Rebooted (no ndis0 listing in ifconfig output)
>>>=20
>>> Any idea what I did wrong?
>>>=20
>>> Thanks.
>>=20
>> WAIT!  I've found something.  Here's a snippet from dmesg:
>>=20
>> ndis0: <NETGEAR WG311v2 802.11g Wireless PCI Adapter> mem =20
>> 0xec800000-0xec81ffff,0xed000000-0xed001fff irq 17 at device 14.0 on =20
>> 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
>>=20
>> Any ideas about that?
>>=20
>> Thanks.
>=20
> I've figured out what files are missing, I just need to know where to =20
> put them for NDIS to find them.  Can someone direct me, please?  It's =20
> late, so tomorrow I'll start pulling apart code to figure it out.
>=20
> I'll post a full how-to for this network card once I get this all =20
> configured.  Thanks for your help.
>=20
> _______________________________________________________
> 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 =20
compiled it in you would not have this problem.  You would just need to =20
put the firmware in /compat/ndis and after root was mounted the driver =20
would load it.  Since you have it compiled in you need to make it so =20
the loader can load it.  Read man ndiscvt starting at byte 5107, or the  =20
-f firmfile section.  I would recommend you recompile without it and =20
use the module.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1104443925l.4794l.0l>