Date: Wed, 23 Mar 2005 15:28:44 +0200 From: Lourik Malan <lourik@wtec.co.za> To: freebsd-questions@freebsd.org Subject: Re: Wireless Network NDIS Message-ID: <200503231528.44589.lourik@wtec.co.za> In-Reply-To: <42416C54.5010303@gmx.de> References: <200503231509.19969.lourik@wtec.co.za> <42416C54.5010303@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
hi There i've got the following files from the winxp folder Fw1130.bin FwRad16.bin FwRad17.bin TNET1130.INF radio16.bin radio17.bin tnet1130.cat tnet1130.sys i copied all of them to the correct folder /usr/src/sys/modules/if_ndis root solar:/usr/src/sys/modules/if_ndis# ndiscvt -i TNET1130.INF -s tnet1130.sys -f Fw1130.bin FwRad16.bin FwRad17.bin radio16.bin radio17.bin -o ndis_driver_data.h objcopy -I binary -O elf32-i386-freebsd -B i386 Fw1130.bin Fw1130.bin.o objcopy --redefine-sym _binary_Fw1130_bin_start=fw1130_bin_start --strip-symbol _binary_Fw1130_bin_size --redefine-sym _binary_Fw1130_bin_end=fw1130_bin_end Fw1130.bin.o Fw1130.bin.o ld -Bshareable -d -warn-common -o Fw1130.bin.ko Fw1130.bin.o root solar:/usr/src/sys/modules/if_ndis#make && make install # kldload ndis # kldload if_ndis this all works fine, but i can't compile it in permenantly and the wireless pcmcia card is not working Any help will be greatly appeciated On Wednesday 23 March 2005 15:17, Phil Schulz wrote: > On 03/23/05 14:09, Lourik Malan wrote: > > HI there > > > > I get the following when i try an compile the following into the kernel. > > > > options NDISAPI > > device ndis > > device wlan > > > > /usr/src/sys/dev/if_ndis/if_ndis.c:85:30: ndis_driver_data.h: No such > > file or directory > > /usr/src/sys/dev/if_ndis/if_ndis_pccard.c:66:30: ndis_driver_data.h: No > > such file or directory > > /usr/src/sys/dev/if_ndis/if_ndis_pci.c:65:30: ndis_driver_data.h: No such > > file or directory > > mkdep: compile failed > > *** Error code 1 > > > > > >From ndis(4): > > "To build a functional driver, the user must have a copy of the driver > distribution media for his or her card. From this distribution, the > user must extract two files: the .SYS file containing the driver binary > code, and its companion .INF file, which contains the definitions for > driver-specific registry keys and other installation data such as device > identifiers. These two files can be converted into a ndis_driver_data.h > file using the ndiscvt(8) utility. This file contains a binary image of > the driver plus registry key data. When the ndis driver loads, it will > create sysctl(3) nodes for each registry key extracted from the .INF file." > > So, in short: You'll need to run the supplied Windows driver through > ndiscvt(8) before you can build the ndis module. > > Regards, > > Phil. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Lourik Malan Woodlands Technologies
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503231528.44589.lourik>