QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 559|回复: 5

菜鸟求助!

[复制链接]
发表于 2003-12-28 13:08:41 | 显示全部楼层 |阅读模式
我想装网卡驱动,可是驱动程序需要编译,请问如何编译
发表于 2003-12-28 13:11:39 | 显示全部楼层
里面有readme,INSTALL这类说明,先看了再说。
回复

使用道具 举报

 楼主| 发表于 2003-12-28 13:19:48 | 显示全部楼层
我看了,但我看不懂。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2003-12-28 13:27:35 | 显示全部楼层
-----------------------
安装
-----------------------

  1. 将文件 mtd80x-linux-2.4.x.tgz 拷到/tmp 目录
[code:1]        mount -t msdos /dev/fd0 /mnt/floppy
        cp /mnt/floppy/linux-2.4.x/mtd80x-linux-2.4.x.tgz /tmp[/code:1]

  2. 解压缩

        [code:1]cd /tmp
        tar -zxvf mtd80x-linux-2.4.x.tgz[/code:1]

  3. 编译网卡驱动模块
        [code:1]touch *
        make clean
        make[/code: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 网卡驱动模块

        [code:1]insmod        pciscan.o
        insmod        mtd80x.o[/code:1]

  5. 给网卡绑定ip

        [code:1]ifconfig eth0 {IPADDR} netmask {NETMASK}[/code:1]

  6. 可以ping通网络了

*每次你重新起动系统, 你要把第4、5步执行一次

当然你也可以把4、5加到你的boot script中去
回复

使用道具 举报

发表于 2003-12-28 13:30:46 | 显示全部楼层
你是下载的文件,就只用从第2步的tar开始就好了
回复

使用道具 举报

 楼主| 发表于 2003-12-28 17:52:23 | 显示全部楼层
我照着上面的打,可还是不行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-30 11:29 , Processed in 0.042748 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表