当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 25 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : ·求助」DSL连接没有用
帖子发表于 : 2015-04-25 13:02 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
使用ubuntu自带的网络连接下使用DSL进行PPPOE网络连接没有反应。编辑连接里面显示该连接从未被使用。也没有反馈错误原因。
如何解决。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-25 16:39 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
請先參閱
https://help.ubuntu.com/stable/ubuntu-h ... nnect.html
如果還未解決
把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo dhclient -v
6. sudo cat /etc/resolv.conf
把結果直接 選取/複製/貼上來
不必擷圖


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-26 14:20 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
poloshiao 写道:
請先參閱
https://help.ubuntu.com/stable/ubuntu-h ... nnect.html
如果還未解決
把下面指令 複製 貼進終端機 執行
0. uname -r
1. udo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo dhclient -v
6. sudo cat /etc/resolv.conf
把結果直接 選取/複製/貼上來
不必擷圖



网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。
系统是15.04
内核是3.19.0-15-generic
网卡是正常的。不拨号的时候是可惜获取IP和路由表的
zshongyi@zshongyi-ThinkPad-E420:~$ sudo 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/

Listening on LPF/eth0/f0:de:f1:59:16:65
Sending on LPF/eth0/f0:de:f1:59:16:65
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x2067fdca)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 (xid=0x2067fdca)
DHCPREQUEST of 10.70.10.183 on eth0 to 255.255.255.255 port 67 (xid=0x2067fdca)
DHCPOFFER of 10.70.10.183 from 10.70.8.1
DHCPACK of 10.70.10.183 from 10.70.8.1
bound to 10.70.10.183 -- renewal in 110442 seconds.
zshongyi@zshongyi-ThinkPad-E420:~$ sudo 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 172.19.85.1
nameserver 202.101.172.46
search workgroup



_________________
评价: 3.7% 贺卫龙
 
页首
 用户资料  
 
4 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-26 17:36 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。
系统是15.04
内核是3.19.0-15-generic
网卡是正常的。不拨号的时候是可惜获取IP和路由表的

摘要
可能會遺漏重要訊息



_________________
评价: 3.7% 贺卫龙
 
页首
 用户资料  
 
5 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-26 19:59 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
poloshiao 写道:
引用:
网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。
系统是15.04
内核是3.19.0-15-generic
网卡是正常的。不拨号的时候是可惜获取IP和路由表的

摘要
可能會遺漏重要訊息

~$ uname -r
3.19.0-15-generic
~$ udo lspci -knn
udo: unknown option! -knn
Error: 0: couldn't open source file <lspci.ui>
lspci.ui: No such file or directory
~$ 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: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 mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
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
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
~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 f0:de:16:65:f1:59
inet 地址:10.70.9.23 广播:10.70.11.255 掩码:255.255.252.0
inet6 地址: fe80::f2de:f1ff:fe59:1665/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:14 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:211 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:2538 (2.5 KB) 发送字节:27265 (27.2 KB)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:7341 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:7341 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:1020755 (1.0 MB) 发送字节:1020755 (1.0 MB)

wlan0 Link encap:以太网 硬件地址 68:a3:4a:d1:c4:7f
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:1218171 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1069460 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:1284470437 (1.2 GB) 发送字节:464699783 (464.6 MB)

~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 10.70.8.1 0.0.0.0 UG 1024 0 0 eth0
10.70.8.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
~$ sudo 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/

Listening on LPF/eth0/f0:de:16:65:f1:59
Sending on LPF/eth0/f0:de:16:65:f1:59
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x2b0f4162)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x2b0f4162)
DHCPREQUEST of 10.70.11.215 on eth0 to 255.255.255.255 port 67 (xid=0x2b0f4162)
DHCPOFFER of 10.70.11.215 from 10.70.8.1
DHCPACK of 10.70.11.215 from 10.70.8.1
sudo cat /etc/resolv.conf
bound to 10.70.11.215 -- renewal in 123484 seconds.
~$ sudo 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 172.19.85.1
nameserver 202.101.172.46
search workgroup



