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:~$
thinkpad x230 安装14.04,找不到无线网卡,附lshw ifconfig route 等输出日志
-
- 帖子: 2
- 注册时间: 2015-03-21 20:13
- 系统: Ubuntu14.04
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: thinkpad x230 安装14.04,找不到无线网卡,附lshw ifconfig route 等输出
虚拟机启动后不会将宿主机的无线网卡认作“无线网卡”,而会认作“有线网卡"。不管你有几块网卡,象vmware workstation这样的虚拟机软件里,任何一个时刻一般应该只能看到一块网卡:如果你的宿主机用的是有线网卡,那么在虚拟机里看到的就应该是以这块有线网卡为虚拟网络设备的一块“有线网卡”;如果你的宿主机正在使用的是无线网卡,那么在虚拟机里看到的,就应该是以这块无线网卡为虚拟网络设备的一块“有线网卡”--对了,也是“有线”的,这个“有线”是虚拟机软件“虚拟”出来的一个网络设备,除了在底层用到了你那块无线网卡,在其他逻辑层面和“无线”毫无关系。。。
以下是我在virtualbox上使用宿主机上的无线网卡的例子:mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 memory:f0000000-f001ffff ioport:d000(size=8)
注意:上面虚拟机设置里我选择是虚拟机使用宿主机的无线网卡,但是虚拟机启动完成后这块无线网卡被虚拟机软件虚拟成了一块“有线网卡”--“82540EM Gigabit Ethernet Controller” !
以下是我在virtualbox上使用宿主机上的无线网卡的例子:
代码: 全选
$ 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
resources: irq:19 memory:f0000000-f001ffff ioport:d000(size=8)
注意:上面虚拟机设置里我选择是虚拟机使用宿主机的无线网卡,但是虚拟机启动完成后这块无线网卡被虚拟机软件虚拟成了一块“有线网卡”--“82540EM Gigabit Ethernet Controller” !
三年后终于回到16.04--稳定了!
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: thinkpad x230 安装14.04,找不到无线网卡,附lshw ifconfig route 等输出
1. http://kb.vmware.com/selfservice/micros ... Id=1001805configuration: autonegotiation=off broadcast=yes driver=vmxnet
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 版本