Compile NdisWrapper and install wireless drive

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
LepingBeta
帖子: 62
注册时间: 2006-05-27 0:43
联系:

Compile NdisWrapper and install wireless drive

#1

帖子 LepingBeta » 2006-06-09 15:42

http://smeego.com/LepingBeta/668/Compil ... drive.html
1、准备工作,用apt-get安装这三个文件
linux-686
linux-headers-`uname -r`
libc6-i686
2、到
http://ndiswrapper.sourceforge.net/
下载ndiswrapper源码包
3、解压缩源码包
tar zxvf ndiswrapper-version.tar.gz(这里version为你所下载的版本号,比如我下的1.17版,就输入tar zxvf ndiswrapper-1.17.tar.gz)
4、进入解开的文件夹
cd ndiswrapper-version
5、Compile and install
make distclean
make
切换到root:sudo -s -H
cd /.../ndiswrapper-version(回到ndiswrapper-version文件夹)
make install
6、Important: Do NOT use the drivers on your CD. They may work, but you may experience kernel crashes, etc., if the driver on your CD has not been tested.(大意是说要把驱动cp到硬盘使用,直接在光盘使用会导致系统崩溃)
7、添加驱动(请先切换到驱动目录)
ndiswrapper -i ***.inf(***.inf为你的驱动文件)
8、用
ndiswrapper -l
检查那些驱动被安装
9、加载该驱动模块
ndiswrapper -m
10、只须执行一次
modprobe ndiswrapper
重启
如果没有错误提示,还不能确定网卡是否被正确驱动。必须通过:
iwlist wlan0 scan
搜索附近存在的Access Point。如果能找到,说明网卡已经成功驱动。
11、系统------>系统管理------>联网------>连接
选择你的无线网卡,点“激活”
Linux不排斥普通人,但排斥懒人:P
Weblog
回复