Article Title: Install the D-linkDWL-610 wireless NIC Driver on RedHat9. 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.
The operating system is Red hat9 and the kernel version is 2.4.20-8.
Ndiswrapper is such a project. It does not directly write the driver program of the wireless network adapter in linux, but uses the driver program of the wireless network adapter in windows 2000/xp, implement the windows api and ndis interface in the Linux kernel, so as long as the inf file of the driver in windows 2000/xp is provided (obtained from the installation disc ), after installation, you can use the driver for the NIC in linux under windows \ system32 \ or windows \ system32 \ driver.
Ndiswrapper on source forge on home page is: http://sourceforge.net/projects/ndiswrapper/
The ndiswrapper version used: 1.1 (it must be none of the above)
Ndiswrapper1.0 is a threshold. In earlier versions, you cannot use make uninstall to uninstall the current ndiswrapper. When you decide to use a new ndiswrapper version, we usually need to uninstall the previous version.
Run modprobe-r ndiswrapper to uninstall the kernel module, and run ndiswrapper-e drivername to uninstall a specific driver, delete the driver folder in the/etc/ndiswrapper directory and run the make uninstall command to uninstall the program.
If you use a version earlier than ndiswrapper1.0, You need to manually uninstall it as follows:
1. Delete the 'ndiswrapper' executable files under/usr/sbin.
2. Delete the 'loadndisdriver 'executable file under/sbin.
3. Delete the ndiswrapper. o kernel module File under/lib/modules/'uname-R'/misc.
Before compiling and installing a new ndiswrapper package, make sure that there is a build directory under/lib/modules/'uname-R, is a symbolic link to the/usr/src/linux-2.4.20-8 directory. It is best to re-compile the kernel as follows:
Switch to the/usr/src/linux-2.4.20-8 directory and run make mrproper (ensure the source tree is clean)
View the Makefile in the directory and remove the extm words of extendversion.
Run make menuconfig to save the configuration file without modification. Run make dep.
Decompress the downloaded ndiswrapper.tar.gz file, switch to the decompressed directory, run make clean (or make distclean, make distclean is not available before version 1.0), and run make install directly to check whether there are any errors, ndiswrapper version 0.10 can be compiled normally. Version 1.0 cannot be compiled on the kernel of this version. Version 1.1 can be used, version 1.2 can be used, and version 1.3rc1 cannot be used.
After make install is complete, use the ndiswrapper-I/path/to/inf/file/in/windows Command to specify an inf file. for d-link dwl 610, the file is/mnt/winc/winnt/system32/drivers/netdlwl. inf (available from the CD). If the driver is successfully installed, the following message is displayed: install drivername. then, use ndiswrapper-l (letter) to list the loaded drivers. The loaded driver information and hardware information should be included. Although the 0.10 version can make install successfully, in addition, ndiswrapper-I inffile is successfully installed, but when running ndiswrapper-l, the system prompts that no hardware is inserted. I think the driver version is too old. Version 1.1 can make install successfully. When running ndiswrapper-I inffile, a lot of unknown lines *** will be displayed, so ignore it. Use ndis-l to check whether the hardware status is normal. Run modprobe ndiswrapper. Version 1.1 can be loaded successfully. version 1.2 cannot be successful in insmod. If the status indicator of the wireless network adapter is not on after loading, it is normal to use the cardctl eject and cardctl insert commands to re-insert the card. You can use iwconfig to configure the NIC. My work environment configuration is:
Iwconfig wlan0 mode ad-hoc
Iwconfig wlan0 essid llxm
Iwconfig wlan0 freq 1
Ifconfig wlan0 192.168.6.10
Find another machine with the same ad-hoc configuration and test it successfully. Finally, use ndiswrapper-m to write the relevant configuration information.
There may be no related device in redhat-config-network. I did not continue to study or add the device.
After you restart the machine, you only need to run modprobe ndiswrapper, cardctl eject, and cardctl insert to load the driver. The driver has not been read for automatic loading at startup. You need to use iwconfig and ifconfig to reconfigure the above configuration.