linux下安装无线网卡驱动

合集下载

Linux操作系统怎么安装无线网卡驱动

Linux操作系统怎么安装无线网卡驱动

Linux操作系统怎么安装无线网卡驱动Linux操作系统怎么安装无线网卡驱动现在很多人都喜欢用无线上网,无线上网就需要无线网卡,而无线网卡就需要安装无线网卡驱动。

那么Linux操作系统怎么安装无线网卡驱动呢?下面跟着店铺一起去了解下吧。

Linux操作系统怎么安装无线网卡驱动安装方法及步骤:一、准备工作1、安装kernel的源码,在Redhat下是kernel-source.rpm包。

//我使用是FC8的内核,未再进行升级。

2、到/projects/ndiswrapper下载最新的ndiswrapper包,我的版本是ndiswrapper-1.52.tar.gz3、准备好网卡在Winxp下的驱动程序。

驱动程序最好是最新的,指定给XP用的。

我用到的是D-Link的一款PCI无线网卡(dwl-g520),其驱动程序是ar5211.sys、ar52119x.sys和net5211.inf。

二、安装及配置1、安装(1)解压:tar -zxvf ndiswrapper-1.52.tar.gz(2)进入ndiswrapper-1.52:cd ndiswrapper-1.52(3)编译:make//在此操作之前必需先把编译环境搭建好,即:安装好开发环境。

(4)安装:make install //如果不采取默认的安装路径,则可以用.configure --prefix="/etc/local"来指定安装目录。

//此目录是自建。

(5)查看安装后的版本ndiswrapper -v | grep //此处似乎不对。

如安装成功则显示version: 1.51(6)获取该无线网卡的WindowsXP驱动,我取了ar5211.sys、ar52119x.sys和net5211.inf。

(7)进入该驱动所在目录:cd /home/tsm/dwl_g520(8)安装无线网卡驱动:ndiswrapper -i net5211.inf(9)查看驱动是否安装:ndiswrapper -l//如:显示net5211(驱动名称) : driver installed(10)写入配置文件:ndiswrapper -mndiswrapper -mandiswrapper -mi(11)启动后模块自动加载:modprobe ndiswrapper2、配置(1)然后配置wpa_supplicant.conf文件:vi /etc/wpa_supplicant/wpa_supplicant.confctrl_interface=/var/run/wpa_supplicantctrl_interface_group=wheelnetwork={ssid="any"key_mgmt=NONE}(2)配置wpa_supplicant文件:vi /etc/sysconfig/wpa_supplicant将该文件内容设置为:# wlan0 and wifi0# INTERFACES="-iwlan0 -iwifi0"INTERFACES="-iwlan0"# ndiswrapper and prism# DRIVERS="-Dndiswrapper -Dprism"DRIVERS="-Dndiswrapper"(3)iwlist scanning 扫描一下你的AP //此处未成功,未知原因待查。

Linux系统下无线网卡驱动的安装

Linux系统下无线网卡驱动的安装
1 Microsoft SQL Server作业
作业是一系列由 SQL Server 代理按顺序执行的指定操作。作业 可以执行一系列活动,包括运行 Transact-SQL 脚本、命令行应用程 序 、 Microsoft ActiveX 脚 本 、 Integration Services 包 、 Analysis Services命令和查询或复制任务。作业可以运行重复任务或那些可计 划的任务,它们可以通过生成警报来自动通知用户作业状态,从而极 大地简化了 SQL Server管理。
143
2010年第10期
信息纵横
浅谈Linux系统下无线网卡驱动的安装
许康
(西南科技大学计算机学院)
摘 要 Linux操作系统以其高效、稳定、免费、开源等一系列特点,吸引着越来越多的计算机用户安装并使用。然而,Linux系 统下各类硬件设备的驱动安装却一直比较繁琐,这是影响计算机用户使用Linux系统的一大原因。随着Linux系统的日渐发展,在 Linux上安装各类硬件驱动已经变得越来越简易化、智能化。但即使是最新版本的Linux系统,其对各类无线网卡的驱动级支持仍不够 完善。本文以Ubuntu Linux10.04系统为例,归纳总结了各类常见的无线网卡在Linux系统上的安装过程。
Linux系统与Windows系统在使用上最显著的区别就是程序的安 装上,Linux系统里有一个安装源的概念,系统装好后第一件要做的 事就应该是配置系统的安装源。以Ubuntu Linux为例,需要在终端里 使用以下命令sudo gedit /etc/apt/sources.list打开并编辑安装源列表文件 sources.list,依据机器当前的网络接入情况选择速度较快的安装源域 名地址。配置好安装源文件以后,无论是Linux系统的升级还是各类 应用软件的安装都只需打开终端,输入相应的安装命令即可实现。

在linux系统下如何安装网卡驱动

在linux系统下如何安装网卡驱动

2011年研发二部工作周报月报作者:***时间:2012-6-13目录一、整理漏扫系统的结构 (1)1、整理NetScan目录中的程序。

(1)2、整理proftpd目录中内容(插件的检测信息)。

(4)3、整理proxyd目录中的安管(安管平台)。

(8)二、熟悉Nessus的工作原理 (8)1、Nessus扫描引擎的工作原理.... 错误!未定义书签。

三、整理运行的整个流程............... 错误!未定义书签。

1、通过客户端下发策略,上传到服务器上。

错误!未定义书签。

2、服务端:接收客户端下发的策略。

错误!未定义书签。

3、服务端进行身份的认证........ 错误!未定义书签。

一、整理漏扫系统的结构网卡是Linux服务器中最重要网络设备。

据统计,Linux网络故障有35%在物理层、25%在数据链路层、10%在网络层、10%在传输层、10%在对话、7%在表示层、3%在应用层。

由此可以看出,网络故障通常发生在网络七层模型的下三层,即物理层、链路层和网络层。

对应于实际网络也就是使用的网络线缆、网卡、交换机、路由器等设备故障。

Linux的网络实现是模仿FreeBSD的,它支持FreeBSD 的带有扩展的Sockets(套接字)和TCP/IP协议。

它支持两个主机间的网络连接和Sockets通讯模型,实现了两种类型的Sockets:BSD Sockets和INET Sockets。

它为不同的通信模型和服务质量提供了两种传输协议,即不可靠的、基于消息的UDP传输协议和可靠的、基于流的传输协议TCP,并且都是在IP网络协议上实现的。

INET sockets 是在以上两个协议及IP协议之上实现的。

