红联Linux门户
Linux帮助

已解决!!关于Atheros 8132网卡的驱动。。。

发布时间:2010-03-15 00:19:18来源:红联作者:dianebirch
[i=s] 本帖最后由 dianebirch 于 2010-3-18 01:47 编辑 [/i]

看了很多教程 基本上搜到的都是那样的帖子 一个源码驱动 而且这个型号还比较难找 源码包安装的时候出错 操作如下:

[color=Red]centos Atheros 8132 开源驱动
最新解决办法: 请到http://elrepo.org/linux/elrepo/el5/i386/RPMS/ 下载kmod-atl1c rpm包 直接安装后即可认到
网络上那些驱动包 本人都试过的 还有的 直接压缩包错误 其他的都是些编译错误
这个是从英文站找的解决方法
[/color]
[color=Black][root@localhost src]# make install
make -C /lib/modules/2.6.18-164.11.1.el5/build SUBDIRS=/home/beyond/Desktop/8132/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.11.1.el5-i686'
CC [M] /home/beyond/Desktop/8132/src/at_common_main.o
In file included from /home/beyond/Desktop/8132/src/at_common.h:4,
from /home/beyond/Desktop/8132/src/at_common_main.c:1:
/home/beyond/Desktop/8132/src/kcompat.h:1561: 错误:‘struct napi_struct’ 重定义
make[2]: *** [/home/beyond/Desktop/8132/src/at_common_main.o] 错误 1
make[1]: *** [_module_/home/beyond/Desktop/8132/src] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.el5-i686'
make: *** [default] 错误 2
[root@localhost src]#
安装
[root@localhost src]# make install
make -C /lib/modules/2.6.18-164.11.1.el5/build SUBDIRS=/usr/local/src/arl1e./src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.11.1.el5-i686'
CC [M] /usr/local/src/arl1e./src/at_common_main.o
In file included from /usr/local/src/arl1e./src/at_common.h:4,
from /usr/local/src/arl1e./src/at_common_main.c:1:
/usr/local/src/arl1e./src/kcompat.h:1561: 错误:‘struct napi_struct’ 重定义
make[2]: *** [/usr/local/src/arl1e./src/at_common_main.o] 错误 1
make[1]: *** [_module_/usr/local/src/arl1e./src] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.el5-i686'
make: *** [default] 错误 2
[root@localhost src]#


安装说明:::
1. Move the base driver tar file to the directory of your choice. For example,

use /home/username/arl1e or /usr/local/src/arl1e.



2. Untar/unzip archive:



tar zxf arl1e-x.x.x.x.tar.gz



3. Change to the driver src directory:



cd arl1e-x.x.x.x/src/



4. Compile the driver module:



make install



The binary will be installed as:



/lib/modules//kernel/drivers/net/arl1e.[k]o



The install locations listed above are the default locations. They might

not be correct for certain Linux distributions. For more information,

see the ldistrib.txt file included in the driver tar.



5. Install the module:



insmod arl1e =



6. Assign an IP address to the interface by entering the following, where

x is the interface number:



ifconfig ethx



7. Verify that the interface works. Enter the following, where

is the IP address for another machine on the same subnet as the interface

that is being tested:



ping



Command Line Parame
[/color]
上边的编译错误 还是不知道如何解决 !~ 不过总算是正常了 哈哈
文章评论

共有 4 条评论

  1. suiwa 于 2011-07-14 16:14:41发表:

    具体怎么做的,请指点一下哈,最近搞as8131的驱动搞的头大

  2. auto8463 于 2011-06-22 19:28:00发表:

    终于成功了

  3. dianebirch 于 2010-03-18 01:49:56发表:

    [i=s] 本帖最后由 dianebirch 于 2010-3-18 01:57 编辑 [/i]

    3天的熬夜 终于成功了 国内站点的那些方法 很多错误 基本无效 现已修改 其他朋友直接下载 即可
    太高兴了!!!
    总结:有些时候还是不要太相信 GOOGLE baidu
    yahoo也是不错的选择
    对于 这个网卡 还是在英文站找到的解决办法

  4. dianebirch 于 2010-03-16 00:54:15发表:

    论坛人气太低了吧 没有高手的到来吗
    别长期潜水了。。。。是时候出来了吧 马上到2012了 :0w223dc