发新话题
打印

【求助】为了给Mandriva安装Intel 2200BG无线网卡要崩溃了

【求助】为了给Mandriva安装Intel 2200BG无线网卡要崩溃了

各位大虾能不能指导一下,大致是这样子的,小弟以前没用过linux,可能问题比较弱智

昨天下午给笔记本电脑装了Mandriva 2006, 但是无线网卡(Intel 2200BG)驱动不起来

去intel的网站下了完整的驱动和firmware回来准备装

在进到驱动的目录下make的时候提示

  ERROR: ieee80211.h not found in '/lib/modules/2.6.12-12mdk/include'.

  You need to install the ieee80211 subsystem from http://ieee80211.sf.net
  and point this build to the location where you installed those sources, eg.:

  % make IEEE80211_INC=/usr/src/ieee80211/

  will look for ieee80211.h in /usr/src/ieee80211/net/

make: *** [check_inc] 错误 1

看意思是802.11的协议没装,又按照上面的网址去下回来协议集的tar包,解压后进到目录里make
结果提示

Checking in /lib/modules/2.6.12-12mdk for ieee80211 components...
grep: /lib/modules/2.6.12-12mdk/build//.config: 没有那个文件或目录
grep: /lib/modules/2.6.12-12mdk/build//include/linux/autoconf.h: 没有那个文件或 目录
make -C /lib/modules/2.6.12-12mdk/build M=/root/package/ieee80211-1.1.14 modules
make[1]: Entering directory `/lib/modules/2.6.12-12mdk/build'
make[1]: *** 没有规则可以创建目标“modules”。 停止。
make[1]: Leaving directory `/lib/modules/2.6.12-12mdk/build'
make: *** [modules] 错误 2

找不到/lib/modules/2.6.12-12mdk/build目录,我自己看了一下,在2.6.12-12mdk下没有了build子目录,然 后less 我解压的802.11目录下的INSTALL文件得知,make上面的协议集需要对内核的源码进行编译,而我的Mandriva似乎在安装的时候并没有把 编译过的内核源码放在/lib/modules/2.6.12-12mdk/目录下

(下面是INSTALL的说明)
The installation requires the compiled kernel sources or headers
against the matching kernel.  These are typically found in:

         /lib/modules/\`uname -r\`/build

If that directory does not exist, or is empty, you likely need to
install the kernel source packages for your distribution.  Once you have
the kernel sources, you can make and install the ieee80211 subsystem
via:

(省略)

所以想求教大家
1  是不是必须要重新编译内核并且把它放在/lib/modules/2.6.12-12mdk下的build目录里才行阿?或者编译了内核它自己会在/lib/modules/2.6.12-12mdk目录生成这个build目录和一系列文件?
2 内核文件在哪一张安装光盘里?能不能给个稍微具体点的位置
3 或者有没有其他的办法驱动起来我的无线网卡      

TOP

缺少内核源文件,需要下载mdv的内核原码包,我给你找了,没找找,我时间仓促,谁有下载地址还请提供一个,谢谢啦。      
Powered By Myself

TOP

谢谢

我自己下了2.6.17.7的内核编译了装上

另外又自己在ieee80211的sf.net主页上下了最新的80211,也装上了

可惜就是在make完ipw2200的驱动,准备安装的时候,make install安装到一半就提示少了ipw2200.ko文件,想请教一下这个文件是应该包含的ipw的驱动包里,还是mandriva包含在内核模块里的咚咚呢

我能撑到现在也算是一大进步了。。。。。。为了装网卡,学会了编译内核。。。。。      

TOP

你离成功不远啦,只是少了个网络获取数据程序的库文件。

用SuSE的rpm看看能装上不

ftp://ftp.pbone.net/mirror/ftp.g ... 17.7-jen31.i586.rpm      
Powered By Myself

TOP

发新话题