由于交换机、路由器通常独立于Linux或者其他操作系统。

网卡设置故障是造成Linux 服务器故障最主要原因。

可能因为硬件的质量或性能、磨损老化、人为误操作、不正确的网络设置、管理问题、Linux软件的BUG、系统受到黑客攻击和Linux病毒等原因造成。

linux(debian)安装USB无线网卡(tp-linkTL-WN725Nrtl8188eu)

linux(debian)安装USB无线网卡(tp-linkTL-WN725Nrtl8188eu)

linux(debian)安装USB⽆线⽹卡(tp-linkTL-WN725Nrtl8188eu)1: 台式机家⾥⾯不想再⾛线了。

于是去某东买了个USB⽆线⽹卡。

tp的WN725N USB,⾮常⼩, 和罗技的优联接收器差不多⼤。

2: 驱动能⾃⼰识别是不指望了,既然是usb⽹卡,插⼊USB后,那就lsusb看到新增加了⼀⾏Realtek的 ID 0bda:8179[html]1. root@debian:/# lsusb2. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub3. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub4. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub5. Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub6. Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub7. Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub8. Bus 003 Device 007: ID 0bda:8179 Realtek Semiconductor Corp.9. Bus 003 Device 004: ID 04d9:4545 Holtek Semiconductor, Inc.10. Bus 003 Device 005: ID 050d:0304 Belkin Components FSU304 USB 2.0 - 4 Ports Hub11. Bus 003 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver12. Bus 003 Device 008: ID 0781:5567 SanDisk Corp. Cruzer Bladegoogle下了,发现是WN725N_V2看下芯⽚组是Probable Linux driver 8188eu3: 既然拿到了芯⽚组号,那就⾸先去debian官⽹看有⽊有驱动的包, 找到了realtek的固件驱动不过⽀持的列表⾥⾯并没有8188eu,只有8188ce, 8188cu那就只有去realtek的官⽹下了, 在逛了⼀圈,还是没有发现8188eu. ⽆奈去github上逛逛,发现了这个接下来就好办多了。

Linux下USB无线网卡WL-167G驱动安装过程

Linux下USB无线网卡WL-167G驱动安装过程

Linux下USB无线网卡WL-167G驱动安装过程最近经过前期调研选定网卡,又折腾一两天,终于搞定了Linux 下的无线网卡,对遇到的问题进行了分析,并整理了下详细过程,现与大家分享,还有更具体的开发文档,有需要的可以联系下一步工作要将其移植到ARM平台上,希望与大家多多探讨网卡华硕WL-167G、TP-LINK TL-WN321G驱动 RT73_Linux_STA_Drv1.0.3.6下载地址/pub/ASUS/wireless/WL-167g/Linux_1218.zip一、准备工作解压内核源码,拷贝对应内核的makefile,并更改文件属性[root@dding RT73_Linux_STA_Drv1.0.3.6]# chmod 777 Module[root@dding RT73_Linux_STA_Drv1.0.3.6]# ls -al总用量 16。

drwxrwxrwx 2 root root 4096 2006-07-04 Module##确保文件对任何用户是可读可执行的,否则可能不能make config,777可以保证所有权限二、添加对WL-167G ASUS 网卡的支持,注意官方的1218版本以前驱动包括网卡自带的光盘里没有对此说明,否则驱动加载后会说找不到设备[root@dding Module]# gedit rtmp_def.h##add support for WL-167G ASUS{USB_DEVICE(0x0B05,0x1723)}, /* dding add WL-167G ASUS */ \{USB_DEVICE(0x0B05,0x1724)}, /* dding add ASUS */ \三、配置、编译确保对应目录下存在/usr/src当前系统运行的内核源码,其他位置不行1> $make config## ensure there are such directories as /usr/src/linux-2.4.20-8 and /lib/modules/2.4.20-8/kernel/drivers/net, but they are your own kernel2> $make all # compile driver source code## ensure no problems occur四、修改自启动配置文件ifcfg-rausb0并安装RT73.o及添加alias rausb0 rt731> 修改当前目录下的ifcfg-rausb0,若是动态IP则不需要修改[root@dding Module]# gedit ifcfg-rausb0## edit the file according to your network system, and it can be auto loaded when booting system. and the file is as follows: DEVICE=rausb0ONBOOT=yes## static for fixed ipBOOTPROTO=staticIPADDR=192.168.0.31 ## 你自己的IP及其他相关设置NETMASK=255.255.255.0GATEWAY=192.168.0.12> 安装模块及其他自启动设置[root@dding Module]# make installinstall -m 755 -o 0 -g 0 -d /lib/modules/2.4.20-8/extra………………## 安装完毕后请确认对应目录下存在下列文件## 安装完毕后modules.conf内容如下:...............alias rausb0 rt73##安装完毕后 ifcfg-rausb0 内容如gedit ifcfg-rausb0所设五、拷贝系统固件及默认自启动时的默认配置文件1> $cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware[root@dding Module]# cp rt73.bin /etc/Wireless/RT73STA/ ##必须先逐层建立目录/etc/Wireless/RT73STA/后,再执行拷贝操作,否则报错2> $dos2unix rt73sta.dat$cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat[root@dding Module]# dos2unix rt73sta.datdos2unix: converting file rt73sta.dat to UNIX format ...## 拷贝完毕上述目录确认存在此两个文件# Use "vi -b rt73sta.dat" to modify settings according to your need.六、动态加载模块用相关命令确认模块加载成功[root@dding Module]# insmod rt73.o[root@dding Module]# cat /var/log/messages | tail。

LINUX下安装无线网卡驱动程序

LINUX下安装无线网卡驱动程序

1.1下载驱动程序一、首先弄清楚当前使用的是什么版本的Linux,如:Redhat9.0、Freda core5等。

Linux用的是什么版本的内核,可以用uname –a得知内核版本号。

二、使用的是什么接口类型的无线网卡,常见的接口类型有PCI (台式机)、Cardbus/PCMCIA(笔记本)、USB(台式机、笔记本)等。

三、无线网卡使用的是哪一种类型的芯片,判断方法如下,到相关网站下载与其相对应的驱动程序。

常用的无线网卡驱动及其支持的芯片类型和接口类型如下表1所示。

PCMCIA卡:将无线网卡插入笔记本电脑中,用命令lspci可以看到芯片类型,如:Realtek Semiconductor Co.. Ltd, RTL8180L802.11b MAC (rev 20)其中RTL8180L即为网卡芯片类型,用参数v可以看到更详细的信息。

