- 论坛徽章:
- 0
|
电脑是XP和centos5.1双系统,xp中IP地址是固定的。进入centos中(图形界面),发现网络管理中的硬件列表不能添加realtek网卡,估计是驱动问题吧。。然后在realtek的官方网站下载了“r8101-1.021.00.tar.bz2”,解压之后是4个文件,按照说明:
Unpack the tarball :
# tar vjxf r8101-1.aaa.bb.tar.bz2
Change to the directory:
# cd r8101-1.aaa.bb
If you are running the target kernel, then you should be able to do :
# ./autorun.sh (as root or with sudo)
You can check whether the driver is loaded by using following commands.
# lsmod | grep r8101
# ifconfig -a
但是在使用.autorun.sh后出现:
make[1]: *** [clean] 错误 2
make[1]: Leaving directory `/root/Desktop/r8101-1.021.00/src'
make: *** [clean] 错误 2
Check old driver and unload it.
Build the module and install
make: *** /lib/modules/2.6.18-53.el5/build: 没有那个文件或目录。 停止。
make[1]: *** [clean] 错误 2
make: *** [clean] 错误 2
<Quick install with proper kernel settings>
我试过双击那个“autorun.sh”可执行文件,但是,窗口一闪就没有了。请问这是为什么呢?我哪里做错了? |
|