DELL1427笔记本联网问题
-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
DELL1427笔记本联网问题
直接安装在dell1427笔记本上的ubuntu kylin 14.04 LTS,有线只能固定IP上网。可能安装系统的时候没有联网,导致没有无线网卡驱动,所以现在也不能连WIFI。希望有大神能帮我一把,在此先行谢过了!以下是我参照这里类似的问题所执行的指令(粗体),希望能够有用。
evanchan@evanchan-Inspiron-1427:~$ uname -r
3.13.0-24-generic
evanchan@evanchan-Inspiron-1427:~$ sudo lshw -numeric -class network
[sudo] password for evanchan:
PCI (sysfs)
*-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:08:00.0
logical name: eth0
version: 02
serial: 00:21:70:f2:d2:c8
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:45 ioport:3000(size=256) memory:f8010000-f8010fff memory:f8000000-f800ffff memory:f8020000-f802ffff
*-network
description: Network controller
product: BCM4312 802.11b/g LP-PHY [14E4:4315]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:0e:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:18 memory:f3000000-f3003fff
evanchan@evanchan-Inspiron-1427:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
evanchan@evanchan-Inspiron-1427:~$ sudo rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
evanchan@evanchan-Inspiron-1427:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
No broadcast interfaces found - exiting.
evanchan@evanchan-Inspiron-1427:~$ sudo ls -al/etc/resolv.conf
ls:无效选项 -- /
Try 'ls --help' for more information.
evanchan@evanchan-Inspiron-1427:~$ sudo cat/run/resolvconf/resolv.conf
sudo:cat/run/resolvconf/resolv.conf: command not found
evanchan@evanchan-Inspiron-1427:~$ uname -r
3.13.0-24-generic
evanchan@evanchan-Inspiron-1427:~$ sudo lshw -numeric -class network
[sudo] password for evanchan:
PCI (sysfs)
*-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:08:00.0
logical name: eth0
version: 02
serial: 00:21:70:f2:d2:c8
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:45 ioport:3000(size=256) memory:f8010000-f8010fff memory:f8000000-f800ffff memory:f8020000-f802ffff
*-network
description: Network controller
product: BCM4312 802.11b/g LP-PHY [14E4:4315]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:0e:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:18 memory:f3000000-f3003fff
evanchan@evanchan-Inspiron-1427:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
evanchan@evanchan-Inspiron-1427:~$ sudo rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
evanchan@evanchan-Inspiron-1427:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
No broadcast interfaces found - exiting.
evanchan@evanchan-Inspiron-1427:~$ sudo ls -al/etc/resolv.conf
ls:无效选项 -- /
Try 'ls --help' for more information.
evanchan@evanchan-Inspiron-1427:~$ sudo cat/run/resolvconf/resolv.conf
sudo:cat/run/resolvconf/resolv.conf: command not found
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: DELL1427笔记本联网问题
参考这个帖子,有线网卡型号和驱动不匹配,需要手动安装正确的驱动:
viewtopic.php?f=116&t=463646
viewtopic.php?f=116&t=463646
三年后终于回到16.04--稳定了!
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: DELL1427笔记本联网问题
1. r8169 不是合適的驅動product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
viewtopic.php?f=116&t=466174&p=3115746& ... 9#p3115746
2. b43-pci-bridge 不是合適的驅動product: BCM4312 802.11b/g LP-PHY [14E4:4315]
configuration: driver=b43-pci-bridge latency=0
viewtopic.php?p=3064637#p3064637
viewtopic.php?p=3099562#p3099562
3. viewtopic.php?p=3105017#p3105017sudo rfkill list all
Soft blocked: yes
4. sudo ls -al 中間空一格 /etc/resolv.confsudo ls -al/etc/resolv.conf
ls:无效选项 -- /
Try 'ls --help' for more information.
5. cat 中間空一格 /run/resolvconf/resolv.confsudo cat/run/resolvconf/resolv.conf
sudo:cat/run/resolvconf/resolv.conf: command not found
6. 溫馨提示
以後使用 選取 / 複製 / 貼上 終端機 執行
避免打錯字 特別是 空白
-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
Re: DELL1427笔记本联网问题
poloshiao 写了:1. r8169 不是合適的驅動product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
viewtopic.php?f=116&t=466174&p=3115746& ... 9#p31157462. b43-pci-bridge 不是合適的驅動product: BCM4312 802.11b/g LP-PHY [14E4:4315]
configuration: driver=b43-pci-bridge latency=0
viewtopic.php?p=3064637#p3064637
viewtopic.php?p=3099562#p30995623. viewtopic.php?p=3105017#p3105017sudo rfkill list all
Soft blocked: yes4. sudo ls -al 中間空一格 /etc/resolv.confsudo ls -al/etc/resolv.conf
ls:无效选项 -- /
Try 'ls --help' for more information.5. cat 中間空一格 /run/resolvconf/resolv.confsudo cat/run/resolvconf/resolv.conf
sudo:cat/run/resolvconf/resolv.conf: command not found
6. 溫馨提示
以後使用 選取 / 複製 / 貼上 終端機 執行
避免打錯字 特別是 空白
多谢提醒!正在学习!!