_________________
评价: 3.7% 贺卫龙
 
页首
 用户资料  
 
6 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-26 22:50 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
~$ 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 不是合適的驅動
參見
http://unixblogger.wordpress.com/2011/1 ... rnet-card/
http://askubuntu.com/questions/346685/w ... controller
viewtopic.php?p=3116001#p3116001

安裝合適驅動後 再試一次


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-27 13:15 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
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


页首
 用户资料  
 
8 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-27 14:56 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
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

引用:
lshw -numeric -class network
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 ip=10.70.0.140 latency=0 link=yes multicast=yes port=twisted pair speed=10Mbit/s

1. r8168 驅動模組 安裝 還有瑕疵 完整安裝後 應該是 duplex=full

2. 這一篇 針對 Ubuntu 15.04 看看能否幫你
http://askubuntu.com/a/611361/198920


页首
 用户资料  
 
9 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-28 14:12 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
poloshiao 写道:
引用:
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

引用:
lshw -numeric -class network
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 ip=10.70.0.140 latency=0 link=yes multicast=yes port=twisted pair speed=10Mbit/s

1. r8168 驅動模組 安裝 還有瑕疵 完整安裝後 應該是 duplex=full

2. 這一篇 針對 Ubuntu 15.04 看看能否幫你
http://askubuntu.com/a/611361/198920


网卡的全双工和半双工目前是自动协商的,不应当是网卡的问题。网卡支持全双工
ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: Unknown!
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no


页首
 用户资料  
 
10 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-28 16:04 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
网卡的全双工和半双工目前是自动协商的,不应当是网卡的问题。网卡支持全双工
Duplex: Half

可以強制改變為 Duplex: Full
1. 如果你是在 右上方 NM-Applet 圖示設定 DSL
http://askubuntu.com/questions/100988/h ... a-particul
2. 如果你是在 /etc/network/interfaces 設定 PPPOE
https://help.ubuntu.com/lts/serverguide ... interfaces


页首
 用户资料  
 
11 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-30 13:34 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
poloshiao 写道:
引用:
网卡的全双工和半双工目前是自动协商的,不应当是网卡的问题。网卡支持全双工
Duplex: Half

可以強制改變為 Duplex: Full
1. 如果你是在 右上方 NM-Applet 圖示設定 DSL
<!-- m --><a class="postlink" href="http://askubuntu.com/questions/100988/how-to-force-network-manager-to-set-auto-negotiation-to-false-off-for-a-particul">http://askubuntu.com/questions/100988/h ... a-particul</a><!-- m -->
2. 如果你是在 /etc/network/interfaces 設定 PPPOE
<!-- m --><a class="postlink" href="https://help.ubuntu.com/lts/serverguide/network-configuration.html#ethernet-interfaces">https://help.ubuntu.com/lts/serverguide ... interfaces</a><!-- m -->
Speed: 10Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes


就算是关了自动协商也没有用,应该是network-manager的问题


页首
 用户资料  
 
12 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-30 13:56 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
应该是network-manager的问题

1. 大膽假設 可以
然後 需要小心求證
viewtopic.php?p=3131920#p3131920
引用:
sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 f0:de:16:65:f1:59
lo Link encap:本地环回
wlan0 Link encap:以太网 硬件地址 68:a3:4a:d1:c4:7f

2. 把無線網卡關閉
再一次
sudo ifconfig -a
看看有沒有 ppp 界面

3. 看看 這一篇 有沒有幫上忙
http://askubuntu.com/a/319887/198920
DSL through pppoeconf works but through Network Manager stops some sites from loading in browsers?

4. 如果還是沒有幫上忙
把下面指令 複製 貼進終端機 執行
4-1. sudo cat /etc/NetworkManager/NetworkManager.conf
4-2. sudo cat /etc/network/interfaces
把結果直接 選取/複製/貼上來
引用:
网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。

