Install a wireless Nic under Fedora7

Source: Internet
Author: User
Tags get ip
Install a wireless network adapter under Fedora7-general Linux technology-Linux technology and application information. The following is a detailed description. Author: Flysky

Take TP-LINK TL-WN620G as an example to describe how to install a wireless network card under Fedora.

1. Install the kernel and kernel development kit

The 2.6 kernel has an enabel/disable 4 K stack size option. The default Fedora kernel disables this option and uses a 4 K stack. When you load the kernel module modprobe ndiswrapper, a warning is displayed. the driver you run may need a stack larger than 4 K. Therefore, the 16 K stack kernel needs to be installed.

Download address: http://www.linuxant.com/driverlo... fc7-kernel-i686.php

First install the kernel:
Rpm-ivh kernel-2.6.21-1.3194.fc7.stk16.i686.rpm

After the installation, restart the system. When the system is started, select 16 Kstack size kernel to start;

Then install the kernel development kit:
Rpm-ivh kernel-devel-2.6.21-1.3194.fc7.stk16.i686.rpm

2. Install ndiwwrapper

Download ndiswrapper source http://sourceforge.net/projects/ndiswrapper/

In this article, version 1.52 is used.

(1) create a link to the kernel source code

Ln-s/usr/src/kernels/2.6.21-1.3194.fc7.stk16-i686 // lib/modules/2.6.21-1.3194.fc7.stk16/build

(2) decompress and install ndiswrapper

Tar-zxvf ndiswrapper-1.52.tar.tz

Cd ndiswrapper-1.52

3. Compile ndiswrapper

Make uninstall

Make distclean

Make

Make install

4. Install windows driver

Download the driver for TP-LINK usb NIC (tl-wn620g) for Windows xp. Find ar5523.bin ar5523.sys net5523.cat net5523.inf oem14.inf Setup. DIY in the driver of xp.

(These are found by the driver genie in windows) and put these files in the agreed directory. Install the windows xp driver to ndiswrapper. Note that you need to insert the USB wireless Nic to the USB port, and then enter the following command:

Ndiswrapper-I net5523.inf

Ndiswrapper-I oem14.inf

In this step, install the appropriate file under/etc/ndiswrapper/. You can perform the following operations to check and confirm ndiswrapper: ndiswrapper-l

5. Load the kernel module

Before loading: depmod-

Then, load the module:
Modprobe ndiswrapper

After the network card is successfully loaded, the light will start to flash normally.

Run dmesg | tail to check whether it is installed.
Usb 5-8: reset high speed USB device using ehci_hcd and address 2
Ndiswrapper: driver net5523 (, 02/24/2005, 1.1.0.25) loaded
Wlan0: ethernet device 00: 0a: eb: a5: 81: e0 using NDIS driver: net5523, version: 0x10001, NDIS version: 0x501, vendor :'', 0CF3: 0001. f. conf
Wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
Usbcore: registered new driver ndiswrapper

The above information indicates that the device has been installed.

Set Information about the wireless network card

Run the iwlist wlan0 scan command to view all wireless networks.

Iwconfig wlan0 allows you to view the settings of the wireless network card.

Set the AP name: iwconfig wlan0 essid "ap name"

Set the key: iwconfig wlan0 key restricted s: password

Enable the wireless network adapter: ifconfig wlan0 up

Get IP Address: dhclient wlan0

At this point, the configuration is complete.
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.