USB卡:用命令lsusb可以看到芯片类型(fc5没有此命令)。

通过其它方法查找。

驱动程序芯片类型接口类型官方网站下载页Linux-wlan-ng Prism2/2.5/3 Cardbus/PCI/USB /download.shtml Madwifi Atheros系列Cardbus/PCI /islsm ISL38XX USB/PCI http://jbnote.free.fr/prism54usb/index.html表1:网卡驱动程序有关信息1.2驱动程序的安装每款驱动的安装方法各不相同,阅读INSTALL文档,获得驱动程序的具体安装方法及系统内核要求。

阅读驱动程序附带的README文档,获得有关此驱动的详细信息,如驱动所支持的网络模式、接口类型、所包含的模块的功能及无线网卡的配置等。

下面是安装网卡驱动程序的一般步骤:编译网卡驱动程序#make安装驱动程序模块#make install加载模块#modprobe 主模块名安装好驱动后插入无线网卡,命令iwconfig可以查看驱动是否加载成功,如果出现新的设备名,则说明驱动已经装上并且能够识别出无线网卡。

linux无线网络配置无线网卡驱动安装与wlan802.11配置

linux无线网络配置无线网卡驱动安装与wlan802.11配置

Linux无线网络配置——无线网卡驱动安装与WLAN 802.11配置Linux无线网络配置——无线网卡驱动安装与WLAN 802.11配置2008-05-10 18:2720739人阅读评论(5)收藏举报Linux无线网络配置——无线网卡驱动安装与WLAN 802.11配置WLAN (Wireless Local Area Network)类似于有线以太网,WLAN 的802.11a 标准使用5 GHz 频段,支持的最大速度为54 Mbps,而802.11b 和802.11g 标准使用2.4 GHz 频段,分别支持最大11 Mbps 和54 Mbps 的速度。

使用Windows操作系统,WLAN配置很简单。

无线网卡厂商将Windows下的驱动随网卡一起销售。

而Linux新兴的操作系统,这方面的驱动不多。

以前购买无线网卡时也没考虑Linux下的驱动程序,于是需要编译驱动程序源码。

现在市场上大部分的无线网卡都是对于Atheros芯片的。

如TP—LINK的310G、350G、510G、550G、650G。

对于Atheros芯片的网卡,可以到网站上找到驱动程序,根据源代码包里面的README和INSTALL文件来获得足够的安装信息。

最新驱动源码包(0.9.2版本)下载地址/madwifi/madwifi-0.9.2.tar .bz2?modtime=1154005765&big_mirror=0下面详细介绍无线网卡驱动程序的安装和WLAN的配置。

操作步骤:下载驱动源码包存放在/root/downloads目录下步骤一、解压源码压缩包1). 进入文件所在目录cd /root/downloads2). 解压.bz2格式的压缩包bunzip2 madwifi-0.9.2.tar.bz2生成.tar格式压缩包3). 解压.tar格式的压缩包tar xvf madwifi-0.9.2.tar步骤二、编译安装驱动4). 进入解压后的目录cd madwifi-0.9.25). 编译驱动程序make查看编译信息,没有error,编译成功,继续安装驱动6). 安装驱动make install步骤三、驱动模块配置7). 插入扫描模块modprobe ath_pci8). 扫描访问接入点modprobe wlan_scan_sta9). 启动无线网卡ath0ifconfig ath0 up获取网卡信息10). wlanconfig ath0 list scan网卡信息如下,default是所在无线局域网的名称,00:d0:f8:e0:a8:88 是无线路由器的物理地址,54M是带宽为54M网卡。

BCM 4312 无线网卡驱动在linux下的安装

BCM 4312 无线网卡驱动在linux下的安装

相信很多朋友都和我一样, 有一台网卡是 BCM4312 的笔记本, 我的是 HP V3700 系列的一台, 很老的机子了,呵呵,由于爱好,自己给它安装录 fedora 12, 以前是 11, 也升级了, 呵呵, 可是一直没有解决的问题是无线网络的问题,Google 上说没有驱动,无法识别和使用,自 己也弄了很久很久,按照很多达人的教程,利用 ndiswrapper,下载 Windows 下的驱动,模 拟起来,在 GNU/Linux 下运行,结果还是失败,最后自己终于发现一篇文章解决问 题 /html/solution/20091206/69411.html ,很是受用,在此, 结合自己实例,开始叙述一下我机子的硬件参数如下: $ lspci | grep -i network 07:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) $ lspci -n | grep -i "07:00.0" 07:00.0 0280: 14e4:4315 (rev 01) 知道了这无线网卡的设备 ID 为 14e4:4315,为 broadcom 公司的 BCM4312 型号。

BCM4312 Broadcom 官网提供的 GNU/Linux 下最新最好的驱动安装方法如下 参考文章: 1. Broadcom 官网驱动下载,含安装方法说明 网址: /support/802.11/linux_sta.php 2. 安装 Broadcom 4312 无线网卡驱动 网址: /2009/07/broadcom-43xx-drivers/安装步骤: 1. 卸载冲突模块$ sudo rmmod b43 $ sudo rmmod ssb $ sudo rmmod wl2. 屏蔽冲突模块# echo "blacklist ssb" >> /etc/modprobe.d/blacklist # echo "blacklist b43" >> /etc/modprobe.d/blacklist3. 编译安装$ pwd ~/download/bcm4312 $ ls README.txt hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz $ mkdir hybrid $ tar xf hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz -C hybrid $ cd hybrid/ $ ls Makefile lib src $ make KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686' LD /home/c-aries/download/bcm4312/hybrid/built-in.o CC [M] /home/c-aries/download/bcm4312/hybrid/src/wl/sys/wl_linux.o CC [M] /home/c-aries/download/bcm4312/hybrid/src/wl/sys/wl_iw.o CC [M] /home/c-aries/download/bcm4312/hybrid/src/shared/linux_osl.o LD [M] /home/c-aries/download/bcm4312/hybrid/wl.o Building modules, stage 2. MODPOST 1 modules WARNING: modpost: missing MODULE_LICENSE() in /home/c-aries/download/bcm4312/hybrid/wl.o see include/linux/module.h for more information CC /home/c-aries/download/bcm4312/hybrid/wl.mod.o LD [M] /home/c-aries/download/bcm4312/hybrid/wl.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686' $ uname -r 2.6.26-2-686 $ sudo cp -rf wl.ko /lib/modules/2.6.26-2-686/kernel/drivers/net/wireless/ $ sudo depmod $ sudo modprobe wl $4. 检测是否安装成功$ lsmod | grep wl wl 1269312 0 5124 2 ieee80211_crypt_tkip,wl ieee80211_crypt// bios 设置无线可用,打开无线开关 $ sudo iwconfig lo eth0 eth1 no wireless extensions. no wireless extensions. IEEE 802.11bg ESSID:"" Nickname:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Bit Rate:54 Mb/s Retry min limit:7 Tx-Power:32 dBm RTS thr:off Fragment thr:offPower Managementmode:All packets received Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 ppp0 $ // 行了,已经可以看到无线网卡的 eth1 :) no wireless extensions. Missed beacon:0大功告成!。

