Install a NDIS-type wireless driver under FreeBSD 5.2.1 ======================================================= iMil , 07 / 2004 Quick'n'dirty ------------- # cd /usr # cvs -d anoncvs@anoncvs.fr.FreeBSD.org:/home/ncvs co src/sys/modules/ndis src/sys/modules/if_ndis src/usr.sbin/ndiscvt src/sys/compat/ndis src/sys/dev/if_ndis # cd /usr/src/usr.sbin/ndiscvt/ && make && make install # cd /usr/src/sys/modules/ndis && make && make install # make load # cd /usr/src/sys/modules/if_ndis (here we suppose you've fetched and uncompressed your card windows driver) # cp /path/to/windows_driver.sys . # cp /path/to/windows_driver.inf . # ndiscvt -i windows_driver.inf -s windows_driver.sys -o ndis_driver_data.h edit Makefile and remove pccarddevs.h # make # make install # make load If nothing went wrong, the ndis0 interface should now exist. Update 08 / 04 It seems like Bill Paul has commited a fix so WG311v2 now WORKS with NDISulator. Update 08 / 04 [OUTDATED, SEE BELOW] ndis0: mem 0xef000000-0xef01ffff,0xef020000-0xef021fff irq 12 at device 18.0 on pci0 ndis0: [GIANT-LOCKED] ndis0: NDIS API version: 5.0 ndis0: Ethernet address: 00:09:5b:8f:d7:df ndis0: link up It works ! and here comes the sysctl I used to setup an Ad-hoc link with the card : #--- begin sysctl dev.ndis.0.dot11DesiredBSSType=0 # 1 == infrastructure, 0 == Ad-hoc sysctl dev.ndis.0.dot11DesiredSSID="my_ssid" sysctl dev.ndis.0.dot11DesiredChannel=6 sysctl dev.ndis.0.dot11DesiredTxRate=6 # 6 == 11 Mbps, see .inf file sysctl dev.ndis.0.dot11AuthenticationMode=0 sysctl dev.ndis.0.PrivacyMode=0 sysctl dev.ndis.0.TxPower=5 # max (0 -auto- to 5) sysctl dev.ndis.0.dot11PowerMode=0 # unmanaged, always connected sysctl dev.ndis.0.dot11NetworkType=1 # 11b ifconfig ndis0 up ifconfig ndis0 192.168.1.1/24 #--- end sysctl's are from wg311v2.inf / official Netgear drivers, and from GPLUS.inf / Dlink DWL 650+ Update 09 / 04 Bill Paul replied on the ifconfig / wicontrol not working, here is the key : --- Go back to the driver CD that came with your card and use the Windows XP driver like you were supposed to. If you do, you should see this instead: twi0: mem 0xf4020000-0xf403ffff,0xf4008000-0xf4009fff irq 10 at device 14.0 on pci0 twi0: NDIS API version: 5.1 <-------- twi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps twi0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps --- I'll try this