【整理】Ubuntu/Linux下如何查看无线网卡的具体型号
【整理】Ubuntu/Linux下如何查看无线网卡的具体型号
【目的】
为了重新安装正确的无线网卡的驱动,所以要先弄清楚我的笔记本上的无线网卡的具体的型号。
【过程】
打开终端,用如下命令/方法查看:
1。 ifconfig -a
或
ifconfig
去试了,是否后面加参数-a,输出都是一样的:
crifan@crifan-laptop:/usr/bin$ ifconfig -aeth0 Link encap:以太网 硬件地址 00:22:20:07:72:d6 UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) 中断:27 基本地址:0x2000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 跃点数:1 接收数据包:12 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:12 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:0 接收字节:720 (720.0 B) 发送字节:720 (720.0 B)wlan0 Link encap:以太网 硬件地址 00:24:21:c9:af:7f inet 地址:192.168.1.108 广播:192.168.1.255 掩码:255.255.255.0 inet6 地址: fe80::224:21ff:fec9:af7f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:5743 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:5914 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:4741031 (4.7 MB) 发送字节:984245 (984.2 KB) 中断:16 Memory:f89f8000-f89f8100
并且,也找不到无线网卡的具体型号。
2。lspci,找到输出信息中,有关无线网卡的部分:
我的lspci -vv的结果:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8171 (rev 10) Subsystem: Micro-Star International Co., Ltd. Device 6897 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 Region 0: I/O ports at 2000 [size=256] Region 1: Memory at f8000000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: rtl819xSE Kernel modules: r8192se_pci
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) Subsystem: Mitac Device 9223 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 27 Region 0: I/O ports at 3000 [size=256] Region 2: Memory at f4000000 (64-bit, prefetchable) [size=4K] Region 4: Memory at f2000000 (64-bit, prefetchable) [size=16K] [virtual] Expansion ROM at f2010000 [disabled] [size=64K] Capabilities: <access denied> Kernel driver in use: r8169 Kernel modules: r8169
里面只能输入类似于rtl819xSE的信息,即无线网卡的大概型号,而无法知道具体是哪个型号的,比如具体是RTL8192SE,还是RTL8188SU之类的。
3。用system-config-network查看:
搜了下,这个工具好像是Fedora Core带的网络管理工具,而Ubuntu没有的,我的是Ubuntu 10.04。。。
4.最后验证,用无线网卡的工具iwconfig,可以查看到自己的无线网卡的具体的型号:
【在Linux/Ubuntu下 如何查看自己的无线网卡的具体型号】
打开终端,输入iwconfig,显示出无线网卡的相关的信息:
crifan@crifan-laptop:~$ iwconfiglo no wireless extensions.
eth0 no wireless extensions.
wlan0 802.11bgn Nickname:”rtl8191SEVA2“ Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated Bit Rate:135 Mb/s Retry:on RTS thr:off Fragment thr:off Power Management:off Link Quality=10/100 Signal level=0 dBm Noise level=-100 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
其中,rtl8191SEVA2即为我这里的无线网卡的具体的型号。