linux网卡驱动安装方法

linux网卡驱动安装方法

linux网卡驱动安装方法1、查找网卡芯片,确立网卡型号,并确立linux内核版本,到对应的网卡官网下载驱动。

2、安装步骤(这里以RTL8110为例)1)cd到网卡驱动所在文件夹,解压:# tar vjxf r8168-8.aaa.bb.tar.bz2//关于解压命令查看《Linux下软件包的解压方式大全》2)进入文件夹:# cd r8168-8.aaa.bb3)安装(需安装kernel-source,否则会失败):# make clean modules (as root or with sudo)# make install# depmod -a# insmod ./src/r8168.ko (or r8168.o in linux kernel 2.4.x)4)通过以下指令查看驱动是否已经启动.# lsmod | grep r8168# ifconfig -a如果能看到类似“ethX”的结果输出, 说明已成功驱动网卡.5)配置并激活ethX.# ifconfig ethX up,where X=0,1,2,...3、附realtek RTL8168B驱动readme文档:<Linux device driver for Realtek Ethernet controllers>This is the Linux device driver released for RealTek RTL8168B/8111Band RTL8168C/8111C, Gigabit Ethernet controllers with PCI-Expressinterface.<Requirements>- Kernel source tree (supported Linux kernel 2.6.x and 2.4.x)- For linux kernel 2.4.x, this driver supports 2.4.20 and latter.- Compiler/binutils for kernel compilation<Quick install with proper kernel settings>Unpack the tarball :# tar vjxf r8168-8.aaa.bb.tar.bz2Change to the directory:# cd r8168-8.aaa.bbIf you are running the target kernel, then you should be able to do :# make clean modules (as root or with sudo)# make install# depmod -a# insmod ./src/r8168.ko (or r8168.o in linux kernel 2.4.x)You can check whether the driver is loaded by using following commands.# lsmod | grep r8168# ifconfig -aIf there is a device name, ethX, shown on the monitor, the linuxdriver is loaded. Then, you can use the following command to activate the ethX.# ifconfig ethX up,where X=0,1,2,...<Set the network related information>1. Set manuallya. Set the IP address of your machine.# ifconfig ethX "the IP address of your machine"b. Set the IP address of DNS.Insert the following configuration in /etc/resolv.conf.nameserver "the IP address of DNS"c. Set the IP address of gateway.# route add default gw "the IP address of gateway"2. Set by doing configurations in /etc/sysconfig/network-scripts/ifcfg-ethX for Redhat and Fedora, or /etc/sysconfig/network/ifcfg-ethX for SuSE. There are two examples to set network configurations.a. Fix IP address:DEVICE=eth0BOOTPROTO=staticONBOOT=yesTYPE=ethernetNETMASK=255.255.255.0IPADDR=192.168.1.1GA TEWAY=192.168.1.254BROADCAST=192.168.1.255b. DHCP:DEVICE=eth0BOOTPROTO=dhcpONBOOT=yes<Modify the MAC address>There are two ways to modify the MAC address of the NIC.1. Use ifconfig:# ifconfig ethX hw ether YY:YY:YY:YY:YY:YY,where X is the device number assigned by Linux kernel, andYY:YY:YY:YY:YY:YY is the MAC address assigned by the user.2. Use ip:# ip link set ethX address YY:YY:YY:YY:YY:YY,where X is the device number assigned by Linux kernel, andYY:YY:YY:YY:YY:YY is the MAC address assigned by the user.<Force Link Status>1. Force the link status when insert the driver.If the user is in the path ~/r8168, the link status can be forcedto one of the 5 modes as following command.# insmod ./src/r8168.ko speed=SPEED_MODE duplex=DUPLEX_MODE autoneg=NWAY_OPTION,whereSPEED_MODE = 1000 for 1000Mbps= 100 for 100Mbps= 10 for 10MbpsDUPLEX_MODE = 0 for half-duplex= 1 for full-duplexNW AY_OPTION = 0 for auto-negotiation off (true force)= 1 for auto-negotiation on (nway force)For example:# insmod ./src/r8168.ko speed=100 duplex=0 autoneg=1will force PHY to operate in 100Mpbs Half-duplex(nway force).2. Force the link status by using ethtool.a. Insert the driver first.b. Make sure that ethtool exists in /sbin.c. Force the link status as the following command.# ethtool -s ethX speed SPEED_MODE duplex DUPLEX_MODE autoneg NWAY_OPTION,whereSPEED_MODE = 1000 for 1000Mbps= 100 for 100Mbps= 10 for 10MbpsDUPLEX_MODE = half for half-duplex= full for full-duplexNW AY_OPTION = off for auto-negotiation off (true force)= on for auto-negotiation on (nway force)For example:# ethtool -s eth0 speed 100 duplex full autoneg on本文出自:中国E动网[]中国领先互联网接入服务提供商!11年品质保障!-- 中国E动网[]。

Atheros无线网卡在linux下的安装

Atheros无线网卡在linux下的安装
在官网上找到了上找到了http://www.atheros.cz/,并在其中下了一个叫madwifi的驱动。可惜按照它的readme和install文件描述的那样小心翼翼的安装完之后,没有任何反应,我当时就晕了。
在看了很多国外论坛的技术论坛之后,我觉得下面这个方法是行之有效的。大家不妨试一试。
首先,到这里下载这个驱动程序包。
选择自己网卡模组的简称。因为我的是AR9285,所以我就键入:
ath9k
保存and退出后,重启电脑,一切就OK拉!
这个方法几乎适合所有的无线网卡,唯一就是modules那里改为自己的module名称就好了。
转载请注明出处:/archives/958
Atheros无线网卡在linux下的安装
发表于729 days前 ⁄ 电脑 ⁄ 评论数 1
最近,给我的系统装了三系统,第三个系统就是linux的非常经典的版本--ubuntu。但是由于我的无线网卡是atheros的AR5B95(windows下显示)或AR9285返。看来还得自己动手阿。
/en/users/Download/sБайду номын сангаасable/
然后,在“附件”的“终端”中,“cd”到驱动解压包所在目录,之后依次敲入:
make
sudo make install
sudo make unload
完事后,再输入:
cd /etc
sudo pico modules

