Debian wlan Installation

Source: Internet
Author: User
Debian wlan installation-Linux Release Technology-Debian information. For more information, see the following. Install the ndiswrapper package (to be installed under the ROOT user)

Apt-get install ndiswrapper-source ndiswrapper-utils

Apt-get install wireless-tools

Download the windows Driver of the wireless network card

Ndiswrapper-I XXXX. inf

The kernel headers package for installing linux is kernel-headers-2.6.8-3-686.

Apt-get install kernel-headers-2.6.8-3-686

Then install the ndiswrapper module of the kernel.

Cd/usr/src/

Tar jxvf ndiswapper-source.tar.bz2

Cd./modules/ndiswrapper

Make

Make install

After compilation, You can initialize this module.

Depmod-

Modprobe ndiswrapper

Add ndiswrapper to the kernel

Ndiswrapper-m

Backup Now

Cp/etc/modules/etc/modules_backup

Echo "ndiswrapper">/etc/modules

Now, we can basically drive wlan. The following are some configuration commands.

Iwlist wlan0 scan

Iwconfig wlan0 essid

Iwconfig wlan0 key open

Iwconfig

This is to write the configuration information of the AP to be connected into the startup.

Cp/etc/network/interfaces/etc/network/interfaces_backup

Gedit/etc/network/interfaces

The content of interfaces is as follows:

Iface wlan0 inet dhcp

Pre-up iwconfig wlan0 essid "XXXXX" & iwconfig wlan0 key open XXXXXXXXXX

Auto wlan0

Because I don't know what the problem is, both wired and wireless devices in my machine cannot work normally at the same time. All the wireless connections I have been using will temporarily stop the wired configuration.
Related Article

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.