|
这就是厂商提供的驱动程序中的readme.txt文件,内容如下: ********************************************* Myson MTD80X Based Fast Ethernet Card
Linux 2.4.X Driver Installation Guide **************************************************
-----------------------
Installation Procedure
-----------------------
1. Copy the compress file mtd80x-linux-2.4.x.tgz to /tmp directory
mount -t msdos /dev/fd0 /mnt/floppy
cp /mnt/floppy/linux-2.4.x/mtd80x-linux-2.4.x.tgz /tmp
2. Uncompress the file
cd /tmp
tar -zxvf mtd80x-linux-2.4.x.tgz
以上几步我都做了,解压缩之后得到六个文件:mtd80x.c pci-scan.c
kern_compat.h pci-scan.h makefile readme.txt
3. Make network adapter driver modules
touch * //回车后没反应
make clean //回车后在下面一行出现rm -f *.o
make //回车后,列出很信息,文件出错,其中有:
........................................................
.........................................................
............................................................
pci-scan.c:In function 'cleanup_module':
pci-scan.c:552:'Kern_warning'undeclared' (first use in this function)
pci-scan.c:552:parse error before string constant
make: *** [pci-scan.o] error 1
*Under some distribution, such as SuSe 7.2 and BluePoint 2.0, there is no version.h.
You have to run "make config" or "make menuconfig" at /usr/src/linux to create it.
**If you are using Mandrake 8.0 and you have problems when insmod the dirver, please
remove "-DMODVERSIONS" option from makefile.
***On SMP system, the driver may NOT work well. The bug will be fixed in the future.
4. Insert network adapter driver modules
insmod pciscan.o ////回车后,在下面一行显示:“
insmod : pciscan.o :no such file or directory
insmod mtd80x.o ////回车后,在下面一行显示:“
insmod : mtd80x.o :no such file or directory
5. Bind your card to an IP address
ifconfig eth0 {IPADDR} netmask {NETMASK}//////这行我没有继续。
6. Now, you should be able to ping local network.
*Every time you reboot the system, you must execute step 4 and step 5
again to bind your card.
Compability:
This driver is tested with the Distribution.
RedHat 7.1/7.2
Mandrake 8.0/8.1
Slackware 8.0
SuSe 7.2
RedFlag 2.4
Caldera 3.0
我用的是RH8.0,网卡名字是myson mtd80x based fast ehternet card
是不是驱动程序不对啊? |
|