[分享]用ndiswrapper给Linux安装无线网卡

[分享]用ndiswrapper给Linux安装无线网卡

[分享]⽤ndiswrapper给Linux安装⽆线⽹卡前些⽇⼦⼀时兴起,买回⼀个笔记本⽤的⽆线⽹卡,在Windows下⽴刻就调通了,并与学校的⽆线⽹成功连接。

但想⼀想⾃⼰是⼀个Linuxer,便开始了⽆线⽹卡在Linux下的安装过程。

⾸先上⽹找了⼀下,发现了这个软件:ndiswrapper,它可以在Linux下利⽤Windows驱动使⽤⽆线⽹卡。

⼤家可以到/projects/ndiswrapper/ 下载到最新的版本。

我的全安装过程如下:⾸先要声明的是,我在我的系统做了两件事,⼀是把/sbin和/usr/sbin加⼊了我⾃⼰的PATH;⼆是⽤root编辑/etc/sudoers⽂件,把⾃⼰的⽤户名放在了root的下⾯。

这样我就可以⽤sudo命令来实现对系统的操作。

⼤家可以在⾃⼰的系统上进⾏相应的调整。

另外,我的⽹卡在安装前就已经插进了PCMCIA插槽。

具体操作如下:⼀、$ vi ~/.bashrc在其中加⼊⼀⾏ export PATH=$PATH:/sbin:/usr/sbin⼆、先⽤root⽤户登录# chmod 777 /etc/sudoers# vi /etc/sudoers在root ALL=(ALL) ALL⼀⾏下加⼊(你的⽤户名) ALL=(ALL) ALL。

# chmod 440 /etc/sudoers全安装过程我是完全按照它的说明做的,具体可以参照/phpwiki/index.php/Installation1、安装ndiswrapper。

⾸先请确认你的系统内核,ndiswrapper要求最低为2.6.6或2.4.26。

系统内核确认的⽅法有很多,我是⽤命令$ ls /boot看到以下⽂件,config-2.6.9-1.667 initrd-2.6.9-1.667.img System.map-2.6.9-1.667grub lost+found vmlinuz-2.6.9-1.667很显然,我的内核是2.6.9-1.667。

Linux下无线网卡驱动的安装

Linux下无线网卡驱动的安装

计算机系列教学文档------Linux下无线网卡驱动的安装Linux下无线网卡驱动的安装本来是我的本本比较旧,为了做一些网络实验,需要安装linux 操作系统,但系统安装完成后,无线网卡的驱动一直有问题,所以在网络上查找到这篇文章,希望对大家有用。

在ubuntu、BT5等linux 操作系统上通用。

