当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : thinkpad x230 安装14.04,找不到无线网卡,附lshw ifconfig route 等输出日志
帖子发表于 : 2015-03-21 20:28 

注册: 2015-03-21 20:13
帖子: 2
系统: Ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
0. uname -r
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo rfkill list all
上面命令在终端运行结果如下(我是用Vmware装的Ubuntu),请问是啥原因


rootadmin@ubuntu:~$ uname -r
3.13.0-32-generic
rootadmin@ubuntu:~$ sudo lshw -numeric -class network
*-network
description: Ethernet interface
product: 79c970 [PCnet32 LANCE] [1022:2000]
vendor: Advanced Micro Devices, Inc. [AMD] [1022]
physical id: 1
bus info: pci@0000:02:01.0
logical name: eth0
version: 10
serial: 00:0c:29:d8:e5:76
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master rom ethernet physical logical tp 1000bt-fd
configuration: autonegotiation=off broadcast=yes driver=vmxnet driverversion=2.0.15.0 duplex=full firmware=N/A ip=192.168.193.128 latency=64 link=yes maxlatency=255 mingnt=6 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 ioport:2000(size=128) memory:d8400000-d840ffff
rootadmin@ubuntu:~$
rootadmin@ubuntu:~$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:29:d8:e5:76
inet addr:192.168.193.128 Bcast:192.168.193.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fed8:e576/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25561 errors:0 dropped:0 overruns:0 frame:0
TX packets:17770 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30137198 (30.1 MB) TX bytes:1394944 (1.3 MB)
Interrupt:19 Base address:0x2024

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1678 errors:0 dropped:0 overruns:0 frame:0
TX packets:1678 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:219655 (219.6 KB) TX bytes:219655 (219.6 KB)

rootadmin@ubuntu:~$
rootadmin@ubuntu:~$ sudo route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.193.2 0.0.0.0 UG 0 0 0 eth0
192.168.193.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
rootadmin@ubuntu:~$
rootadmin@ubuntu:~$ sudo rfkill list all
rootadmin@ubuntu:~$


页首
 用户资料  
 
2 楼 
 文章标题 : Re: thinkpad x230 安装14.04,找不到无线网卡,附lshw ifconfig route 等输出
帖子发表于 : 2015-03-21 23:33 

注册: 2012-03-31 3:29
帖子: 1554
送出感谢: 2
接收感谢: 121
虚拟机启动后不会将宿主机的无线网卡认作“无线网卡”,而会认作“有线网卡"。不管你有几块网卡,象vmware workstation这样的虚拟机软件里,任何一个时刻一般应该只能看到一块网卡:如果你的宿主机用的是有线网卡,那么在虚拟机里看到的就应该是以这块有线网卡为虚拟网络设备的一块“有线网卡”;如果你的宿主机正在使用的是无线网卡,那么在虚拟机里看到的,就应该是以这块无线网卡为虚拟网络设备的一块“有线网卡”--对了,也是“有线”的,这个“有线”是虚拟机软件“虚拟”出来的一个网络设备,除了在底层用到了你那块无线网卡,在其他逻辑层面和“无线”毫无关系。。。

以下是我在virtualbox上使用宿主机上的无线网卡的例子:
附件:
virtualbox_setting_using_wireless.PNG
virtualbox_setting_using_wireless.PNG [ 53.58 KiB | 被浏览 1412 次 ]


代码:
$ sudo lshw -numeric -class network
  *-network               
       description: Ethernet interface
       product: 82540EM Gigabit Ethernet Controller [8086:100E]
       vendor: Intel Corporation [8086]
       physical id: 3
       bus info: pci@0000:00:03.0
       logical name: eth0
       version: 02
       serial: 08:00:27:1a:37:95
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=179.188.1.102 latency=64 link=yes
mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 memory:f0000000-f001ffff ioport:d000(size=8)

注意:上面虚拟机设置里我选择是虚拟机使用宿主机的无线网卡,但是虚拟机启动完成后这块无线网卡被虚拟机软件虚拟成了一块“有线网卡”--“82540EM Gigabit Ethernet Controller” !


_________________
16.04-->14.04


页首
 用户资料  
 
3 楼 
 文章标题 : Re: thinkpad x230 安装14.04,找不到无线网卡,附lshw ifconfig route 等输出
帖子发表于 : 2015-03-22 6:38 

注册: 2009-08-04 16:33
帖子: 16882
送出感谢: 21
接收感谢: 1825
引用:
configuration: autonegotiation=off broadcast=yes driver=vmxnet

1. http://kb.vmware.com/selfservice/micros ... Id=1001805
1-1. VMXNET: The VMXNET virtual network adapter has no physical counterpart. VMXNET is optimized for performance in a virtual machine. Because operating system vendors do not provide built-in drivers for this card, you must install VMware Tools to have a driver for the VMXNET network adapter available.
1-2. VMXNET 2 (Enhanced) 請詳閱上文
1-3. VMXNET 3 請詳閱上文

2. 請提供 VMware 版本


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译