Install a wireless network adapter using ndiswrapper and linux-wlan-ng in linux
Source: Internet
Author: User
In linux, use ndiswrapper and linux-wlan-ng to install the wireless network adapter-Linux general technology-Linux technology and application information. For more information, see the following. The key to installing a wireless network card in linux is whether the driver is correct. Here we will introduce two solutions, namely ndiswrapper or linux-wlan-ng.
The former virtualizes the windows api on the linux platform, and then uses the driver in windows to drive the NIC. The latter directly implements the driver.
1. ndiswrapper
See http://ndiswrapper.sourceforge.n... ex. php/Installation
1.1 preparations
-Install the source code of the kernel, under Redhat is the kernel-source.rpm package.
-Download the latest ndiswrapperpackage at http://sourceforge.net/projects/ndiswrapperto decompress the package.
-Prepare the driver for the NIC in win. The driver should be the latest, which is specified for XP. Here I use a linksys USB-wlancard. The driver is WUSB54AG. inf and WUSB54AG. sys.
1.2 Installation
-Compile and install ndiswrapper and use it directly.
Make install
You can.
-Add the driver, switch to the directory where the driver is stored, and run
Ndiswrapper-I WUSB54AG. inf
Pass
Ndiswrapper-l
Check that the drivers have been installed.
Load 1.3
Ndiswrapper is a module compiled into the kernel, so you need to load it to work.
Ndiswrapper-m
Only one execution is required.
Modprobe ndiswrapper
If no error message is displayed, you can view the wlan0 device through iwconfig. However, you cannot determine whether the NIC is correctly driven.
Must Pass
Iwlist wlan0 scan
Try it to see if you can find an Access Point nearby. If it can be found, it indicates that the NIC has been successfully driven, you can use it.
The subsequent configuration is similar to that of a common Nic.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.