分类: ubuntu系统操作 |
1 输入: lspci 或者 lspci –v 或 lspci–vv
会显示所有的硬件信息和版本,然后在网上搜索linux下的驱动程序
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
其中: Ethernet controller: 是网卡型号
我的网卡型号:Ethernet controller: Intel Corporation Device 1502 (rev 04)
网驱动为:e1000e-1.6.2.tar.gz, 高版本可兼容低版本
下载地址:
http://tenet.dl.sourceforge.net/project/e1000/e1000e stable/1.6.2/e1000e-1.6.2.tar.gz
安装步骤:
his worked so easily for me. I went to sourceforge and downloaded the latest stable version, then followed the instruction in the README after I unzipped the archive. Literally all I had to do was:
tar -xvf e1000e-1.6.2.tar.gz // 解压
cd e1000e-1.6.2/src/ // 找到程序所在目录
sudo make install // 安装
sudo modprobe e1000e // 载入
sudo dhclient eth0 // dhclient 是直接控制 eth 来进行网络操作自动获取 IP
Done. Thanks for the help.
2 查看是否有网卡驱动
在终端输入 ifconfig –a
如果只出现 lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:1650 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1650 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
说明没有网卡驱动。
如果还 eth0 Link encap:以太网 硬件地址 00:1c:bf:ca:14:d7
inet 地址:192.168.0.104 广播:192.168.0.255 掩码:255.255.255.0
inet6 地址: fe80::21c:bfff:feca:14d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:1242 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:986 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:415788 (406.0 KB) 发送字节:185256 (180.9 KB)
说明网卡驱动安装没有问题