admin 管理员组

文章数量: 1184232

这两天在一台老本上装了Ubuntu

12.04,发现无线网卡不能用,谷歌、度娘找不到驱动,却发现一种linux安装无线网卡的通用方法,通过ndiswrapper在linux平台上虚拟windows的api,然后用windows下的驱动程序来驱动网卡。

网上介绍这种方法的文章很多,折腾了N久,终于成功啦,现在记录一下安装过程。

一、准备工作

1.下载最新的ndiswrapper包,下载地址

,我下载的是ndiswrapper-1.58rcl.tar.gz

2.准备好无线网卡的win驱动程序,找到相应的inf和sys文件。我这里是bcmwl5.inf、bcmwl5.sys(支持xp)。注:如果驱动程序是exe或者cab格式,用zip或cabextract工具解开,找到相应的文件。

二、安装ndiswrapper

1.解压安装包

tar zxvf ndiswrapper-1.58rcl.tar.gz

2.进入解压后的文件夹

cd  ndiswrapper-1.58rcl

3.编译

make

4.安装

make install

三、安装无线网卡驱动

1.进入驱动所在目录,即bcmwl5.inf和bcmwl5.sys所在目录

ndiswrapper –I bcmwl5.inf

2.查看驱动是否安装

ndiswrapper –l

3.写入配置文件

ndiswrapper –m

ndiswrapper –ma

ndiswrapper –mi

4.加载模块

modprobe ndiswrapper

注:如果遇到“FATAL: Module ndiswrapper not

found”,

/  Download ndiswrapper and then make ->make install

Last reboot your computer,you will see Wireless LED blinking.You secess! congratulation!

四、重启,就可以用无线网啦。

本文标签: 班图 网卡驱动 进网 目录 Linux