菜鸟求助!
我想装网卡驱动,可是驱动程序需要编译,请问如何编译 里面有readme,INSTALL这类说明,先看了再说。 我看了,但我看不懂。 -----------------------安装
-----------------------
1. 将文件 mtd80x-linux-2.4.x.tgz 拷到/tmp 目录
mount -t msdos /dev/fd0 /mnt/floppy
cp /mnt/floppy/linux-2.4.x/mtd80x-linux-2.4.x.tgz /tmp
2. 解压缩
cd /tmp
tar -zxvf mtd80x-linux-2.4.x.tgz
3. 编译网卡驱动模块
touch *
make clean
make
*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 网卡驱动模块
insmod pciscan.o
insmod mtd80x.o
5. 给网卡绑定ip
ifconfig eth0 {IPADDR} netmask {NETMASK}
6. 可以ping通网络了
*每次你重新起动系统, 你要把第4、5步执行一次
当然你也可以把4、5加到你的boot script中去 你是下载的文件,就只用从第2步的tar开始就好了 我照着上面的打,可还是不行
页:
[1]