poloshiao 写道:
把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
1-1. 如果無線網卡是 usb 裝置 請增加
sudo lsusb
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo cat /etc/network/interfaces
把結果直接 選取/複製 貼上來
首先请原谅我那么迟才回复,因为最近太多事情,其实我很早在windows下查看论坛我就看到了,只是最近项目把逼得紧,没空去捣弄ubuntu,再次先说声谢谢0: 3.19.0-28-generic
1:(我的是笔记本内置无线网卡):
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: mei_me
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM86 Express LPC Controller [8086:8c49] (rev 05)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 05)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
Subsystem: Acer Incorporated [ALI] Device [1025:0920]
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)
Subsystem: Acer Incorporated [ALI] Device [1025:0922]
Kernel driver in use: nvidia
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5287] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:0866]
Kernel driver in use: rtsx_pci
07:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
Subsystem: Acer Incorporated [ALI] Device [1025:0866]
Kernel driver in use: r8169
08:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: Lite-On Communications Inc Device [11ad:0642]
Kernel driver in use: ath9k
2: Hardware Lister (lshw) - B.02.17
usage: lshw [-format] [-options ...]
lshw -version
-version print program version (B.02.17)
format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-short output hardware paths
-businfo output bus information
options can be
-class CLASS only show a certain class of hardware
-C CLASS same as '-class CLASS'
-c CLASS same as '-class CLASS'
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don't display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)
-numeric output numeric IDs (for PCI, USB, etc.)
3.eth0 Link encap:以太网 硬件地址 f0:76:1c:3e:ad:a4
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)
eth0:avahi Link encap:以太网 硬件地址 f0:76:1c:3e:ad:a4
inet 地址:169.254.8.81 广播:169.254.255.255 掩码:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 跃点数:1
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1005 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1005 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:99441 (99.4 KB) 发送字节:99441 (99.4 KB)
wlan0 Link encap:以太网 硬件地址 ac:b5:7d:cd:9b:33
inet 地址:192.168.1.127 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::aeb5:7dff:fecd:9b33/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:3446 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:2991 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:2929661 (2.9 MB) 发送字节:641597 (641.5 KB)
4.目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 0.0.0.0 0.0.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 1024 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
5.auto eth0
iface eth0 inet dhcp