poloshiao 写道:
引用:
~$ udo lspci -knn
udo: unknown option! -knn
抱歉 應該是
sudo lspci -knn
引用:
sudo lshw -numeric -class network
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw ip=10.70.9.23 latency=0 link=yes multicast=yes port=MII speed=10Mbit/s
r8169 不是合適的驅動
參見
<!-- m --><a class="postlink" href="http://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/">http://unixblogger.wordpress.com/2011/1 ... rnet-card/</a><!-- m -->
<!-- m --><a class="postlink" href="http://askubuntu.com/questions/346685/wired-connection-problem-ubuntu-13-04-realtek-rtl8111-8168-ethernet-controller">http://askubuntu.com/questions/346685/w ... controller</a><!-- m -->
<!-- l --><a class="postlink-local" href="http://forum.ubuntu.org.cn/viewtopic.php?p=3116001#p3116001">viewtopic.php?p=3116001#p3116001</a><!-- l -->
安裝合適驅動後 再試一次
驱动已经重新安装。但是PPPOE拨号的问题依旧没用解决
ThinkPad-E420:/home/zshongyi# uname -r
3.19.0-15-generic
ThinkPad-E420:/home/zshongyi#
ThinkPad-E420:/home/zshongyi# lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
Subsystem: Lenovo Device [17aa:21e2]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
Subsystem: Lenovo Device [17aa:21e3]
Kernel driver in use: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
Kernel driver in use: pcieport
00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller [8086:1c01] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
00:1f.5 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller [8086:1c09] (rev 04)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: ata_piix
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] [1002:6741]
Subsystem: Lenovo Device [17aa:21e3]
Kernel driver in use: fglrx_pci
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: r8168
04:00.0 System peripheral [0880]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822] (rev 07)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: sdhci-pci
09:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:8195]
Kernel driver in use: rtl8192ce
ThinkPad-E420:/home/zshongyi#
ThinkPad-E420:/home/zshongyi# lshw -numeric -class network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 06
serial: f0:de:16:65:f1:59
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.039.00-NAPI duplex=half ip=10.70.0.140 latency=0 link=yes multicast=yes port=twisted pair speed=10Mbit/s
resources: irq:25 ioport:5000(size=256) memory:e0404000-e0404fff memory:e0400000-e0403fff
*-network
description: Wireless interface
product: RTL8188CE 802.11b/g/n WiFi Adapter [10EC:8176]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:09:00.0
logical name: wlan0
version: 01
serial: 68:a3:4a:d1:c4:7f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192ce driverversion=3.19.0-15-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:19 ioport:3000(size=256) memory:e1d00000-e1d03fff
ThinkPad-E420:/home/zshongyi#
ThinkPad-E420:/home/zshongyi# ifconfig -a
eth0 Link encap:以太网 硬件地址 f0:de:16:65:f1:59
inet 地址:10.70.0.140 广播:10.70.3.255 掩码:255.255.252.0
inet6 地址: fe80::f2de:f1ff:fe59:1665/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:18 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:487 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:3910 (3.9 KB) 发送字节:57433 (57.4 KB)
中断:25 基本地址:0x4000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:443 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:443 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:36739 (36.7 KB) 发送字节:36739 (36.7 KB)
wlan0 Link encap:以太网 硬件地址 68:a3:4a:d1:c4:7f
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:19 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:104 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:3540 (3.5 KB) 发送字节:17457 (17.4 KB)
ThinkPad-E420:/home/zshongyi#
ThinkPad-E420:/home/zshongyi# route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 10.70.0.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.70.0.1 0.0.0.0 UG 1024 0 0 eth0
10.70.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
10.70.0.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0
ThinkPad-E420:/home/zshongyi#
ThinkPad-E420:/home/zshongyi# dhclient -v
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/Corrupt lease file - possible data loss!
Listening on LPF/eth0/f0:de:16:65:f1:59
Sending on LPF/eth0/f0:de:16:65:f1:59
Sending on Socket/fallback
DHCPREQUEST of 10.70.0.140 on eth0 to 255.255.255.255 port 67 (xid=0x790feb00)
DHCPACK of 10.70.0.140 from 10.70.0.1
RTNETLINK answers: File exists
bound to 10.70.0.140 -- renewal in 105839 seconds.
ThinkPad-E420:/home/zshongyi#
ThinkPad-E420:/home/zshongyi# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 255.255.255.255
nameserver 211.140.188.188
nameserver 211.140.13.188