The Ipw2200 is the Linux driver for the Intel PRO/Wireless 2200BG Mini-PCI Adapter and Intel PRO/Wireless 2915ABG Mini-PCI Adapter found in Centrino laptops. This driver only works on 2.6.x kernels (2.6.4 or newer).Starting with kernels 2.6.14 the driver is included in kernel.NOTE!Make sure you have installed the firmware! The ipw2200 documentation will tell you where to find these firmware files and where to install those.Included in mainline Linux kernels, tracking the SourceForge version with about 6 months delay.PackagesFedora Packages(1): Fedora Core includes the ipw2200-drivers in FC3 (with updates) and FC4. You still need to grab the firmware from /Fedora Packages(2): /name/ipw2200/Mandriva: The ipw2200 driver modules are included in the stock kernel package; the firmware is included in the commercial distribution or available from /.Gentoo: The driver is in the portage tree: emerge net-wireless/ipw2200 and net-wireless/ipw2200-firmwareDebian Sarge includes the source code for the modules in package ipw2200-source (/ipw2200-source). You additionally need to download firmware manually.Debian Etch includes a version of the modules in its kernel or for a later version install package ipw2200-modules-2.6-486 or ipw2200-modules-2.6-686 or ipw2200-modules-2.6-686-bigmem or ipw2200-modules-2.6-k7 or ipw2200-modules-2.6-amd64; or the source code for them in ipw2200-source (/ipw2200-source) to compile one yourself. You additionally need to download firmware manually.StatusIn development, usable, WEP 128bit encryption works, WPA and WPA2 work with drivers >= 1.0.2 using wpa_supplicant, monitor/rfmon is supported as with version >= 1.0.6. Generally works well, but some users experience problems (especially with firmware restarts and with WPA functionality using wpa_supplicant). Passing the hwcrypto=0 module parameter improves reliability for many users.The ipw2200 driver up to version 1.0.6 (in combination with some newer kernels) had a problem getting DHCP leases (it turned out to be a bug in the broadcasting code). Version 1.0.7 seems to have fixed this.Older ipw2200 driver versions shipped by many distributions have been reported to freeze a T43 after several minutes of intensive communication. Installing version 1.1.2 of the driver solved the problem.Latest stable versions:ipw2200 driver: 1.2.0firmware: 3.0ieee80211 stack: 1.2.15Latest development versions:ipw2200 driver: 1.2.2firmware: 3.1ieee80211 stack: 1.2.18Mainline kernels contain older (but mostly functional) versions of ipw2200 and ieee80211, and still require the addition of the firmware files. To get the latest versions you need to separately install the ipw2200 module and ieee80211 stack.InstallationSource CodeDownload the latest ieee80211 stack and install it:# tar xzvf ieee80211-1.2.15.tgz# cd ieee80211-1.2.15# make# make installDownload the latest ipw2200 module and install it:# tar xzvf ipw2200-1.2.0.tgz# cd ipw2200-1.2.0# make# make installDownload the matching firmware and install it:# tar xzvf ipw2200-fw-3.1.tgz -C /lib/firmwareDebian Sarge# apt-get install ipw2200-source# module-assistant -t build ipw2200-source[is this how module-assistant works in Sarge?]Debian EtchThe kernel includes a version but if you want a more recent version install the module ipw2200-modules-2.6-486 or ipw2200-modules-2.6-686 or ipw2200-modules-2.6-686-bigmem or ipw2200-modules-2.6-k7 or ipw2200-modules-2.6-amd64 depending on your architecture.The firmware is not distributed with Debian due to licensing reasons, download the matching version 3.0 firmware and install it:# tar -xvf ipw2200-fw-3.1.tgz -C /lib/firmware# mv /lib/firmware/ipw2200-fw-3.1/* /lib/firmwareDebian UnstableInstall ieee80211-source:# apt-get install ieee80211-source# module-assistant -t build ieee80211-sourceThe kernel includes a version but if you want a more recent version install the module ipw2200-modules-2.6-486 or ipw2200-modules-2.6-686 or ipw2200-modules-2.6-686-bigmem or ipw2200-modules-2.6-k7 or ipw2200-modules-2.6-amd64 depending on your architecture.There is a bug in the Debian package (last checked: Dec 30th 2005) that prevents from linking to ieee80211 modules using module-assistant. In case it is not fixed in your version, fall back to the regular source installation procedure described above.The firmware is not distributed with Debian due to licensing reasons, download the matching firmware and install it:# tar xzvf ipw2200-fw-2.4.tgz -C /usr/lib/hotplug/firmwaresee /etc/hotplug/firmware.agent for details on configured firmware locationsMake sure that your firmware files are not in a subdirectory (dmesg will give you warnings after any modprobe when firmware can’t be loaded)Fedora CoreInstallation on Fedora Core 5 works out of the box provided you install the ipw2200-firmware package. However, certain parts of the install process may not set up the wireless networking in a friendly manner using GNOME system tray icons and other tools. Bill Moss has written some excellent HowTo articles, including using VPNC to connect to a remote Cisco IPSec network.Fedora Core 5 and the IPW2200 Wireless DriverFedora Core 5 NetworkManager, NetworkManager-vpnc and Wireless Driver IPW2200Testing the driver# modprobe ipw2200# iwconfig# dmesg output might look similar to this:ieee80211: 802.11 data/management/control stack, 1.1.6ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@>ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8ipw2200: Copyright(c) 2003-2005 Intel Corporationipw2200: Detected Intel PRO/Wireless 2915ABG Network ConnectionNB: To make the wifi LED work on the thinkpad, pass the option led=1 to the kernel while loading the module. eg. # modprobe ipw2200 led=1. This can also be accomplished by adding that option to the file where your distribution looks for modprobe options so that it becomes automatic.In debian this can be done by putting a file named after the module in /etc/modutils with the options in ithere we might run a cmd like this# echo options ipw2200 led=1 > /etc/modutils/ipw2200then we must run update-modules to remake /etc/module.conf# update-modulesWPA supportUse wpa_supplicant with the -Dwext argument (not -Dipw), and pass the hwcrypto=0 argument to the ipw2200 module.There are some very detailed instructions with working sample configurations on the following link:ipw2200 WPA instructionPower ManagementThe ipw2200 driver has power management capabilities, which comes in handy while operating on battery.To enable reduced power consumption mode, issue:# iwpriv wlan0 set_power 7where wlan0 is the name of your interface. This will reduce idle power consumption by 1-2 Watts compared to no power management. To return to the “normal” operation mode, you can issue:# iwpriv wlan0 set_power 6.In order to check current settings, you can issue:# iwpriv wlan0 get_power.More information on these option is available in the README.ipw3945 file in the ipw3945 package (README.ipw2200 seems to be rather sketchy about the details of power management). You may want to turn power management on/off on demand in an ACPI script that catches battery/AC events, so that this happens automatically.Note that there have been reports that some versions of ipw2200 react with a firmware error to power management commands. This patch could alleviate the problem.To disable the radio (and further reduce power consumption) when the card is not in use, issue:# echo 1 > /sys/bus/pci/drivers/ipw2200/*/rf_killTo enable the radio, issue:# echo 0 > /sys/bus/pci/drivers/ipw2200/*/rf_killTo make the radio off by default after boot, addoptions ipw2200 disable=1to your /etc/modprobe.conf or equivalent (on kubuntu 6.10 /etc/modprobe.d/options).See README.ipw2200 in the ipw2200 package for details and other options.wpa_supplicant assigns a random SSID wasting powerMany wpa_supplicant versions implement disconnection by configuring a random SSID. ipw2200 reacts in a very unfortunate way to this, intensively scanning for this random SSID and wasting power. This waste can be seen in powertop.Here are a number of ways to solve this problem:Run iwconfig eth1 essid off after every wpa_supplicant disconnection.Upgrade to wpa_supplicant version 0.7.1 or higher. Starting from git commit 3145e615 wpa_supplicant does not configure ipw2200 with a random SSID any more.Backporting commit 3145e615 to wpa_supplicant version 0.6.8 also fixes the problem.Changing the enabled channelsPermitted WiFi channels vary with geography due to regulation. The EEPROM in this chip contains a country code (programmed by the hardware manufacturer), and the driver converts this to a channel list and enforces it.If you carry your laptop to a different regulatory region, you may need to change the list of permitted channels according to local regulations. There are two ways to accomplish this: Patching the ipw2200 driverYou can alter the ipw2200 driver sourcecode to hard-code the country code instead of reading it from EEPROM. For example, this will allow all 14 channels (perfect for those special occasions in international water):—ipw2200.c.orig+++ ipw2200.c@@ -11344,7 +11344,7 @@ static int ipw_up(struct ipw_priv *priv) memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); for (j = 0; j < ARRAY_SIZE(ipw_geos); j++) {- if (!memcmp(&priv->eeprom[EEPROM_COUNTRY_CODE],+ if (!memcmp(“ZZR”, ipw_geos[j].name, 3)) break; }For the list of codes and their meaning, see the “ipw_geos” table in the ipw2200.c sourcecode.Patching the EEPROMAlternatively, you can change the country code in the EEPROM once and for all, and then use the standard ipw2200 driver.See this guide:Patching the EEPROM.Instead of the hd program mentioned there, you can use the more common od program:echo -n ZZD | od -t x10000000 5a 5a 440000003ATTENTION!If this procedure goes wrong, you may ruin your wireless card.Additional CommentsYour kernel may include an old version of the ipw2200 driver. It is recommended to use the latest version.Make sure you also install the firmware version needed by the driver version you use. You can find the firmware here. To install it, decompress the .tgz file into /usr/lib/hotplug/firmware or /lib/firmware depending on your disto.The driver doesn’t appea r to support the MII interface, so any tools like automatic network configuration managers (i.e. whereami) that rely on mii-tool do not work.。

