Use ndiswrapper to configure a wireless network card in Linux

Source: Internet
Author: User
Article title: use ndiswrapper to configure a wireless network card 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.
Nowadays, almost every available portable device has built-in wireless functions, but many such cards do not have good Linux drivers.
  
Therefore, unless the portable settings are dual-imported, it is impossible for Linux users to use a wireless card. However, unless Windows is running, it is very unlikely that the laptop can connect to the wireless network.
  
However, many cards already have a solution. A program called ndiswrapper allows Linux kernel modules to be loaded to Windows drivers on some wireless cards. This makes the portable Linux use a wireless card, even if there is no original Linux driver.
  
   First,Go to the SourceForge.net website and find the ndiswrapper copy. Download the latest version (0.8) and install it, as listed below:
  
# Tar xvzf ndiswrapper-0.8.tar.gz
  
# Cd ndiswrapper-0.8
  
# Make install
  
In this case, the ndiswrapper tool is installed and the kernel module is different from the kernel module currently running. You must have valid kernel source code. (For most RPMs, you only need to install the "kernel-source" package.
  
   Next,You need to find a copy of the Windows Driver of the card, which is found from an existing Windows system (if it is a dual import) or downloaded driver, it does not matter. The SourgeForge.net website lists supported cards and provides links for you to download the Windows Driver.
  
Perform the following steps to install the Windows Driver:
  
# Ndiswrapper-I [inf_file]
  
. Inf file is a Windows driver information file. It installs the correct file to/etc/ndiswrapper/[driver]. You can perform the following operations to check whether ndiswrapper matches ndiswrapper.
  
# Ndiswrapper-l
  
This program should list the drivers you just installed. At this time, the ndiswrapper kernel module is loaded as follows:
  
# Modprobe ndiswrapper
  
In this way, the driver is loaded and the system can be used. You need to install the Wireless Toolkit to configure the wireless interface. Check whether the system is consistent with the card. if you simply type iwconfig, the network interface appears. (It is usually wlan0, if it is the only wireless card on the system .)
  
   Next,Use iwconfig or use a specific wireless extension, such as the WEP key and mode, and configure the tool to install the wireless card (the same as installing other wireless cards ).

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.