Article Title: wireless network adapter active in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In order to experience the convenience of wireless networks, I purchased a laptop. However, the built-in PCI wireless network card does not have a driver in Linux, so it is useless.
By chance, I found the NdisWrapper Software Project (http://ndiswrapper.sourceforge.net) online ). This project does not write a Linux driver, but uses a kernel module to call the Ndis driver in Windows, which cleverly solves the problem that these wireless NICs do not have a Linux driver. The project currently supports Wireless network adapters including Admtek 8211, Atheros AR5004, Broadcom 4301, Broadcom 4309, Broadcom 94306, InProcomm IPN2120, and Intel PRO/Wireless Lan 2100.
The author's network adapter is Intel PRO/Wireless Lan 2100. the Linux installation version is SuSE 9.0 Professional and the kernel version is 2.4.21-166, use NdisWrapper of version 0.3 (the current version of the software is version 0.4 and requires Kernel support of version 2.6 or later ). Although the software provides a very detailed document, the complete installation instructions are provided here because of some problems in the installation process. The following commands are executed as root.
1. To http://prdownloads.sourceforge.net/ndiswrapper/ndiswrapper-0.3.tar.gz? Downloaddownload the ndiswrapper-0.3.tar.gz file.
2. decompress the file. The ndiswrapper directory is generated in the current directory. The command is as follows:
# Tar zxvf ndiswrapper-0.3.tar.gz
3. Go to the ndiswrapper directory, edit the driver/Makefile file, and add the following statement:
CFLAGS + = $ (shell [-f/lib/modules/$ (shell uname-r)/build/include/linux/modversions. h] & echo-DEXPORT_SYMTAB-DMODVERSIONS-include/lib/modules/$ (shell uname-r)/build/include/linux/modversions. h)
If the preceding statement is not added, the following error occurs when you run the "depmod-a" command:
Depmod: *** Unresolved symbols in/lib/modules/2.4.21-166-default/misc/ndiswrapper. o
4. Use the "make" command to compile ndiswrapper.
5. To begin.
6. Create the/usr/local/share/ndiswrapper directory and copy the. sys and. inf files to the new directory. The command is as follows:
# Mkdir/usr/local/share/ndiswrapper
# Cp w70n51. sys w70n51. inf/usr/local/share/ndiswrapper
7. Find the Vendor ID and Device ID of the wireless network adapter. The procedure is as follows:
(1) run the "lspci | grep 2100" command. The result is as follows. 0: 02. 0 indicates the pci id of the wireless network adapter:
. 0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
(2) run the "lspci-n | grep. 0" command based on the pci id to find the Vendor ID and Device ID of the wireless network adapter. The result is as follows:
. 0 Class 0280: 8086: 1043 (rev 04)
We can see from the above that the Vendor ID corresponding to the wireless network card is 8086, and the Device ID is 1043.
[1] [2] Next page