![如何在没有互联网连接的情况下安装 Atheros AR8161 驱动程序?](https://linux22.com/image/33811/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%B2%A1%E6%9C%89%E4%BA%92%E8%81%94%E7%BD%91%E8%BF%9E%E6%8E%A5%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E5%AE%89%E8%A3%85%20Atheros%20AR8161%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%EF%BC%9F.png)
如何在没有互联网连接的情况下为 fedora19 安装 Atheros AR8161 驱动程序?
答案1
对于fresh
Fedora 19 的安装: 第 1 步:从能够访问互联网的计算机上,从以下位置下载以下软件包: pkgs.org
cpp-4.8.1-1.fc19.x86_64.rpm
gcc-4.8.1-1.fc19.x86_64.rpm
gcc-c++-4.8.1-1.fc19.x86_64.rpm
glibc-2.17-14.fc19.x86_64.rpm
glibc-common-2.17-14.fc19.x86_64.rpm
glibc-devel-2.17-14.fc19.x86_64.rpm
glibc-headers-2.17-14.fc19.x86_64.rpm
kernel-devel-3.9.5-301.fc19.x86_64.rpm
kernel-headers-3.9.5-301.fc19.x86_64.rpm
libmpc-1.0.1-1.fc19.x86_64.rpm
libstdc++-devel-4.8.1-1.fc19.x86_64.rpm
perl-5.16.3-264.fc19.x86_64.rpm
perl-Carp-1.26-243.fc19.noarch.rpm
perl-Encode-2.51-1.fc19.x86_64.rpm
perl-Filter-1.49-1.fc19.x86_64.rpm
perl-libs-5.16.3-264.fc19.x86_64.rpm
perl-macros-5.16.3-264.fc19.x86_64.rpm
perl-PathTools-3.40-1.fc19.x86_64.rpm
perl-Pod-Escapes-1.04-264.fc19.noarch.rpm
perl-Pod-Simple-3.20-264.fc19.noarch.rpm
perl-Scalar-List-Utils-1.27-246.fc19.x86_64.rpm
perl-Socket-2.009-2.fc19.x86_64.rpm
perl-threads-1.87-1.fc19.x86_64.rpm
perl-threads-shared-1.43-2.fc19.x86_64.rpm
步骤2:将它们复制到机器上并运行命令:
# yum install *.rpm
第三步:下载兼容驱动程序-2013-03-04-u.tar.bz2然后运行命令:
# tar -xf compat-drivers-2013-03-04-u.tar.bz2
# cd compat-drivers-2013-03-04-u
# ./scripts/driver-select alx && make && make install
# reboot
取自:http://commandlinewani.blogspot.in/2013/11/how-to-install-atheros-wired-lan.html
答案2
您需要检查系统上的以下软件包:内核头文件、内核开发文件和 gcc 编译器:
rpm -qa | grep 'kernel-headers\|kernel-devel\|gcc'
之后,从这里下载alx驱动程序:
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/04/compat-drivers-2013-03-04-u.tar.bz2
解压出来,然后编译
tar -xjf compat-drivers-2013-03-04-u.tar.bz2
cd compat-drivers-2013-03-04-u
./scripts/driver-select alx
make
(现在,作为 root)
make install
modprobe alx
有一个功能请求将 alx 包含在 Fedora 内核上。同时,如果您没有任何其他连接方式,则必须从互联网手动下载 RPM