sh 为Atheros AR8161构建驱动程序,安装它们,启动接口并获取IP地址。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 为Atheros AR8161构建驱动程序,安装它们,启动接口并获取IP地址。相关的知识,希望对你有一定的参考价值。

#!/bin/sh

# ejp/imagination/20.12.2012: install-eth-drivers.sh
# Build the ethernet drivers for Atheros AR8161,
# install them, bring the interface up and get
# an IP address.

set -e

# Get the password before the user gets a cup of tea
sudo echo ""

cd /home/user/compat-wireless-2012-03-12-p

# Clean up any existing builds
make clean

./scripts/driver-select alx

# Build it
make -j 4

# Install it
sudo make install

sudo ./scripts/alx-enable atl1c
sudo ./scripts/alx-enable alx

# Activate it
sudo modprobe alx

# Bring the interface up
sudo ifconfig eth0 up

# Get an IP
sudo dhclient eth0

以上是关于sh 为Atheros AR8161构建驱动程序,安装它们,启动接口并获取IP地址。的主要内容,如果未能解决你的问题,请参考以下文章

求atheros AR9485无线网卡驱动

有atheros ar9485的无线网卡驱动么

《转》atheros无线驱动之:系统初始化

CentOS 有线无法上网 解决办法 AR8161安装

Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)

[转载]ubuntu Atheros Communications Device 1083 驱动