|
发表于 2003-3-11 13:06:29
|
显示全部楼层
举个例子,是readme里的方法:
Myson MTD80X Based Fast Ethernet Card
Linux 2.2.X Driver Installation Guide
**************************************************
-----------------------
Installation Procedure
-----------------------
1. Copy the compress file mtd80x.v021.tar gz to /tmp directory,
mount -t msdos /dev/fd0 /mnt/floppy ---这里是挂载你的软盘(读盘)
cp /mnt/floppy/linux-2.2.x/mtd80x.v021.tar.gz /tmp ---把软盘里的文件拷到目录/tmp里
2. Uncompress the file
cd /tmp --进入目录/tmp
tar -zxvr mtd80x.v021.tar.gz --把软件解压
3. Make network adapter driver modules
touch *
make clean ---清除临时编译文件
make ---编译文件
4. Insert network adapter driver modules
insmod pciscan.o ---加载模块
insmod mtd80x.o ---加载模块
5. Bind your card to an IP address
ifconfig eth0 {IPADDR} netmask {NETMASK} up ---设置IP地址和子掩码(如IPADDR为192.168.0.1,NETMASK为255.255.255.0)
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. |
|