中对新硬件的支持问题是件使人头痛的事情,因为很多芯片厂家对
Linux
系统用户还未曾重视,未能像支持对
Windows
系统一样在新硬件推出的同时便推出相应的
Linux
驱动,或根本就未曾考虑过他们的新产品对
Linux
系统的支持问题。
最近有几款新的笔记本非常畅销,也出现了有部分
Linux
系统对新硬件的支持问题,如近期推出的
MSI(微星)
U100
自带的无线网卡是
Realtek
RTL8187SE,笔记本附带的驱动光盘中只有
Windows
系统的相关驱动,部分Linux
系统的用户就无法使用该无线网卡。
在
msiwind.net
网站上有
Realtek
RTL8187SE
无线网卡的
deb
包驱动,为使用
Realtek
RTL8187SE
芯片的无线网卡用户解决了
Linux
驱动问题。deb
包是
Linux
下安装软件非常好的解决方案,你只需进入相关下载页面,下载对应你
Linux
系统内核版本的
RTL8187SE
网卡驱动
deb
包,只要你的系统支持
deb
安装(例如
Ubuntu
中就可以使用系统自带的
软件包安装程序)即可方便的安装。
msiwind.net
网站上关于
RTL8187SE
驱动
for
Ubuntu
8.04
和
8.10
(DEB
包)
页面地址:
http://forums.msiwind.net/debian/rtl8187se-drivers-for-ubuntu-and-deb-packages-t4954.html
(用
翻译后的页面)
该驱动作者的博客中有相关最新驱动,其页面地址是:
http://boskastrona.ovh.org/index_en.html
(用
翻译后的页面)
在
Ubuntu
9.04
及以后的版本中已经带有了
RTL8187SE
的无线网卡驱动,系统会自动识别你的无线网卡。最后为你推荐一款
Linux
下比较好的无线网络管理小程序,相关内容请参阅本站
Linux
下一个比较好的无线网络管理小程序
Wicd。
应该是想在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在http://fedora.linuxsir.org/main/node/137和mjwdj在http://linux.chinaunix.net/bbs/archiver/tid-1098097.html上的方法解决了问题
解决办法:
1、去http://sourceforge.net/projects/ndiswrapper/files/下载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
lono 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 RefUse Iface
192.168.1.0 * 255.255.255.0 U 0 00 eth1
169.254.0.0 * 255.255.0.0 U 0 00 eth1
[root@ljj ~]# route add default gw 192.168.1.1 eth1
[root@ljj ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 * 255.255.255.0 U 0 00 eth1
169.254.0.0 * 255.255.0.0 U 0 00 eth1
default 192.168.1.1 0.0.0.0 UG0 00 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/s2 Mb/s5.5 Mb/s11 Mb/s6 Mb/s
12 Mb/s24 Mb/s36 Mb/s9 Mb/s18 Mb/s
48 Mb/s54 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/s2 Mb/s5.5 Mb/s11 Mb/s6 Mb/s
12 Mb/s24 Mb/s36 Mb/s9 Mb/s18 Mb/s
48 Mb/s54 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/s2 Mb/s5.5 Mb/s11 Mb/s6 Mb/s
12 Mb/s24 Mb/s36 Mb/s9 Mb/s18 Mb/s
48 Mb/s54 Mb/s
Extra:bcn_int=100
Extra:atim=0
-----------------------------------
以下是配置过程:
[ljj@ljj ~]$ su - root
口令:
[root@ljj ~]# lsmod
Module Size Used by
savage 32705 2
drm65365 3 savage
deflate 7873 0
zlib_deflate 21977 1 deflate
ccm13505 0
serpent29249 0
blowfish 12609 0
twofish46017 0
ecb 7617 0
xcbc9921 0
crypto_hash 6336 1 xcbc
cbc 8257 0
md5 8257 0
sha256 15297 0
sha512 13121 0
des20417 0
aes_generic31745 0
testmgr_cipher 6849 0
testmgr44593 1 testmgr_cipher
crypto_blkcipher 17601 4 ccm,ecb,cbc,testmgr
aes_i586 37057 0
ipcomp611849 0
ipcomp 11465 0
ah610433 0
ah410305 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_tunnel6593 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
autofs424261 2
hidp 23105 2
l2cap 29505 5 hidp
bluetooth 53797 2 hidp,l2cap
sunrpc144765 1
ip_conntrack_ftp 11569 0
ip_conntrack_netbios_ns 6977 0
iptable_nat11205 0
ip_nat 20845 1 iptable_nat
iptable_mangle 6849 0
ipt_REJECT 9537 1
xt_state6209 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
fat51165 1 vfat
dm_mirror 23877 0
dm_multipath 24013 0
scsi_dh11713 1 dm_multipath
video 21193 0
thinkpad_acpi 56929 0
hwmon 7365 1 thinkpad_acpi
backlight 10049 2 video,thinkpad_acpi
sbs18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery13637 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_bus6337 1 snd_ac97_codec
snd_seq_dummy 7877 0
snd_seq_oss32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq49585 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_oss42817 0
bcm43xx 415584 0
ieee80211softmac 33729 1 bcm43xx
ieee80211 34313 2 bcm43xx,ieee80211softmac
snd_mixer_oss 19009 1 snd_pcm_oss
ieee80211_crypt10049 1 ieee80211
snd_pcm72133 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
snd55237 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
parport37513 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_cache9537 1 dm_raid45
ata_piix 23621 0
libata156677 1 ata_piix
sd_mod 25153 0
scsi_mod 141589 3 scsi_dh,libata,sd_mod
ext3 124361 1
jbd56937 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
drm65365 3 savage
deflate 7873 0
zlib_deflate 21977 1 deflate
ccm13505 0
serpent29249 0
blowfish 12609 0
twofish46017 0
ecb 7617 0
xcbc9921 0
crypto_hash 6336 1 xcbc
cbc 8257 0
md5 8257 0
sha256 15297 0
sha512 13121 0
des20417 0
aes_generic31745 0
testmgr_cipher 6849 0
testmgr44593 1 testmgr_cipher
crypto_blkcipher 17601 4 ccm,ecb,cbc,testmgr
aes_i586 37057 0
ipcomp611849 0
ipcomp 11465 0
ah610433 0
ah410305 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_tunnel6593 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
autofs424261 2
hidp 23105 2
l2cap 29505 5 hidp
bluetooth 53797 2 hidp,l2cap
sunrpc144765 1
ip_conntrack_ftp 11569 0
ip_conntrack_netbios_ns 6977 0
iptable_nat11205 0
ip_nat 20845 1 iptable_nat
iptable_mangle 6849 0
ipt_REJECT 9537 1
xt_state6209 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
fat51165 1 vfat
dm_mirror 23877 0
dm_multipath 24013 0
scsi_dh11713 1 dm_multipath
video 21193 0
thinkpad_acpi 56929 0
hwmon 7365 1 thinkpad_acpi
backlight 10049 2 video,thinkpad_acpi
sbs18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery13637 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_bus6337 1 snd_ac97_codec
snd_seq_dummy 7877 0
snd_seq_oss32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq49585 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_oss42817 0
snd_mixer_oss 19009 1 snd_pcm_oss
snd_pcm72133 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
snd55237 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
parport37513 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_cache9537 1 dm_raid45
ata_piix 23621 0
libata156677 1 ata_piix
sd_mod 25153 0
scsi_mod 141589 3 scsi_dh,libata,sd_mod
ext3 124361 1
jbd56937 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 RefUse 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
lono 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 RefUse Iface
192.168.1.0 * 255.255.255.0 U 0 00 eth1
169.254.0.0 * 255.255.0.0 U 0 00 eth1
default 192.168.1.1 0.0.0.0 UG0 00 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
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)