linux下安装无线网卡驱动

linux下安装无线网卡驱动

凡使用红旗LINUX 6.0 sp1的可在开始菜单点击实用工具--软件包管理器如图,找到带有“BCM43XX”字样的软件包卸载。

重启红旗LINUX 6.0 sp1。

1,从/下载ndiswrapper 1.53软件。

此软件是用来使Linux 运行windows无线网卡驱动,从而达到驱动无线的目的。

2,从windows系统中提取无线网卡驱动文件。

以便供ndiswrapper使用。

到windows中找驱动文件也比较简单,先是我的电脑-->属性-->硬件-->设备管理器。

如图:点击无线网卡的属性弹出属性框。

如图:年在“驱动程序详细信息”中,可以看到ar5211.sys文件。

用系统的搜索功能搜索c盘中的“5211”文件,可以查出4个包含“5211”的文件。

其中有两个是相同的,复制其中3个到自建的net文件夹中。

拷贝到Linux中。

3,解压ndiswrapper 1.53软件。

到压缩文件目录下运行tar -xzvf ndiswrapper-1.53.tar.gz 如图:4,进入ndiswrapper目录编译软件。

命令:make如图:5,保持在ndiswrapper目录安装软件,先用su命令切换到root用户,确定变成root用户后目录没有变。

如图:成功切换到root用户后,命令:make install 安装软件。

如图就此ndiswrapper安装就完成了。

接下来安装windows驱动到系统中。

6,进入net目录,也就是刚拷贝到Linux中的windows无线网卡驱动文件目录。

运行命令:/usr/sbin/ndiswrapper -i net5211.inf安装windows驱动,如图:7,检查是否安装成功。

命令 /usr/sbin/ndiswrapper -l看见如图红圈中的内容就恭喜你成功80%了。

再输入命令ndiswrapper -m8,用命令:/sbin/modprobe ndiswrapper加载ndiswrapper核心模块,网卡灯就立即亮了。

Linux下无线网卡安装通用方法

Linux下无线网卡安装通用方法

中国无线论坛summerlucky ———————————————————————————Linux下无线网卡安装通用方法如果你的内核支持你的无线网卡的话那最好了,如果不支持,建议使用ndiswrapper来安装你的无线网卡,能方便很多。

ndiswrapper我已上传上来了。

1. 准备好网卡在Winxp下的驱动程序。

驱动程序最好是最新的,指定给XP用的。

我用到的是BCM4310,笔记本内置的无线网卡。

驱动程序是bcmwl5.inf,通常你解压你的驱动程序就能看到类似这种inf格式的文件了,注意一定要是xp下的,vista下的我试过了,不能用。

2. 安装(1)解压:tar -xf ndiswrapper-1.52.tar.gz(2)进入ndiswrapper-1.52:cd ndiswrapper-1.52(3)编译:./configuremake(4)安装:make install(6)获取该无线网卡的WindowsXP驱动,我取了bcmwl5.sys和bcmwl5.inf.(7)用cd命令转到该驱动所在目录(8)安装无线网卡驱动:ndiswrapper -i bcmwl5.inf(9)查看驱动是否安装:ndiswrapper -l会输出当前已经安装过的驱动Installed ndis drivers:bcmwl5 installedbcmwl5 presentbcmwl5是你安装的inf文件"present"则说明,当前有网卡和这个驱动匹配,正在使用该驱动!!!!!!!(10) 既然可以用,就加载吧modprobe ndiswrapper(11)写入配置文件:ndiswrapper -mndiswrapper -mandiswrapper -mi(12)启动后模块自动加载:modprobe ndiswrapper重启下就OK了接下来是连接了,推荐用wicd比较不错的无线和有线的连接管理软件,支持WPA 和WEP。

linux下Intel 3945ABG 安装无线网卡驱动

linux下Intel 3945ABG 安装无线网卡驱动

linux 下Intel 3945ABG 安装无线网卡驱动1. 添加atrpms 源# gedit /etc/yum.repos.d/atrpms.repo 添加以下内容:代码: [atrpms]Core $releasever - $basearch - ATrpmsbaseurl=dl.atrpms/fc$releasever- $basearch/atrpms/stablegpgkey=ATrpms/RPM-GPG-KEY.atrpmsenabled=0gpgcheck=1 安装key:# rpm --import ATrpms/RPM-GPG- KEY.atrpms2. 安装驱动# yum --enablerepo=atrpms install ipw3945-kmdl-`uname - r` ieee80211-kmdl-`uname -r`3. 打开无线网卡脚本:代码:#!/bin/bash## ipw3945d Load/Unload Intel ipw3945 daemon## chkconfig: 2345 09 90# description: Load / Unload Intel ipw3945 daemon#### BEGIN INIT INFO# Provides: ipw3945d### END INIT INFO# Source function library.. /etc/init.d/functionsif [ ! -f/etc/sysconfig/network ]; thenexit 0ficase $1 instart)echo -n Starting ipw3945d:/sbin/ipw3945d /dev/null 21echo;;stop)echo -n Stopping ipw3945d:killproc ipw3945decho;;status)status ipw3945d;;restart)cd $CWD$0 stop$0 start;;*)echo $Usage: $0 {start|stop|restart|status}exit 1esacexit 0 把上面的代码保存为ipw3945d。

linux无线网络配置无线网卡驱动安装与wlan802.11配置

linux无线网络配置无线网卡驱动安装与wlan802.11配置

Linux无线网络配置——无线网卡驱动安装与WLAN 802.11配置Linux无线网络配置——无线网卡驱动安装与WLAN 802.11配置2008-05-10 18:2720739人阅读评论(5)收藏举报Linux无线网络配置——无线网卡驱动安装与WLAN 802.11配置WLAN (Wireless Local Area Network)类似于有线以太网,WLAN 的802.11a 标准使用5 GHz 频段,支持的最大速度为54 Mbps,而802.11b 和802.11g 标准使用2.4 GHz 频段,分别支持最大11 Mbps 和54 Mbps 的速度。

使用Windows操作系统,WLAN配置很简单。

无线网卡厂商将Windows下的驱动随网卡一起销售。

而Linux新兴的操作系统,这方面的驱动不多。

