QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1802|回复: 4

redflag4.0下驱5628猫

[复制链接]
发表于 2003-12-18 11:22:27 | 显示全部楼层 |阅读模式
系统红旗4.0桌面的
我的猫是5628的
在公社下载了Intel-v92ham-453驱动
make ham ,make clean ,make install
结果
unknown distribution. no boot scripts installed
看了驱动带的readme
The installation script has been designed for the following distributions
release versions

   mandrake-release
   SuSE-release
   redhat-release
   debian_version (including Corel)
   slackware-version
   conectiva-version
   bluepoint-release
   Unknown distributions install modules and utilities but
   will not install boot scripts!.
不支持红旗!
在公社问了很久!要我换驱动!没办法,没宽带,也没时间上网!
今天闲的无聊,又驱了一遍失败!
就是最后一步make install失败!
于是看了一下,makefile
install:
        bash haminst
接着看 haminst
esac

if [ -a /etc/mandrake-release ]; then
把支持的版本都 if在这里,想到红旗好象是照着红帽做的,
加一行
elif [ -a /etc/redflag-release ]; then
{
   if [ -a ./hamregistry.bin ]; then
   {
      mv -f /etc/hamregistry.bin /etc/hamregistry.bak
      cp ./hamregistry.bin /etc/hamregistry.bin
   }
   else
   {
      rm -f /etc/hamregistry.bin
   }
   fi
   echo installing hamregistry, used for persistant storage
   install -o root -g root -m 110 hamregistry /usr/sbin
   echo installing ham module
   install -o root -g root -m 664 ham.o ${CharModDir}/ham.o
   echo installing hamcore module
   install -o root -g root -m 664 hamcore.o ${CharModDir}/hamcore.o

   echo redhat hamboot rc2.d and rc3.d scripts
   install -o root -g root -m 110 hamboot /etc/rc.d/init.d
   ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc2.d/S99hamboot
   ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc3.d/S99hamboot
   ln -s -f /etc/rc.d/init.d/hamboot /etc/rc.d/rc5.d/S99hamboot
}
OK
再驱,OK了
我是一个菜鸟,写出来希望对别人有点启发,希望大虾不要笑,多多教我!
毕竟我才接触linux几个月啊
发表于 2003-12-18 11:51:43 | 显示全部楼层
不错啊! :-)
支持一下。
回复

使用道具 举报

发表于 2003-12-18 17:27:59 | 显示全部楼层
很久以前“猫”就是一个问题!
一直都解决不了。
有时间我会试一试的
回复

使用道具 举报

 楼主| 发表于 2003-12-19 23:19:57 | 显示全部楼层
Magic 上也通过!!
方法一样!
也可以分步做!
回复

使用道具 举报

发表于 2004-3-6 17:23:29 | 显示全部楼层
我的5628D的猫在红旗3.0/3.2/4.0都不用装驱动,系统直接可以识别。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-13 22:05 , Processed in 0.082366 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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