CentOS 6.0 安装 Atheros ar8151 网卡驱动
CentOS 6.0 安装 Atheros ar8151 网卡驱动
- cp /mnt/AR81Family-linux-v1.0.1.14.tar.gz /usr/local/src
- cd /usr/loal/src
- mkdir drives
- tar –zxvf AR81Family-Linux-v1.0.1.14.tar -C drives
- cd drives
- ./configure
- # 编译
- make
- # 安装
- make install
- # 安装模块
- install /lib/modules/2.6.32-71.el6.x86_64/kernel/drivers/net/atl1e/atl1e.ko
- # 挂载模块
- modprobe atl1e
- ifconfig eht0 192.168.1.1 netmask 255.255.255.0
- # 查看mac地址
- ifconfig eth0
- eth0 Link encap:Ethernet HWaddr 50:E5:49:80:DE:17
- ......
- vi /etc/sysconfig/network-scripts/ifcfg-eth0
- DEVICE=eth0
- ONBOOT=yes
- HWADDR=50:e5:49:80:de:17
- TYPE=Ethernet
- BOOTPROTO=none
- NAME="System eth0"
- IPADDR=192.168.1.252
- NETMASK=255.255.255.0
- DNS2=8.8.4.4
- GATEWAY=192.168.1.1
- DNS1=8.8.8.8
- vi /etc/modprobe.d/atl1e.conf
- alias eth0 atl1e
目录 返回
首页