以前购买无线网卡时也没考虑Linux下的驱动程序,于是需要编译驱动程序源码。

现在市场上大部分的无线网卡都是对于Atheros芯片的。

如TP—LINK的310G、350G、510G、550G、650G。

对于Atheros芯片的网卡,可以到网站上找到驱动程序,根据源代码包里面的README和INSTALL文件来获得足够的安装信息。

最新驱动源码包(0.9.2版本)下载地址/madwifi/madwifi-0.9.2.tar .bz2?modtime=1154005765&amp;big_mirror=0下面详细介绍无线网卡驱动程序的安装和WLAN的配置。

操作步骤:下载驱动源码包存放在/root/downloads目录下步骤一、解压源码压缩包1). 进入文件所在目录cd /root/downloads2). 解压.bz2格式的压缩包bunzip2 madwifi-0.9.2.tar.bz2生成.tar格式压缩包3). 解压.tar格式的压缩包tar xvf madwifi-0.9.2.tar步骤二、编译安装驱动4). 进入解压后的目录cd madwifi-0.9.25). 编译驱动程序make查看编译信息,没有error,编译成功,继续安装驱动6). 安装驱动make install步骤三、驱动模块配置7). 插入扫描模块modprobe ath_pci8). 扫描访问接入点modprobe wlan_scan_sta9). 启动无线网卡ath0ifconfig ath0 up获取网卡信息10). wlanconfig ath0 list scan网卡信息如下,default是所在无线局域网的名称,00:d0:f8:e0:a8:88 是无线路由器的物理地址,54M是带宽为54M网卡。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

换了linux系统后发现无线不能使用,很是苦恼,于是在网上找到各位大神的做法,终于成功安装。

下面给大家介绍一下。

本例以安装Fedora 14无线网卡驱动为例。

参考文章
/Linux/2011-05/35366.htm。

首先在/support/802.11/linux_sta.php 上下载32位的驱动,
下载完成之后进入到下载的文件夹下
#cd ~/Downloads
按照readme的做法,新建一个文件夹,并且将该压缩文件移动到新建的文件夹当中
#mkdri hybrid_wl
#mv hybrid-portsrc-x86_32-v5.60.48.36.tar.gz hybrid_wl/
进入文件夹,进行解压,
#cd hybrid_wl/
#tar -zxvf hybrid-portsrc-x86_32-v5.60.48.36.tar.gz
由于自述文件当中的做法是指定解压目录,因此为了保险,再把这个压缩文件移动到上一级目录
#mv hybrid-portsrc-x86_32-v5.60.48.36.tar.gz ../
根据自述文件的说法(The cards with the following PCI Device IDs are supported with this driver.),查看支持的版本
# lspci -n | grep 14e4
0c:00.0 0280: 14e4:4315 (rev 01)
BRCM PCI PCI DellProduct Name Vendor ID Device ID Product ID
------------- ---------- --------- -----------
4311 2.4 Ghz 0x14e4 0x4311 Dell 1390
4311 Dualband 0x14e4 0x4312 Dell 1490
4311 5 Ghz 0x14e4 0x4313
4312 2.4 Ghz 0x14e4 0x4315 Dell 1395
4313 2.4 Ghz 0x14e4 0x4727 Dell 1501
4321 Dualband 0x14e4 0x4328 Dell 1505
4321 Dualband 0x14e4 0x4328 Dell 1500
4321 2.4 Ghz 0x14e4 0x4329
4321 5 Ghz 0x14e4 0x432a
4322 Dualband 0x14e4 0x432b Dell 1510
4322 2.4 Ghz 0x14e4 0x432c
4322 5 Ghz 0x14e4 0x432d
43224 Dualband 0x14e4 0x4353 Dell 1520
43225 2.4 Ghz 0x14e4 0x4357
发现确实是支持Dell这款无线网卡的
4312 2.4 Ghz 0x14e4 0x4315 Dell 1395
接下来就是对驱动进行编译了,在hybrid_wl目录下执行以下命令
#make clean
#make
**注意,如果出现以下这样的error,则是因为内核源码的问题,
1:查看自己是否安装了kernel-devel-2.6……包,如果没有装包先把包装上试试2:装完这个包还不行的话就需要你自己更新一下内核源码,编译更新的内核
[root@ChinaUnix hybrid-wl]# make cleanKBUILD_NOPEDANTIC=1 make -C
/lib/modules/`uname -r`/build M=`pwd` cleanmake: *** /lib/modules/2.6.35.6-
45.fc14.i686/build: No such file or driectory. Stop.make: *** [clean] Error
2[root@ChinaUnix hybrid-wl]# makeKBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`make: *** /lib/modules/2.6.35.6-45.fc14.i686/build: No such
file or driectory. Stop.make: *** [all] Error 2
完成之后,可以在目录下看到wl.ko 文件,如果以前安装过驱动的话,那么还需要对安装
过的驱动进行清理。

我这里就没有安装过,所以就不需要进行这一步骤了。

如果需要清理的话,进入如下目录
#cd /lib/modules/`uname -r`/kernel/net/wrieless
然后执行命令,将原有的驱动改名
#rmmod wl
#mv wl.ko wl.ko.orig
我之前没有安装过,所以跳过这个步骤,将当前目录hybrid_wl下的wl.ko文件拷贝到驱动目录下
#cp wl.ko /lib/modules/`uname -r`/kernel/net/wrieless/wl.ko
然后进入到该目录
#cd /lib/modules/`uname -r`/kernel/net/wrieless/
执行命令
#depmod
#modprobe wl
lsmod | grep "b43\|ssb\|wl"
根据列出的项目执行如下命令
#rmmod b43
#rmmod ssb
#rmmod wl
以上三个命令我是依次都执行了的。

接着要把b43和ssb 加入到黑名单当中
# echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
# echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
然后根据操作系统不同,选择执行如下其中一个命令,
# modprobe lib80211
or
# modprobe ieee80211_crypt_tkip
自述文件当中表述为较新的操作系统执行 modprobe lib80211 ,以前的老系统执行modprobe ieee80211_crypt_tkip命令。

这里我执行的是 modprobe lib80211 。

然后执行
# insmod wl.ko
|执行之后重新启动启动,起来之后是不是发现WIFI图标亮了呢 :-)
如果你执行了这一步之后出现了错误,那么就自己查一下自述文件当中列举出来的解决办法,相信最终一定可以解决掉的。

相关文档
最新文档