📄 install
字号:
The instructions below explain how to install ndiswrapper. This israther short version; more details about installation,troubleshooting, FAQ etc. can be found in the Wiki athttp://ndiswrapper.sourceforge.net/wikiPrerequisites =============You need a recent kernel, at least 2.6.6 or 2.4.26, with header filesfor the kernel. Make sure there is a link to the kernel source fromthe modules directory. The command ls /lib/modules/`uname -r`/buildshould have at least 'include' directory and '.config' file.Downloading ===========Download the latest version of the ndiswrapper sources from here andextract it with the command tar zxvf ndiswrapper-version.tar.gzThis will create ndiswrapper-version directory. Change to thatdirectory and run make uninstall makeLogin as root and run make installInstall Windows driver ======================If this is the first time you install ndiswrapper, you need to installWindows driver for Windows XP (in some cases Windows NT or Windows2000 may also work). First, get a Windows driver that is known towork. See http://ndiswrapper.sourceforge.net/wiki/List for statusabout the device for which you are installing Windows driver. Forthis, you need to identify device ID with lspci -nif it is PCI device or lsusbif it is USB device.Then lookup in that List for the device ID and if a driver is known towork, get that driver. Occassionally, Windows driver on the CD or yourWindows partition may work, but if it doesn't, don't complain - get aknown-to-work driver.Many Windows drivers are distributed either as zipped files or cabfiles. Zipped files, even if they are .exe files, can be extractedwith 'unzip' in Linux; cab files can be extracted with combination of'cabextract' and 'unshield' programs.Once the driver has been unpacked, locate .inf and .sys files. Ifnecessary, move these files so both .inf and .sys are in the samedirectory. Some drivers also come with firmware files, such asfwrad16.bin etc. These files also should be in the samedirectory. Then install the Windows driver with ndiswrapper -i driver.infThis installs .inf file and required .sys and .bin files. Now, see ifinstallation of Windows driver is "valid" with ndiswrapper -lThis should report"driver present, hardware present"for the driver installed and if that driver is for the device that isalready in the system. If device is not present, it should report"driver present"If not, the Windows driver has not been installed properly.Now load ndiswrapper module with modprobe ndiswrapperIf everything worked properly, this should initialize 'wlan0' wirelessdevice, which can be configured with wireless tools, such as'iwconfig', 'wpa_supplicant' etc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -