802.11无线网卡驱动(80211无线网卡驱动是什么)
一、无线网卡高级配置里面的,这个是什么意思,每一个的意思是
1、802.11b preamble:是802.11b帧的前导域,用于设备之间的数据同步。
2、Adhoc 11n:Adhoc是一种不依赖与基础设备而组网的一种技术,节点与节点之间互相承担路由转发和广播等功能。
3、Dynamic MIMO power save:动态电源调节技术。
4、network address:就是网卡的MAC地址,默认为空,可以修改为其他的MAC地址。
5、receive buffers:网卡最大可用的接收缓存。
6、scan valid interval:扫描间隔,保持默认即可。
7、transmit buffers:网卡最大可用的发送缓存。
二、无线网卡驱动英特尔 Wireless-N 7260 for linux
1.首先确定电脑的无线芯片是什么型号的,用如下命令:
lspci-vnn|grep 14e4
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315](rev 01)
BCM4312就是用的无线芯片的具体型号了。
2.在broadcom的网站上下载linux下的驱动。www.broadcom.com/support/802.11/linux_sta.php。下了32-bit的驱动,再下了一个readme。然后基本上按照这个readme来安装驱动。要跟据机子的位数来下载.
3安装可参照:
1).安装:先创建驱动程序的目录,mkdir hybrid_wl
cd hybrid_wl
将驱动程序解压到该目录中,tar-xzf hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz
2).然后执行下面的命令:
make clean
make
移除原来的驱动程序,
lsmod| grep"b43\|ssb\|wl"
rmmod b43
rmmod ssb
rmmod wl
3).真正的安装
modprobe lib80211
insmod wl.ko
4.完成
安装中有问题请联系我。E-mail:hou.ge1999@163.com
三、瑞昱RTL 8187L无线网卡linux驱动
应该是想在LINUX下使用8187无线网卡。那么只要达到目的就行。
拿8187的WINDOWS下的驱动,使用ndiswrapper这个桥梁程序,把驱动借到linux下用,换句话说就是内核先调用ndiswrapper模块,ndiswrapper模块再调用无线网卡在WIN下的驱动。
详细步骤如下,我在我的本本上成功的驱上了我的无线网卡,我把过程记录下来了,现在贴给你,希望对你有帮助。
--------------------------
《Linksys WPC54Gv2的PCMCIA无线网卡在centos5.3下能用了》
问题:CENTOS_5.3安装好后在设备管理器里能看见无线网卡,但无法激活
使用lspci可以看到这个无线网卡
[root@ljj~]# lspci
............
03:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller(rev 02)
参考lex在和mjwdj在上的方法解决了问题
解决办法:
1、去下载ndiswrapper-1.55.tar.gz,它是一个桥梁,能使windows下的无线网卡驱动在Linux下使用。
2、tar xvzf ndiswrapper-1.55.tar.gz解开它
3、less INSTALL看安装说明,先make uninstall,再make,再su为root超级用户后make install安装它。
4、把windows下的无线网卡驱动解开,我的网卡是PCMCIA接口的linksys WPC54Gv2,解开后运行
[root@ljj~]#/usr/sbin/ndiswrapper-i lsbcmnds.inf
5、安装后看看是否安装上了
[root@ljj~]#ndiswrapper-l
lsbcmnds: driver installed
device(14E4:4320) present(alternate driver: bcm43xx)
6、再看看14E4:4320也在,是那个rev 02的版本
[root@ljj~]# lspci-n
00:00.0 0600: 8086:3575(rev 04)
00:01.0 0604: 8086:3576(rev 04)
00:1d.0 0c03: 8086:2482(rev 02)
00:1d.1 0c03: 8086:2484(rev 02)
00:1d.2 0c03: 8086:2487(rev 02)
00:1e.0 0604: 8086:2448(rev 42)
00:1f.0 0601: 8086:248c(rev 02)
00:1f.1 0101: 8086:248a(rev 02)
00:1f.3 0c05: 8086:2483(rev 02)
00:1f.5 0401: 8086:2485(rev 02)
01:00.0 0300: 5333:8c2e(rev 05)
02:00.0 0607: 104c:ac51
02:00.1 0607: 104c:ac51
02:02.0 0780: 11c1:0449(rev 01)
02:08.0 0200: 8086:1031(rev 42)
03:00.0 0280: 14e4:4320(rev 02)
7、看看无线网卡接口
[root@ljj~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
eth1 IEEE 802.11b/g ESSID:"" Nickname:"Broadcom 4306"
Mode:Managed Frequency=2.442 GHz Access Point: Invalid
RTS thrff Fragment thrff
Encryption keyff
Link Quality=0/100 Signal level=-256 dBm Noise level=-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
发现没有ESSID号,没有连接速率,没连上。
8、把它变成模块
[root@ljj~]# ndiswrapper-m
adding"alias wlan0 ndiswrapper" to/etc/modprobe.d/ndiswrapper...
9、lsmod发现系统本身有bcm43xx,这也就是为什么在设备管理器中能看到无线网卡的原因,但它不能用,所以要删掉这个模块改用ndiswrapper
[root@ljj~]# modprobe-r bcm43xx
10、再加载ndiswrapper模块让它负责用windows下的驱动程序驱动无线网卡
[root@ljj~]# modprobe ndiswrapper
再用lsmod看看,仅有ndiswrapper模块了
[root@ljj~]# lsmod
Module Size Used by
ndiswrapper 170256 0
............
11、指定无线信号源,使用
[root@ljj~]# iwconfig eth1 essid'ljj'
12、指定密码
[root@ljj~]# iwconfig eth1 key 6666-6666-66 open
如果要开机就用可以直接在rc.local文件里设定:
echo'iwconfig eth1 key 6666-6666-66 open'>>/etc/rc.d/rc.local
13、指定ip地址
[root@ljj~]# ifconfig eht1 192.168.1.10 netmask 255.255.255.0
[root@ljj~]# ifconfig eth1 up
15、指定网关、缺省路由
[root@ljj~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0* 255.255.255.0 U 0 0 0 eth1
169.254.0.0* 255.255.0.0 U 0 0 0 eth1
[root@ljj~]# route add default gw 192.168.1.1 eth1
[root@ljj~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0* 255.255.255.0 U 0 0 0 eth1
169.254.0.0* 255.255.0.0 U 0 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
16、就可以用了,你还可以扫描一下周围的其他网络信号
[root@ljj~]# iwlist eth1 scanning
eth1 Scan completed:
Cell 01- Address: 00:1D:0F:93:7A:46
ESSID:"ljj"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz(Channel 11)
Quality:100/100 Signal level:-31 dBm Noise level:-96 dBm
Encryption keyff
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02- Address: 00:25:86:4D:B2:BA
ESSID:"TP-LINK_4DB2BA"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz(Channel 6)
Quality:37/100 Signal level:-72 dBm Noise level:-96 dBm
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 03- Address: 00:1D:0F:92:7F:AC
ESSID:"TP-LINK"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz(Channel 6)
Quality:23/100 Signal level:-81 dBm Noise level:-96 dBm
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
-----------------------------------
以下是配置过程:
[ljj@ljj~]$ su- root
口令:
[root@ljj~]# lsmod
Module Size Used by
savage 32705 2
drm 65365 3 savage
deflate 7873 0
zlib_deflate 21977 1 deflate
ccm 13505 0
serpent 29249 0
blowfish 12609 0
twofish 46017 0
ecb 7617 0
xcbc 9921 0
crypto_hash 6336 1 xcbc
cbc 8257 0
md5 8257 0
sha256 15297 0
sha512 13121 0
des 20417 0
aes_generic 31745 0
testmgr_cipher 6849 0
testmgr 44593 1 testmgr_cipher
crypto_blkcipher 17601 4 ccm,ecb,cbc,testmgr
aes_i586 37057 0
ipcomp6 11849 0
ipcomp 11465 0
ah6 10433 0
ah4 10305 0
esp6 12225 0
xfrm6_esp 9537 1 esp6
esp4 12352 0
xfrm4_esp 9793 1 esp4
aead 11841 4 ccm,testmgr,esp6,esp4
crypto_algapi 22849 7 ccm,ecb,xcbc,cbc,testmgr,crypto_blkcipher,aead
xfrm4_tunnel 6593 0
tunnel4 7365 1 xfrm4_tunnel
xfrm4_mode_tunnel 6849 0
xfrm4_mode_transport 6209 0
xfrm6_mode_transport 6337 0
xfrm6_mode_tunnel 6721 0
xfrm6_tunnel 11233 1 ipcomp6
tunnel6 7365 1 xfrm6_tunnel
af_key 40785 0
autofs4 24261 2
hidp 23105 2
l2cap 29505 5 hidp
bluetooth 53797 2 hidp,l2cap
sunrpc 144765 1
ip_conntrack_ftp 11569 0
ip_conntrack_netbios_ns 6977 0
iptable_nat 11205 0
ip_nat 20845 1 iptable_nat
iptable_mangle 6849 0
ipt_REJECT 9537 1
xt_state 6209 11
ip_conntrack 52897 5 ip_conntrack_ftp,ip_conntrack_netbios_ns,iptable_nat,ip_nat,xt_state
nfnetlink 10713 2 ip_nat,ip_conntrack
xt_tcpudp 7105 13
iptable_filter 7105 1
ip_tables 17029 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 17349 5 iptable_nat,ipt_REJECT,xt_state,xt_tcpudp,ip_tables
vfat 15937 1
fat 51165 1 vfat
dm_mirror 23877 0
dm_multipath 24013 0
scsi_dh 11713 1 dm_multipath
video 21193 0
thinkpad_acpi 56929 0
hwmon 7365 1 thinkpad_acpi
backlight 10049 2 video,thinkpad_acpi
sbs 18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
ipv6 261473 21 ipcomp6,ah6,esp6,xfrm6_esp,xfrm6_mode_transport,xfrm6_tunnel,tunnel6
xfrm_nalgo 13381 7 ah6,ah4,esp6,xfrm6_esp,esp4,xfrm4_esp,ipv6
crypto_api 12608 10 ccm,testmgr,crypto_blkcipher,ah6,ah4,esp6,esp4,aead,crypto_algapi,xfrm_nalgo
lp 15849 0
snd_intel8x0 35421 1
snd_ac97_codec 93025 1 snd_intel8x0
ac97_bus 6337 1 snd_ac97_codec
snd_seq_dummy 7877 0
snd_seq_oss 32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq 49585 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42817 0
bcm43xx 415584 0
ieee80211softmac 33729 1 bcm43xx
ieee80211 34313 2 bcm43xx,ieee80211softmac
snd_mixer_oss 19009 1 snd_pcm_oss
ieee80211_crypt 10049 1 ieee80211
snd_pcm 72133 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
serio_raw 10693 0
snd_timer 24517 2 snd_seq,snd_pcm
e100 36809 0
ide_cd 40161 0
snd 55237 11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
mii 9409 1 e100
soundcore 11553 1 snd
i2c_i801 11725 0
parport_pc 29157 1
pcspkr 7105 0
cdrom 36577 1 ide_cd
snd_page_alloc 14281 2 snd_intel8x0,snd_pcm
i2c_core 23745 2 i2c_ec,i2c_i801
parport 37513 2 lp,parport_pc
dm_raid45 66509 0
dm_message 6977 1 dm_raid45
dm_region_hash 15681 1 dm_raid45
dm_log 14529 3 dm_mirror,dm_raid45,dm_region_hash
dm_mod 62201 4 dm_mirror,dm_multipath,dm_raid45,dm_log
dm_mem_cache 9537 1 dm_raid45
ata_piix 23621 0
libata 156677 1 ata_piix
sd_mod 25153 0
scsi_mod 141589 3 scsi_dh,libata,sd_mod
ext3 124361 1
jbd 56937 1 ext3
uhci_hcd 25421 0
ohci_hcd 24553 0
ehci_hcd 33357 0
[root@ljj~]#
[root@ljj~]#
[root@ljj~]# modprobe-r bcm43xx
[root@ljj~]#
[root@ljj~]#
[root@ljj~]#
[root@ljj~]#
[root@ljj~]#
[root@ljj~]#
[root@ljj~]# lsmod
Module Size Used by
savage 32705 2
drm 65365 3 savage
deflate 7873 0
zlib_deflate 21977 1 deflate
ccm 13505 0
serpent 29249 0
blowfish 12609 0
twofish 46017 0
ecb 7617 0
xcbc 9921 0
crypto_hash 6336 1 xcbc
cbc 8257 0
md5 8257 0
sha256 15297 0
sha512 13121 0
des 20417 0
aes_generic 31745 0
testmgr_cipher 6849 0
testmgr 44593 1 testmgr_cipher
crypto_blkcipher 17601 4 ccm,ecb,cbc,testmgr
aes_i586 37057 0
ipcomp6 11849 0
ipcomp 11465 0
ah6 10433 0
ah4 10305 0
esp6 12225 0
xfrm6_esp 9537 1 esp6
esp4 12352 0
xfrm4_esp 9793 1 esp4
aead 11841 4 ccm,testmgr,esp6,esp4
crypto_algapi 22849 7 ccm,ecb,xcbc,cbc,testmgr,crypto_blkcipher,aead
xfrm4_tunnel 6593 0
tunnel4 7365 1 xfrm4_tunnel
xfrm4_mode_tunnel 6849 0
xfrm4_mode_transport 6209 0
xfrm6_mode_transport 6337 0
xfrm6_mode_tunnel 6721 0
xfrm6_tunnel 11233 1 ipcomp6
tunnel6 7365 1 xfrm6_tunnel
af_key 40785 0
autofs4 24261 2
hidp 23105 2
l2cap 29505 5 hidp
bluetooth 53797 2 hidp,l2cap
sunrpc 144765 1
ip_conntrack_ftp 11569 0
ip_conntrack_netbios_ns 6977 0
iptable_nat 11205 0
ip_nat 20845 1 iptable_nat
iptable_mangle 6849 0
ipt_REJECT 9537 1
xt_state 6209 11
ip_conntrack 52897 5 ip_conntrack_ftp,ip_conntrack_netbios_ns,iptable_nat,ip_nat,xt_state
nfnetlink 10713 2 ip_nat,ip_conntrack
xt_tcpudp 7105 13
iptable_filter 7105 1
ip_tables 17029 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 17349 5 iptable_nat,ipt_REJECT,xt_state,xt_tcpudp,ip_tables
vfat 15937 1
fat 51165 1 vfat
dm_mirror 23877 0
dm_multipath 24013 0
scsi_dh 11713 1 dm_multipath
video 21193 0
thinkpad_acpi 56929 0
hwmon 7365 1 thinkpad_acpi
backlight 10049 2 video,thinkpad_acpi
sbs 18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
ipv6 261473 21 ipcomp6,ah6,esp6,xfrm6_esp,xfrm6_mode_transport,xfrm6_tunnel,tunnel6
xfrm_nalgo 13381 7 ah6,ah4,esp6,xfrm6_esp,esp4,xfrm4_esp,ipv6
crypto_api 12608 10 ccm,testmgr,crypto_blkcipher,ah6,ah4,esp6,esp4,aead,crypto_algapi,xfrm_nalgo
lp 15849 0
snd_intel8x0 35421 1
snd_ac97_codec 93025 1 snd_intel8x0
ac97_bus 6337 1 snd_ac97_codec
snd_seq_dummy 7877 0
snd_seq_oss 32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq 49585 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42817 0
snd_mixer_oss 19009 1 snd_pcm_oss
snd_pcm 72133 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
serio_raw 10693 0
snd_timer 24517 2 snd_seq,snd_pcm
e100 36809 0
ide_cd 40161 0
snd 55237 11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
mii 9409 1 e100
soundcore 11553 1 snd
i2c_i801 11725 0
parport_pc 29157 1
pcspkr 7105 0
cdrom 36577 1 ide_cd
snd_page_alloc 14281 2 snd_intel8x0,snd_pcm
i2c_core 23745 2 i2c_ec,i2c_i801
parport 37513 2 lp,parport_pc
dm_raid45 66509 0
dm_message 6977 1 dm_raid45
dm_region_hash 15681 1 dm_raid45
dm_log 14529 3 dm_mirror,dm_raid45,dm_region_hash
dm_mod 62201 4 dm_mirror,dm_multipath,dm_raid45,dm_log
dm_mem_cache 9537 1 dm_raid45
ata_piix 23621 0
libata 156677 1 ata_piix
sd_mod 25153 0
scsi_mod 141589 3 scsi_dh,libata,sd_mod
ext3 124361 1
jbd 56937 1 ext3
uhci_hcd 25421 0
ohci_hcd 24553 0
ehci_hcd 33357 0
[root@ljj~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[root@ljj~]# modprobe ndiswrapper
[root@ljj~]# ndiswrapper-l
lsbcmnds: driver installed
device(14E4:4320) present(alternate driver: bcm43xx)
[root@ljj~]#
[root@ljj~]# iwconfig eth1 essid'ljj'
[root@ljj~]# iwconfig eth1 key 6666-6666-66 open
[root@ljj~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"ljj"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1D:0F:93:7A:46
Bit Rate:54 Mb/s Tx-Power:14 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:6666-6666-66 Security modepen
Power Managementff
Link Quality:100/100 Signal level:-31 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root@ljj~]# ping 192.168.1.1
PING 192.168.1.1(192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=4.77 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.68 ms
--- 192.168.1.1 ping statistics---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev= 1.687/3.229/4.771/1.542 ms
[root@ljj~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0* 255.255.255.0 U 0 0 0 eth1
169.254.0.0* 255.255.0.0 U 0 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
[root@ljj~]# ping www.baidu.com
PING www.a.shifen.com(202.108.22.5) 56(84) bytes of data.
64 bytes from xd-22-5-a8.bta.net.cn(202.108.22.5): icmp_seq=1 ttl=54 time=15.4 ms
64 bytes from xd-22-5-a8.bta.net.cn(202.108.22.5): icmp_seq=2 ttl=54 time=14.7 ms
64 bytes from xd-22-5-a8.bta.net.cn(202.108.22.5): icmp_seq=3 ttl=54 time=14.9 ms
64 bytes from xd-22-5-a8.bta.net.cn(202.108.22.5): icmp_seq=4 ttl=54 time=14.7 ms
--- www.a.shifen.com ping statistics---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev= 14.708/14.952/15.402/0.296 ms