|
发表于 2002-10-3 10:59:18
|
显示全部楼层
我在外国网站找到驱程.但-----
我找到驱程.按照说明来安装但还不行.,在第三步以下不太明白..希望各位高手能指点指点....
哪位能具体地说明操作要点,小弟E文不好.不好意思了.
Driver Installation Guide for LINUX
=========================================
Introduction
============
This document describes the procedure to install driver on Linux for
SiS900 PCI Fast Ethernet Adapter.
Location of Driver : \LINUX\SIS900.C
Installation procedure
======================
The recommended kernel version is 2.2.X. You should also comfirm the
Linux kernel is built with network and module supports. Other required
packages (libraries, linker, ...) with the kernel version can be found
in the Document\Changes file of the Linux kernel source .
1. Now enter the following commands at the UNIX prompt. Remember, UNIX
is case sensitive.
# mkdir /temp
# mcopy a:sis900.c /temp
Note: a. copies from DOS disk to current working directory.
b. mcopy is mtools if you don't have mtools, you can
mount -t /dev/fd0 and use cp command
# mcopy a:trans /temp
# cd /temp
# chmod 777 * (add all right to all file)
2. run trans file to complie and copy driver to linux source code:
/temp/trans
3. Run netconfig to set you network parameter (like ip, gateway), This
will create '/etc/rc.d/inet1' and 'inet2' files.
4. you must modify /etc/rc.d/rc.inet1 to insmod driver. This file will
run at boot time. add a line in rc.inet1:
# cd /etc/rc.d
# vi rc.inet1
# insmod /your driver'path/sis900.o
ex: insmod /usr/src/linux/modules/sis900.o
(must before bind protocal)
# shutdown -h now
(then your driver will work every time you boot.)
Note
====
make sure that your kernel is built with network, fast_ethernet and
module support. Otherwise, you have to rebuild your kernel.
1. go to /usr/src/linux directory
2. run 'make menuconfig' or 'make config'
3. mark the options list above.
4. exit and rebuild your kernel.
make dep;make clean;make bzImage
the file 'bzImage' will be at /usr/src/linux/arch/i386/boot/bzImage
5. modify /etc/lilo.conf. (this file specify where kernel image is)
6. run 'lilo'
|
|