Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1071724
  • 博文数量: 121
  • 博客积分: 2021
  • 博客等级: 上尉
  • 技术积分: 1467
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-29 21:47
个人简介

简约而不简单。

文章分类

全部博文(121)

文章存档

2017年(1)

2016年(4)

2015年(2)

2014年(24)

2013年(33)

2012年(13)

2011年(25)

2010年(13)

2009年(6)

分类: LINUX

2013-01-19 22:37:39

这两天在一台老本上装了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!

 

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


阅读(25432) | 评论(0) | 转发(2) |
给主人留下些什么吧!~~