Upgrade NIC driver under Ubuntu

Source: Internet
Author: User
Tags dmesg

Upgrade NIC driver under Ubuntu

Wireless LAN environment, there is a notebook wireless often broken, and other terminals are good, but it does not. So think about checking and updating the driver of the wireless card to see. Here is the operation flow, record.
Read Description: # #为标签,//For comments

# #得到主板上的网卡的大概信息
LSPCI |grep-i Network
06:00.0 Ethernet Controller:realtek Semiconductor Co., Ltd. rtl-8139/8139c/8139c+ (Rev 10)
06:06.0 network Controller:intel Corporation pro/wireless 2200BG [Calexico2] Network Connection (rev 05)
If you are a USB adapter with LSUSB

# #获得无线网卡的具体信息
lspci-v        //v For more information
06:06.0 Network Controller:intel Corporation pro/wireless 2200BG [Calexico2] Network Connection (rev.)
    subsystem: Hewlett-Packard Company nc6120/nx8220/nw8240
    flags:bus Master, Medium Devsel, latency, IRQ 18    memory at b0107000 (32-bit, non-prefetchable) [size=4k]
    capabilities: < Access Denied>
    kernel driver in use:ipw2200
    kernel modules:ipw2200         //Get the model of the wireless card

# #检查驱动是否加载, this item can be skipped.
Lsmod |grep ipw2200
ipw2200 146148 0
LIBIPW 46701 1 ipw2200
cfg80211 172392 2 IPW2200,LIBIPW
lib80211 14570 3 IPW2200,LIB80211_CRYPT_WEP,LIBIPW

# #检查无线网卡驱动的版本号以及异常信息
DMESG |grep ipw2200
...... Slightly
[25.521451] Ipw2200:intel (R) pro/wireless 2200/2915 Network Driver, 1.2.2KMPRQ//driver version 1.2.2
[25.521458] Ipw2200:copyright (c) 2003-2006 Intel Corporation
[25.935312] ipw2200 0000:06:06.0:pci INT A, GSI (level, low), IRQ 18
[25.935333] ipw2200:detected Intel pro/wireless 2200BG Network Connection
[26.789821] ipw2200:detected geography ZZR (802.11BG channels, 0 802.11a Channels)
[484.266461] ipw2200:failed to send system_config:already sending a command. Abnormal
[6471.372035] ipw2200:failed to send system_config:already sending a command.
[10682.791894] ipw2200:failed to send associate:already sending a command.
[11005.568095] ipw2200:failed to send Card_disable:command timed out. Abnormal
[11516.823602] ipw2200:failed to send system_config:already sending a command.
[16597.424064] ipw2200:failed to send associate:already sending a command.
[18535.294195] Ipw2200:firmware error detected.        Restarting. Abnormal
[18535.295007] ipw2200:failed to up device//exception
[18535.295487] ipw2200 0000:06:06.0:pci INT A disabled
...... Slightly

# #下载相应的固件
Internet search ipw2200 driver, in http://ipw2200.sourceforge.net/firmware.php found the driver, select the latest firmware,
After clicking on the corresponding firmware link, a license document appears, which can be ignored and directly clicked on the agree below.
I chose driver versions v1.1.1 and newer firmware v3.1
Both http://bughost.org/firmware/ipw2200-fw-3.1.tgz

# #安装固件
Tar zxvf ipw2200-fw-3.1.tgz, go to unzipped directory CD ipw2200-fw-3.1, copy firmware MV/LIB/FIRMWARE/IPW2200-BSS.FW/TMP;CP ipw2200-bss.fw/lib/ Firmware/
Make the firmware effective.
Perform rmmod ipw2200 && lsmod Verify that the driver has been uninstalled.
corresponding DMESG is [297.215960] ipw2200 0000:06:06.0:pci INT A disabled
Modprobe ipw2200, mount the new driver, and then execute Iwconfig will see the NIC again. Iwconfig for viewing wireless connection conditions
OK, complete, you can scan the hotspot with Iwlist scan.

# #再用dmesg检查
[27287.321763] Ipw2200:intel (R) pro/wireless 2200/2915 Network Driver, 1.2.2KMPRQ//Version no change
[27287.321776] Ipw2200:copyright (c) 2003-2006 Intel Corporation

# #安装完毕

There is no change in the version, which indicates that the previous driver is up-to-date. The problem may not be solved at all, followed by observation.
However, after this toss, also summed up some experience.
If I drop the line again, I will not go to something heavy, even slow. Direct Rmmod ipw2200 && modprobe ipw2200 quickly re-connected-tested multiple commands and found this to be the fastest.

Add a simple iwconfig command
Iwconfig eth* essid xxxx key xxx
Iwconfig eth* Essid xxxx key Open
Iwconfig eth* Power off
Ifconfig eth* up
Dhclient eth*

Upgrade NIC driver under Ubuntu

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.