How to access a wireless LAN in Linux

Source: Internet
Author: User
In a Linux system, how does one access the LAN-Linux Enterprise Application-Linux server application information? For more information, see the following. Overview

At present, WLAN (IEEE 802.11b/a/g) devices are getting cheaper and cheaper. More and more organizations provide wireless LAN access for public and employees. Currently, almost all laptops have built-in wireless NICs. Older laptops can also use PCMCIA wireless NICs. Even desktop computers are often equipped with onboard or USB wireless NICs. On the other hand, wireless LAN access points (AP) are also spread across campuses, office buildings, restaurants, residential buildings, and other places. The wireless LAN facilitates network deployment and makes the so-called mobile computing or nomadic computing possible. This is almost another revolution in our work and lifestyle.

Naturally, for Linux, the necessity to support access to a wireless LAN is beyond doubt. The subsequent sections of this article will be organized as follows: first, we will consider the driver of the wireless network card, then discuss the access to the network using the authentication mechanism, and then briefly introduce some wireless LAN setting tools, finally, let's draw a simple conclusion.

Driver wireless network card

Once the wireless Nic is installed on the computer, the first thing to do is to install the driver to make the NIC work. The wireless network card provides one or more physical layer (PHY) and media access control sub-layer (MAC) functions in the IEEE 802.11 series protocol, and the driver is used to control the wireless network card, provides interfaces that are the same as those of Ethernet and some other management interfaces specific to the wireless LAN.

There is no unified method for driving all NICs from different vendors. However, most NICs can be driven in the following three ways:

Use the NIC driver that comes with the kernel,

Compile and install the driver module for a specific Nic,

Use NDIS wrapper [1] to take advantage of MS-oriented Windows®.

In the following sections, I will use small examples to explain these methods one by one.

Note: Even if you use the last two methods, you must make sure that the local area network is enabled in the kernel Configuration:
CODE: gnawux @ APTITUDE :~ $ Grep CONFIG_NET_RADIO/boot/config-'uname-R'

CONFIG_NET_RADIO = y
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.