Quand on veux utiliser sa carte WiFi sous Linux alors qu'il y a aucun driver natif pour Linux ! Il faut utiliser alors NDISwrapper qui permet d'utiliser le driver Windows sous Linux.

Dans ce guide, je vais vous montrez comment récupérer les fichiers inf, sys... nécessaires à NDISwrapper sans avoir de Windows sous la main !

On commence par installer cabextract et unshield qui permet de "depacker" les "exe"
Lance la commande suivante en root :
apt-get install cabextract unshield

Recuperer votre driver dans mon cas, c'est le driver 4.1 de la WN511T
On dezippe le fichier avec unzip
unzip wn511t_4_1_setup.zip

Archive: wn511t_4_1_setup.zip
inflating: wn511t_4_1_setup.exe'

On le depack l'exe avec cabextract
cabextract wn511t_4_1_setup.exe

Extracting cabinet: wn511t_4_1_setup.exe

extracting Disk1/data1.cab
extracting Disk1/data1.hdr
extracting Disk1/data2.cab
extracting Disk1/dbgprint.dll
extracting Disk1/DIFxAPI.dll
extracting Disk1/DPInstia64.exe
extracting Disk1/DPInstx64.exe
extracting Disk1/ikernel.ex_
extracting Disk1/ISL.exe
extracting Disk1/layout.bin
extracting Disk1/RMReg.exe
extracting Disk1/RMV.exe
extracting Disk1/RM_DEV_CODE.dll
extracting Disk1/Setup.exe
extracting Disk1/Setup.ini
extracting Disk1/setup.inx
extracting Disk1/Wlan.in
extracting Disk1/_isuser.dll

All done, no errors.


On "decab" les fichiers cab avec unshield
unshield x Disk1/data1.cab

Cabinet: Disk1/data1.cab
extracting: ./RemoveInstall/ISL.exe
extracting: ./RemoveInstall/COI.EXE
extracting: ./RemoveInstall/RMV.exe
extracting: ./RemoveInstall/dbgprint.dll
extracting: ./RemoveInstall/DRC.EXE
extracting: ./RemoveInstall/RM_DEV_CODE.dll
extracting: ./_Support_English_Files/_IsRes.dll
extracting: ./_Engine_Engine_Files/corecomp.ini
extracting: ./_Support_Japanese_String_Tables/value.shl
extracting: ./_Support_Non-SelfRegistering/isrt.dll
extracting: ./_Support_Non-SelfRegistering/default.pal
extracting: ./APP/GTNDIS3.VXD
extracting: ./APP/GTNDIS5.sys
extracting: ./APP/GTW32N50.dll
extracting: ./APP/PCARmDrv.exe
extracting: ./APP/desktop_32x32.ico
extracting: ./APP/desktop_green_16x16.bmp
extracting: ./APP/uninstall.ico
extracting: ./APP/Marvell.dll
extracting: ./APP/ProcNICs.dll
extracting: ./APP/Security.dll
extracting: ./APP/TcpWindowSize.exe
extracting: ./APP/NETWEP.dll
extracting: ./APP/ML_JP_BigFont_WN511T.ini
extracting: ./APP/ML_GR_WN511T.ini
extracting: ./APP/ML_GR_BigFont_WN511T.ini
extracting: ./APP/ML_JP_WN511T.ini
extracting: ./APP/ML_US_BigFont_WN511T.ini
extracting: ./APP/ML_US_WN511T.ini
extracting: ./APP/pos.ini
extracting: ./APP/SmartWizard.dll
extracting: ./APP/WN511T.exe
extracting: ./APP/Mrv8000x.exe
extracting: ./APP/oasisrc0c.dll
extracting: ./APP/AutoLinkLib.dll
extracting: ./APP/Dev64.exe
extracting: ./APP/DevCon.dll
extracting: ./APP/DevCon64.dll
extracting: ./APP/Mrv8000x.dll
extracting: ./APP/MrvGINA_.dll
extracting: ./APP/oasisrc07.dll
extracting: ./APP/oasisrc0a.dll
extracting: ./APP/aes.dll
extracting: ./APP/oasisrc10.dll
extracting: ./APP/odSupp_M.dll
extracting: ./APP/etsitxpwr.ini
extracting: ./APP/fcctxpwr.ini
extracting: ./APP/jptxpwr.ini
extracting: ./APP/Wlan.ini
extracting: ./Marvell/DIFxAPI.dll
extracting: ./Marvell/gACS.dll
extracting: ./Marvell/gNG.dll
extracting: ./_Support_German_String_Tables/value.shl
extracting: ./_Support_Japanese_Files/_IsRes.dll
extracting: ./_Engine_ScriptEngine/iscript.dll
extracting: ./GTNDIS/GTNDIS3.VXD
extracting: ./GTNDIS/GTNDIS5.sys
extracting: ./GTNDIS/GTW32N50.dll
extracting: ./_Support_German_Files/_IsRes.dll
extracting: ./_Support_English_Intel_32_Files/_isuser.dll
extracting: ./Help/WN511T_Networks_US.rtf
extracting: ./Help/WN511T_About_JP.rtf
extracting: ./Help/WN511T_About_US.rtf
extracting: ./Help/WN511T_Networks_GR.rtf
extracting: ./Help/WN511T_Networks_JP.rtf
extracting: ./Help/WN511T_About_GR.rtf
extracting: ./Help/WN511T_Settings_GR.rtf
extracting: ./Help/WN511T_Settings_JP.rtf
extracting: ./Help/WN511T_Settings_US.rtf
extracting: ./Help/WN511T_Statistics_GR.rtf
extracting: ./Help/WN511T_Statistics_JP.rtf
extracting: ./Help/WN511T_Statistics_US.rtf
extracting: ./_Support_German_OS_Independent_Files/license.TXT
extracting: ./Vista32/mrvw147.sys
extracting: ./Vista32/netmw147.INF
extracting: ./Vista32/cb8xn6x.cat
extracting: ./Vista32/DPInstx64.exe
extracting: ./Vista32/DPInstia64.exe
extracting: ./Driver/NetMW14x.inf
extracting: ./Driver/netmw143.sys
extracting: ./Driver/netmw145.sys
extracting: ./Vista64/mrvw148.sys
extracting: ./Vista64/netmw148.INF
extracting: ./Vista64/CB8xN6x.cat
extracting: ./Vista64/DPInstx64.exe
extracting: ./Vista64/DPInstia64.exe
extracting: ./_Support_Japanese_Intel_32_Files/_Isuser.dll
extracting: ./_Support_English_String_Tables/value.shl
extracting: ./_Support_Language_Independent_OS_Independent_Files/LICENSE.txt
extracting: ./_Support_Language_Independent_OS_Independent_Files/RMAPP.exe
extracting: ./_Support_German_Intel_32_Files/_Isuser.dll
extracting: ./_Engine_SelfRegistering/ctor.dll
extracting: ./_Engine_SelfRegistering/objectps.dll
extracting: ./_Engine_SelfRegistering/iuser.dll
extracting: ./_Engine_Kernel_Placeholder/iKernel.exe
---
95 files

C'est le dossier /Driver/ qui nous intéresse, il suffit de recopier le contenu (fichiers inf et sys) du dossier /Driver/ et d'utiliser NDISwrapper pour charger le driver.

On remarque aussi qu'il a aussi un dossier Vista32 et Vista64 qui contient les fichiers inf pour Vista 32bits et 64bits, actuellement NDISwrapper ne supporte pas encore les fichiers inf de Vista !