5. 建議
向 校内网 網管人員 請教設定細節


页首
 用户资料  
 
13 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-30 14:20 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
poloshiao 写道:
引用:
应该是network-manager的问题

1. 大膽假設 可以
然後 需要小心求證
viewtopic.php?p=3131920#p3131920
引用:
sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 f0:de:16:65:f1:59
lo Link encap:本地环回
wlan0 Link encap:以太网 硬件地址 68:a3:4a:d1:c4:7f

2. 把無線網卡關閉
再一次
sudo ifconfig -a
看看有沒有 ppp 界面

3. 看看 這一篇 有沒有幫上忙
http://askubuntu.com/a/319887/198920
DSL through pppoeconf works but through Network Manager stops some sites from loading in browsers?

4. 如果還是沒有幫上忙
把下面指令 複製 貼進終端機 執行
4-1. sudo cat /etc/NetworkManager/NetworkManager.conf
4-2. sudo cat /etc/network/interfaces
把結果直接 選取/複製/貼上來
引用:
网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。

5. 建議
向 校内网 網管人員 請教設定細節



检查了系统的日志发现链接pppoe时出现的错误
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) starting connection '求真内网'
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <warn> (eth0): PPPoE failed to start: Could not find pppoe binary.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> (eth0): device state change: ip-config -> failed (reason 'ppp-start-failed') [70 120 12]
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <warn> Activation (eth0) failed for connection '求真内网'
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> (eth0): deactivating device (reason 'none') [0]
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Auto-activating connection '默认以太网连接'.
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <info> Activation (eth0) starting connection '默认以太网连接'

这是什么情况,我没有装pppoe?


页首
 用户资料  
 
14 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-04-30 15:02 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
1. Ubuntu 可以在 /etc/network/interfaces 設定 pppoeconf
也可以在 NM-Applet 設定 DSL
但是 避免重複
意思是 在 NM-Applet 設定 DSL 就需要 把 /etc/network/interfaces 的 pppoeconf 設定移除
引用:
网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。

引用:
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <warn> (eth0): PPPoE failed to start: Could not find pppoe binary.

2. 比較可能是
你在 NM-Applet 沒有充分 把 /etc/network/interfaces 關於 pppoeconf 的設定參數
全部正確添入 NM-Applet


页首
 用户资料  
 
15 楼 
 文章标题 : Re: ·求助」DSL连接没有用
帖子发表于 : 2015-05-01 12:01 

注册: 2013-03-10 22:11
帖子: 70
系统: Ubuntu
送出感谢: 2
接收感谢: 2
poloshiao 写道:
1. Ubuntu 可以在 /etc/network/interfaces 設定 pppoeconf
也可以在 NM-Applet 設定 DSL
但是 避免重複
意思是 在 NM-Applet 設定 DSL 就需要 把 /etc/network/interfaces 的 pppoeconf 設定移除
引用:
网络可以正常使用。连接校内网需要PPPOE拨号。DSL不能正常使用。

引用:
Apr 30 14:06:10 zshongyi-ThinkPad-E420 NetworkManager[1136]: <warn> (eth0): PPPoE failed to start: Could not find pppoe binary.

2. 比較可能是
你在 NM-Applet 沒有充分 把 /etc/network/interfaces 關於 pppoeconf 的設定參數
全部正確添入 NM-Applet



root@zshongyi-ThinkPad-E420:/home/zshongyi# cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false
root@zshongyi-ThinkPad-E420:/home/zshongyi# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
root@zshongyi-ThinkPad-E420:/home/zshongyi#

在network-manager管理没有成功的情况下,我尝试修改了interfaces来进行拨号链接,同样也是失败的。造成network-manager显示设备未托管,随后手动修改上上面的两个文件。
查询了一下pppoe二进制文件不存在的问题,有反馈说是PPPOE程序安装补全,可能缺少re-pppoe这个软件。但是我的软件仓库中无法找到。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 25 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

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


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

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

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