红联Linux门户
Linux帮助

笔记本网卡安装问题

发布时间:2010-02-20 22:43:35来源:红联作者:jimoshiran
硬盘WUDI 安装ubnutu8.04 无法设置PPPOE 已下载驱动~sis900_108[1].tar
却不知如何安装~路径找不对~菜鸟不太熟悉系统~
说明文档内容 英文不行~看不太明白~求教~
"make modules" fails on Redhat 8.0.It is kernel 2.4.18-14 , and it need driver 1.08.06.

You can individually compile the sis900.o with below procedures:

a.Symbolic Links "asm" and "linux" to "/usr/src/linux-2.4.18-14/include/."

a.1.Go to /usr/include directory

a.2.mv asm asm_ ( or rm asm)

a.3.mv linux linux_ (or rm linux)

a.4.ln -s /usr/src/linux-2.4.18-14/include/asm asm

a.5.ln -s /usr/src/linux-2.4.18-14/include/linux linux

b.Create new directory and copy sis900.c and sis900.o into them.

b.1 mkdir tmp

b.2 cp -f sis900.c /tmp/sis900.c

b.3 cp -f sis900.h /tmp/sis900.h

b.4 cd /tmp

b.5 gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -o6 -c -sis900.c

c.Copy and replace sis900.o into "/lib/modules/2.4.18-14/kernel/drivers/net/."

c.1 cp -f sis900.o /lib/modules/2.4.18-14/kernel/drivers/net/sis900.o
文章评论

共有 0 条评论