如何在没有互联网连接的情况下为 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