-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
Re: DELL1427笔记本联网问题
taohunter 写了:不出所料,应该是你的网卡使用了错误的驱动,见红色字体的内容:sRs_Razer 写了: 。。。
gofox@gofox-To-be-filled-by-O-E-M:~$ lspci
。。。
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
gofox@gofox-To-be-filled-by-O-E-M:~$ sudo lshw -C network
[sudo] password for gofox:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 06
serial: 9480:2a:f5:58
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.100 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:73 ioport:d000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
gofox@gofox-To-be-filled-by-O-E-M:~$ ifconfig
eth0 Link encap:以太网 硬件地址 9480:2a:f5:58
inet 地址:192.168.1.100 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::96de:80ff:fe2a:f558/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:31 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:35 错误:0 丢弃:611 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:4309 (4.3 KB) 发送字节:5059 (5.0 KB)
。。。
gofox@gofox-To-be-filled-by-O-E-M:~$ tail /var/log/syslog -n 20
Sep 3 11:15:27 gofox-To-be-filled-by-O-E-M kernel: [ 43.926344] ---[ end trace f68773f9b988bca3 ]---
Sep 3 11:15:27 gofox-To-be-filled-by-O-E-M kernel: [ 43.932415] r8169 0000:03:00.0 eth0: link up
Sep 3 11:15:30 gofox-To-be-filled-by-O-E-M ntpdate[2071]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
Sep 3 11:15:30 gofox-To-be-filled-by-O-E-M ntpdate[2071]: no servers can be used, exiting
Sep 3 11:15:41 gofox-To-be-filled-by-O-E-M whoopsie[1006]: offline
Sep 3 11:16:09 gofox-To-be-filled-by-O-E-M kernel: [ 85.984761] r8169 0000:03:00.0 eth0: link up
Sep 3 11:17:01 gofox-To-be-filled-by-O-E-M CRON[2447]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 3 11:17:27 gofox-To-be-filled-by-O-E-M kernel: [ 164.012906] r8169 0000:03:00.0 eth0: link up
Sep 3 11:17:51 gofox-To-be-filled-by-O-E-M kernel: [ 188.029088] r8169 0000:03:00.0 eth0: link up
Sep 3 11:18:15 gofox-To-be-filled-by-O-E-M kernel: [ 212.045170] r8169 0000:03:00.0 eth0: link up
Sep 3 11:18:51 gofox-To-be-filled-by-O-E-M kernel: [ 248.069269] r8169 0000:03:00.0 eth0: link up
Sep 3 11:19:15 gofox-To-be-filled-by-O-E-M kernel: [ 272.085347] r8169 0000:03:00.0 eth0: link up
Sep 3 11:19:51 gofox-To-be-filled-by-O-E-M kernel: [ 308.109475] r8169 0000:03:00.0 eth0: link up
Sep 3 11:19:56 gofox-To-be-filled-by-O-E-M anacron[909]: Job `cron.daily' started
Sep 3 11:19:56 gofox-To-be-filled-by-O-E-M anacron[2602]: Updated timestamp for job `cron.daily' to 2014-09-03
Sep 3 11:20:15 gofox-To-be-filled-by-O-E-M kernel: [ 332.125563] r8169 0000:03:00.0 eth0: link up
Sep 3 11:20:51 gofox-To-be-filled-by-O-E-M kernel: [ 368.149702] r8169 0000:03:00.0 eth0: link up
Sep 3 11:22:03 gofox-To-be-filled-by-O-E-M kernel: [ 440.201919] r8169 0000:03:00.0 eth0: link up
Sep 3 11:23:03 gofox-To-be-filled-by-O-E-M kernel: [ 500.238182] r8169 0000:03:00.0 eth0: link up
Sep 3 11:23:39 gofox-To-be-filled-by-O-E-M kernel: [ 536.262303] r8169 0000:03:00.0 eth0: link up
gofox@gofox-To-be-filled-by-O-E-M:~$
你的网卡是“RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller”,不应使用r8169这个内核驱动模块来驱动,否则就出现象你现在这样拿到了dhcp的ip地址,但网卡却一直处于不断“r8169 0000:03:00.0 eth0: link up”的状态。这样是无法使用有线网络的。
正确的驱动要到realtek的网站下载,自己安装。
http://www.realtek.com.tw/downloads/dow ... wn=false#2
选择上面这个链接中unix条目下那个“LINUX driver for kernel 3.x and 2.6.x and 2.4.x”、版本为“8.038”的文件下载。下载好文件,解压到你的家目录中,然后在家目录中执行以下命令:驱动安装完成,重启系统。你的有线网络就应该正常了。代码: 全选
cd r8168-8.038.00 sudo ./autorun.sh
如想确认新的驱动的情况,执行在输出中如果看到“driver=r8168 driverversion=8.038.00-NAPI”,那么就说明系统已经使用了正确的驱动了。代码: 全选
sudo lshw -C network |grep r8168
按照这个回复安装好驱动后表示还是不能有线联网。。。另外执行
代码:
uname -a
lspci
sudo lshw -C network
ifconfig
ping 192.168.1.1 -c 4
tail /var/log/syslog -n 20
结果如下:
evanchan@evanchan-Inspiron-1427:~$ uname -a
Linux evanchan-Inspiron-1427 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux
evanchan@evanchan-Inspiron-1427:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.5 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
0e:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
26:05.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
26:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
26:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
evanchan@evanchan-Inspiron-1427:~$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: eth0
version: 02
serial: 00:21:70:f2:d2:c8
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=off broadcast=yes driver=r8168 driverversion=8.039.00-NAPI duplex=full ip=119.78.236.172 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:45 ioport:3000(size=256) memory:f8010000-f8010fff memory:f8000000-f800ffff memory:f8020000-f802ffff
*-network
description: Network controller
product: BCM4312 802.11b/g LP-PHY
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0e:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:18 memory:f3000000-f3003fff
evanchan@evanchan-Inspiron-1427:~$ ifconfig
eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
inet 地址:119.78.236.172 广播:119.78.236.255 掩码:255.255.255.0
inet6 地址: fe80::221:70ff:fef2:d2c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:5703 错误:0 丢弃:7 过载:0 帧数:0
发送数据包:667 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:399489 (399.4 KB) 发送字节:114542 (114.5 KB)
中断:45 基本地址:0x6000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1615 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1615 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:114007 (114.0 KB) 发送字节:114007 (114.0 KB)
evanchan@evanchan-Inspiron-1427:~$ ping 192.168.1.1 -c 4
connect: Network is unreachable
evanchan@evanchan-Inspiron-1427:~$ tail /var/log/syslog -n 20
Nov 24 21:29:48 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 1010ms.
Nov 24 21:29:48 evanchan-Inspiron-1427 dhclient: send_packet6: Cannot assign requested address
Nov 24 21:29:48 evanchan-Inspiron-1427 dhclient: dhc6: send_packet6() sent -1 of 93 bytes
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> (eth0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> (eth0): DHCPv6 state changed nbi -> preinit6
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> NetworkManager state is now CONNECTED_GLOBAL
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> Writing DNS information to /sbin/resolvconf
Nov 24 21:29:49 evanchan-Inspiron-1427 dnsmasq[2474]: setting upstream servers from DBus
Nov 24 21:29:49 evanchan-Inspiron-1427 dnsmasq[2474]: using nameserver 159.226.128.1#53
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> Activation (eth0) successful, device activated.
Nov 24 21:29:49 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 2060ms.
Nov 24 21:29:49 evanchan-Inspiron-1427 dhclient: send_packet6: Cannot assign requested address
Nov 24 21:29:49 evanchan-Inspiron-1427 dhclient: dhc6: send_packet6() sent -1 of 93 bytes
Nov 24 21:29:50 evanchan-Inspiron-1427 avahi-daemon[668]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::221:70ff:fef2:d2c8.
Nov 24 21:29:50 evanchan-Inspiron-1427 avahi-daemon[668]: New relevant interface eth0.IPv6 for mDNS.
Nov 24 21:29:50 evanchan-Inspiron-1427 avahi-daemon[668]: Registering new address record for fe80::221:70ff:fef2:d2c8 on eth0.*.
Nov 24 21:29:51 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 4010ms.
Nov 24 21:29:55 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 8390ms.
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: DELL1427笔记本联网问题
1. 猜測 你是使用 pppeoconf 或 dsl 設定連線ifconfig
eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
inet 地址:119.78.236.172 广播:119.78.236.255 掩码:255.255.255.0
2. 這個是 適用於 dhcp 的方法ping 192.168.1.1 -c 4
connect: Network is unreachable
你的情況 不一定適用
3. 把下面指令 複製 貼進終端機 執行
whois 119.78.236.172 | grep route
看看 結果
route: 119.78.0.0/15
4. 把下面指令 複製 貼進終端機 執行
tracepath 119.78.0.0
把結果直接複製 貼上來
-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
Re: DELL1427笔记本联网问题
poloshiao 写了:1. 猜測 你是使用 pppeoconf 或 dsl 設定連線ifconfig
eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
inet 地址:119.78.236.172 广播:119.78.236.255 掩码:255.255.255.0
2. 這個是 適用於 dhcp 的方法ping 192.168.1.1 -c 4
connect: Network is unreachable
你的情況 不一定適用
3. 把下面指令 複製 貼進終端機 執行
whois 119.78.236.172 | grep route
看看 結果
route: 119.78.0.0/15
4. 把下面指令 複製 貼進終端機 執行
tracepath 119.78.0.0
把結果直接複製 貼上來
evanchan@evanchan-Inspiron-1427:~$ whois 119.78.236.172 | grep route
程序“whois”尚未安装。 您可以使用以下命令安装:
sudo apt-get install whois
evanchan@evanchan-Inspiron-1427:~$ route: 119.78.0.0/15
未找到 'route:' 命令,您要输入的是否是:
命令 'routel' 来自于包 'iproute2' (main)
命令 'routef' 来自于包 'iproute2' (main)
命令 'route' 来自于包 'net-tools' (main)
route::未找到命令
evanchan@evanchan-Inspiron-1427:~$ tracepath 119.78.0.0
1: send failed
Resume: pmtu 65535
-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
Re: DELL1427笔记本联网问题
poloshiao 写了:1. 猜測 你是使用 pppeoconf 或 dsl 設定連線ifconfig
eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
inet 地址:119.78.236.172 广播:119.78.236.255 掩码:255.255.255.0
2. 這個是 適用於 dhcp 的方法ping 192.168.1.1 -c 4
connect: Network is unreachable
你的情況 不一定適用
3. 把下面指令 複製 貼進終端機 執行
whois 119.78.236.172 | grep route
看看 結果
route: 119.78.0.0/15
4. 把下面指令 複製 貼進終端機 執行
tracepath 119.78.0.0
把結果直接複製 貼上來
evanchan@evanchan-Inspiron-1427:~$ whois 119.78.236.172 | grep route
程序“whois”尚未安装。 您可以使用以下命令安装:
sudo apt-get install whois
evanchan@evanchan-Inspiron-1427:~$ route: 119.78.0.0/15
未找到 'route:' 命令,您要输入的是否是:
命令 'routel' 来自于包 'iproute2' (main)
命令 'routef' 来自于包 'iproute2' (main)
命令 'route' 来自于包 'net-tools' (main)
route::未找到命令
evanchan@evanchan-Inspiron-1427:~$ tracepath 119.78.0.0
1: send failed
Resume: pmtu 65535
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: DELL1427笔记本联网问题
把下面指令 複製 貼進終端機 執行1: send failed
Resume: pmtu 65535
1. ping -c 3 127.0.0.1
2. ping -c 3 localhost
把結果直接複製 貼上來
-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
Re: DELL1427笔记本联网问题
poloshiao 写了:把下面指令 複製 貼進終端機 執行1: send failed
Resume: pmtu 65535
1. ping -c 3 127.0.0.1
2. ping -c 3 localhost
把結果直接複製 貼上來
evanchan@evanchan-Inspiron-1427:~$ ping -c 3 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.034 ms
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.024/0.030/0.034/0.007 ms
evanchan@evanchan-Inspiron-1427:~$ ping -c 3 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.033 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.034 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.030/0.032/0.034/0.005 ms
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: DELL1427笔记本联网问题
把下面指令 複製 貼進終端機 執行
0. ping -c 3 119.78.236.172
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo rfkill list all
6. sudo ls -al /etc/resolv.conf
7. sudo cat /run/resolvconf/resolv.conf
把結果直接複製 貼上來
補充
雖然 有些指令前面你已經貼過了
還是希望你再貼一次
看看你的新驅動是否已經生效
0. ping -c 3 119.78.236.172
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo rfkill list all
6. sudo ls -al /etc/resolv.conf
7. sudo cat /run/resolvconf/resolv.conf
把結果直接複製 貼上來
補充
雖然 有些指令前面你已經貼過了
還是希望你再貼一次
看看你的新驅動是否已經生效
-
- 帖子: 7
- 注册时间: 2014-11-08 18:26
- 系统: ubuntu kylin
Re: DELL1427笔记本联网问题
poloshiao 写了:把下面指令 複製 貼進終端機 執行
0. ping -c 3 119.78.236.172
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo rfkill list all
6. sudo ls -al /etc/resolv.conf
7. sudo cat /run/resolvconf/resolv.conf
把結果直接複製 貼上來
補充
雖然 有些指令前面你已經貼過了
還是希望你再貼一次
看看你的新驅動是否已經生效
有劳了~~~
evanchan@evanchan-Inspiron-1427:~$ ping -c 3 119.78.236.172
connect: Network is unreachable
evanchan@evanchan-Inspiron-1427:~$ sudo lspci -knn
[sudo] password for evanchan:
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
Subsystem: Dell Device [1028:02d9]
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
Kernel driver in use: pcieport
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: uhci_hcd
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] [8086:2928] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
Subsystem: Dell Device [1028:02d9]
00:1f.5 IDE interface [0101]: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] [8086:292d] (rev 03)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: ata_piix
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G98M [GeForce 9300M GS] [10de:06e9] (rev a1)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: nouveau
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: r8168
0e:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
Kernel driver in use: b43-pci-bridge
26:05.0 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: firewire_ohci
26:05.2 SD Host controller [0805]: O2 Micro, Inc. Integrated MMC/SD Controller [1217:7120] (rev 02)
Subsystem: Dell Device [1028:02d9]
Kernel driver in use: sdhci-pci
26:05.3 Mass storage controller [0180]: O2 Micro, Inc. Integrated MS/xD Controller [1217:7130] (rev 01)
Subsystem: Dell Device [1028:02d9]
evanchan@evanchan-Inspiron-1427:~$ sudo 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:08:00.0
logical name: eth0
version: 02
serial: 00:21:70:f2:d2:c8
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom 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 latency=0 link=no multicast=yes port=twisted pair
resources: irq:45 ioport:3000(size=256) memory:f8010000-f8010fff memory:f8000000-f800ffff memory:f8020000-f802ffff
*-network
description: Network controller
product: BCM4312 802.11b/g LP-PHY [14E4:4315]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:0e:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:18 memory:f3000000-f3003fff
evanchan@evanchan-Inspiron-1427:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
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)
中断:45 基本地址:0x6000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:127 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:127 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:9119 (9.1 KB) 发送字节:9119 (9.1 KB)
evanchan@evanchan-Inspiron-1427:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
evanchan@evanchan-Inspiron-1427:~$ sudo rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
evanchan@evanchan-Inspiron-1427:~$ sudo ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 11月 9 10:13 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
evanchan@evanchan-Inspiron-1427:~$ sudo cat /run/resolvconf/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
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: DELL1427笔记本联网问题
eth0 有驅動 但是沒有獲得 IPv4sudo ifconfig -a
1. eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
2. 所以 119.78.236.172 無法 ping 通ping -c 3 119.78.236.172
connect: Network is unreachable
3. 目前作用中的驅動 r8168 可能還不是合適的驅動 版本 或 還未正確設定product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.039.00-NAPI duplex=half latency=0 link=no multicast=yes port=twisted pair
正確設定值 應該是 duplex=full
4. 建議0e:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
Kernel driver in use: b43-pci-bridge
測試 有線網卡期間 從 bios 或 硬件 把 無線網卡 關閉
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: DELL1427笔记本联网问题
这些log说明你现在的8168的网卡驱动应该已经是正确的了,但为什么你的eth0要用119.78.236.172这个地址?--在255.255.255.0这个掩码下,该地址和192.168.1.1不在同一个网段,又没有其他网关可以连接,当然是无法ping通的。请详细描述你的上网环境/方式,如果是在家里最好dhcp从路由器自动获得ip,不要手动去设。宽带拨号的设置应该在路由器上进行WAN口的设置,客户端电脑上应该拿到一个192.168.1.100之类的地址。。。evanchan 写了:taohunter 写了:不出所料,应该是你的网卡使用了错误的驱动,见红色字体的内容:sRs_Razer 写了: 。。。
gofox@gofox-To-be-filled-by-O-E-M:~$ lspci
。。。
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
gofox@gofox-To-be-filled-by-O-E-M:~$ sudo lshw -C network
[sudo] password for gofox:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 06
serial: 9480:2a:f5:58
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.100 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:73 ioport:d000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
gofox@gofox-To-be-filled-by-O-E-M:~$ ifconfig
eth0 Link encap:以太网 硬件地址 9480:2a:f5:58
inet 地址:192.168.1.100 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::96de:80ff:fe2a:f558/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:31 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:35 错误:0 丢弃:611 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:4309 (4.3 KB) 发送字节:5059 (5.0 KB)
。。。
gofox@gofox-To-be-filled-by-O-E-M:~$ tail /var/log/syslog -n 20
Sep 3 11:15:27 gofox-To-be-filled-by-O-E-M kernel: [ 43.926344] ---[ end trace f68773f9b988bca3 ]---
Sep 3 11:15:27 gofox-To-be-filled-by-O-E-M kernel: [ 43.932415] r8169 0000:03:00.0 eth0: link up
Sep 3 11:15:30 gofox-To-be-filled-by-O-E-M ntpdate[2071]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
Sep 3 11:15:30 gofox-To-be-filled-by-O-E-M ntpdate[2071]: no servers can be used, exiting
Sep 3 11:15:41 gofox-To-be-filled-by-O-E-M whoopsie[1006]: offline
Sep 3 11:16:09 gofox-To-be-filled-by-O-E-M kernel: [ 85.984761] r8169 0000:03:00.0 eth0: link up
Sep 3 11:17:01 gofox-To-be-filled-by-O-E-M CRON[2447]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 3 11:17:27 gofox-To-be-filled-by-O-E-M kernel: [ 164.012906] r8169 0000:03:00.0 eth0: link up
Sep 3 11:17:51 gofox-To-be-filled-by-O-E-M kernel: [ 188.029088] r8169 0000:03:00.0 eth0: link up
Sep 3 11:18:15 gofox-To-be-filled-by-O-E-M kernel: [ 212.045170] r8169 0000:03:00.0 eth0: link up
Sep 3 11:18:51 gofox-To-be-filled-by-O-E-M kernel: [ 248.069269] r8169 0000:03:00.0 eth0: link up
Sep 3 11:19:15 gofox-To-be-filled-by-O-E-M kernel: [ 272.085347] r8169 0000:03:00.0 eth0: link up
Sep 3 11:19:51 gofox-To-be-filled-by-O-E-M kernel: [ 308.109475] r8169 0000:03:00.0 eth0: link up
Sep 3 11:19:56 gofox-To-be-filled-by-O-E-M anacron[909]: Job `cron.daily' started
Sep 3 11:19:56 gofox-To-be-filled-by-O-E-M anacron[2602]: Updated timestamp for job `cron.daily' to 2014-09-03
Sep 3 11:20:15 gofox-To-be-filled-by-O-E-M kernel: [ 332.125563] r8169 0000:03:00.0 eth0: link up
Sep 3 11:20:51 gofox-To-be-filled-by-O-E-M kernel: [ 368.149702] r8169 0000:03:00.0 eth0: link up
Sep 3 11:22:03 gofox-To-be-filled-by-O-E-M kernel: [ 440.201919] r8169 0000:03:00.0 eth0: link up
Sep 3 11:23:03 gofox-To-be-filled-by-O-E-M kernel: [ 500.238182] r8169 0000:03:00.0 eth0: link up
Sep 3 11:23:39 gofox-To-be-filled-by-O-E-M kernel: [ 536.262303] r8169 0000:03:00.0 eth0: link up
gofox@gofox-To-be-filled-by-O-E-M:~$
你的网卡是“RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller”,不应使用r8169这个内核驱动模块来驱动,否则就出现象你现在这样拿到了dhcp的ip地址,但网卡却一直处于不断“r8169 0000:03:00.0 eth0: link up”的状态。这样是无法使用有线网络的。
正确的驱动要到realtek的网站下载,自己安装。
http://www.realtek.com.tw/downloads/dow ... wn=false#2
选择上面这个链接中unix条目下那个“LINUX driver for kernel 3.x and 2.6.x and 2.4.x”、版本为“8.038”的文件下载。下载好文件,解压到你的家目录中,然后在家目录中执行以下命令:驱动安装完成,重启系统。你的有线网络就应该正常了。代码: 全选
cd r8168-8.038.00 sudo ./autorun.sh
如想确认新的驱动的情况,执行在输出中如果看到“driver=r8168 driverversion=8.038.00-NAPI”,那么就说明系统已经使用了正确的驱动了。代码: 全选
sudo lshw -C network |grep r8168
按照这个回复安装好驱动后表示还是不能有线联网。。。另外执行
代码:
uname -a
lspci
sudo lshw -C network
ifconfig
ping 192.168.1.1 -c 4
tail /var/log/syslog -n 20
结果如下:
evanchan@evanchan-Inspiron-1427:~$ uname -a
Linux evanchan-Inspiron-1427 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux
evanchan@evanchan-Inspiron-1427:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.5 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
0e:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
26:05.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
26:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
26:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
evanchan@evanchan-Inspiron-1427:~$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: eth0
version: 02
serial: 00:21:70:f2:d2:c8
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=off broadcast=yes driver=r8168 driverversion=8.039.00-NAPI duplex=full ip=119.78.236.172 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:45 ioport:3000(size=256) memory:f8010000-f8010fff memory:f8000000-f800ffff memory:f8020000-f802ffff
*-network
description: Network controller
product: BCM4312 802.11b/g LP-PHY
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0e:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:18 memory:f3000000-f3003fff
evanchan@evanchan-Inspiron-1427:~$ ifconfig
eth0 Link encap:以太网 硬件地址 00:21:70:f2:d2:c8
inet 地址:119.78.236.172 广播:119.78.236.255 掩码:255.255.255.0
inet6 地址: fe80::221:70ff:fef2:d2c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:5703 错误:0 丢弃:7 过载:0 帧数:0
发送数据包:667 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:399489 (399.4 KB) 发送字节:114542 (114.5 KB)
中断:45 基本地址:0x6000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1615 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1615 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:114007 (114.0 KB) 发送字节:114007 (114.0 KB)
evanchan@evanchan-Inspiron-1427:~$ ping 192.168.1.1 -c 4
connect: Network is unreachable
evanchan@evanchan-Inspiron-1427:~$ tail /var/log/syslog -n 20
Nov 24 21:29:48 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 1010ms.
Nov 24 21:29:48 evanchan-Inspiron-1427 dhclient: send_packet6: Cannot assign requested address
Nov 24 21:29:48 evanchan-Inspiron-1427 dhclient: dhc6: send_packet6() sent -1 of 93 bytes
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> (eth0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> (eth0): DHCPv6 state changed nbi -> preinit6
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> NetworkManager state is now CONNECTED_GLOBAL
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> Writing DNS information to /sbin/resolvconf
Nov 24 21:29:49 evanchan-Inspiron-1427 dnsmasq[2474]: setting upstream servers from DBus
Nov 24 21:29:49 evanchan-Inspiron-1427 dnsmasq[2474]: using nameserver 159.226.128.1#53
Nov 24 21:29:49 evanchan-Inspiron-1427 NetworkManager[689]: <info> Activation (eth0) successful, device activated.
Nov 24 21:29:49 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 2060ms.
Nov 24 21:29:49 evanchan-Inspiron-1427 dhclient: send_packet6: Cannot assign requested address
Nov 24 21:29:49 evanchan-Inspiron-1427 dhclient: dhc6: send_packet6() sent -1 of 93 bytes
Nov 24 21:29:50 evanchan-Inspiron-1427 avahi-daemon[668]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::221:70ff:fef2:d2c8.
Nov 24 21:29:50 evanchan-Inspiron-1427 avahi-daemon[668]: New relevant interface eth0.IPv6 for mDNS.
Nov 24 21:29:50 evanchan-Inspiron-1427 avahi-daemon[668]: Registering new address record for fe80::221:70ff:fef2:d2c8 on eth0.*.
Nov 24 21:29:51 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 4010ms.
Nov 24 21:29:55 evanchan-Inspiron-1427 dhclient: XMT: Solicit on eth0, interval 8390ms.
三年后终于回到16.04--稳定了!