pppoe拨号上网不能用,还请大神指教一下
Tofloor
poster avatar
side
deepin
2017-08-28 16:53
Author
本人使用的是校园网,用deepin pppoe拨号后,只能进入百度首页和百度搜索(搜索结果页不能进入),经过测试
1、帐号没有问题,在多个电脑和路由器上都测试过。
2、在终端ping网址和ip都能ping通,试过百度,淘宝,京东,搜狐,等等网站。
3、无线网络连接后,上网也没有任何问题。
4、浏览器试过谷歌浏览器和火狐浏览器。
网络是刚需呀,还请大神指点一下。
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
jingle
deepin
2017-08-28 17:06
#1
sudo deepin-feedback-cli
命令上传下生成的日志包上来看看/
Reply View the author
avatar
side
deepin
2017-08-28 17:17
#2
找不到命令
Reply View the author
avatar
side
deepin
2017-08-28 17:18
#3
jingle 发表于 2017-8-28 09:06
sudo deepin-feedback-cli
命令上传下生成的日志包上来看看/

这是怎么回事呢?
Reply View the author
avatar
jingle
deepin
2017-08-28 17:22
#4
https://bbs.deepin.org/post/144739
这是怎么回事呢?

启动器有个深度用户反馈  直接用那个反馈也可
Reply View the author
avatar
side
deepin
2017-08-28 17:34
#5
jingle 发表于 2017-8-28 09:22
启动器有个深度用户反馈  直接用那个反馈也可

没有找到反馈
Reply View the author
avatar
181******61
deepin
2017-08-28 17:48
#6
拨号后看看
  1. ifconfig
Copy the Code

  1. cat /etc/resolv.conf
Copy the Code
Reply View the author
avatar
side
deepin
2017-08-28 17:57
#7

side@acer:/$ ifconfig
enp7s0f1: flags=4163  mtu 1500
        inet6 fe80::df97:76d0:6c0c:37d2  prefixlen 64  scopeid 0x20
        ether 1c:39:47:a0:db:18  txqueuelen 1000  (Ethernet)
        RX packets 7283  bytes 1598685 (1.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2969  bytes 371948 (363.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1  (Local Loopback)
        RX packets 6728  bytes 559520 (546.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6728  bytes 559520 (546.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ppp0: flags=4305  mtu 1500
        inet 10.126.224.120  netmask 255.255.255.255  destination 10.126.224.1
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 13  bytes 1516 (1.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15  bytes 1170 (1.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp8s0: flags=4099  mtu 1500
        ether c8:ff:28:ed:88:3f  txqueuelen 1000  (Ethernet)
        RX packets 3  bytes 1029 (1.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 64  bytes 13115 (12.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

side@acer:/$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 183.221.253.100
nameserver 202.115.144.33
Reply View the author
avatar
side
deepin
2017-08-28 18:01
#8
又试了一下,通过网线连接到能上网的路由器上,也能够上网。
Reply View the author
avatar
yanbowen
deepin
Community Developer
2017-08-28 18:22
#9
安装下 'traceroute' 然后执行 'sudo traceroute <网页不能打开的网址>' 看看结果如何
Reply View the author
avatar
side
deepin
2017-08-28 18:47
#10
yanbowen 发表于 2017-8-28 10:22
安装下 'traceroute' 然后执行 'sudo traceroute ' 看看结果如何

side@acer:/$ sudo traceroute https://www.deepin.org/
https://www.deepin.org/: 未知的名称或服务
Cannot handle "host" cmdline arg `https://www.deepin.org/' on position 1 (argc 1)
Reply View the author
avatar
side
deepin
2017-08-28 18:48
#11
手机USB共享网络也能够用,
Reply View the author
avatar
181******61
deepin
2017-08-28 19:03
#12
ping域名无法解析
直接ping ip能ping通的话考虑是dns的问题
  1. sudo vim /etc/resolv.conf
Copy the Code

改为
  1. nameserver 223.5.5.5
  2. nameserver 223.6.6.6
Copy the Code

试试
Reply View the author
avatar
side
deepin
2017-08-28 19:35
#13
tonquer 发表于 2017-8-28 11:03
ping域名无法解析
直接ping ip能ping通的话考虑是dns的问题


ping域名和ping ip 都没有问题的
Reply View the author
avatar
兴安
deepin
2017-08-28 20:40
#14
设置 DNS 没有?
Reply View the author
avatar
side
deepin
2017-08-28 21:08
#15
设置了,能ping网址的
Reply View the author
avatar
yanbowen
deepin
Community Developer
2017-08-28 22:24
#16
https://bbs.deepin.org/post/144739
side@acer:/$ sudo traceroute https://www.deepin.org/
https://www.deepin.org/: 未知的名称或服务
Can ...

这样: sudo traceroute https://bbs.deepin.org/module
Reply View the author
avatar
side
deepin
2017-08-29 02:34
#17
https://bbs.deepin.org/post/144739
这样: sudo traceroute www.deepin.org

side@acer:/$ sudo traceroute www.deepin.org
[sudo] side 的密码:
traceroute to www.deepin.org (114.215.101.12), 30 hops max, 60 byte packets
1  10.126.224.1 (10.126.224.1)  1.218 ms  1.195 ms  1.351 ms
2  183.220.103.69 (183.220.103.69)  20.628 ms  20.634 ms  20.779 ms
3  * * *
4  223.87.44.29 (223.87.44.29)  3.809 ms  2.394 ms  2.383 ms
5  * * 183.223.250.14 (183.223.250.14)  2.145 ms
6  183.223.250.57 (183.223.250.57)  3.750 ms  10.296 ms  3.372 ms
7  223.87.26.161 (223.87.26.161)  2.984 ms  2.787 ms  2.651 ms
8  221.183.19.41 (221.183.19.41)  3.135 ms  2.631 ms  2.624 ms
9  221.183.23.178 (221.183.23.178)  35.851 ms  34.816 ms  34.811 ms
10  * 221.183.22.229 (221.183.22.229)  46.785 ms 221.183.10.118 (221.183.10.118)  47.007 ms
11  221.176.18.177 (221.176.18.177)  63.372 ms  59.494 ms *
12  * 221.176.21.253 (221.176.21.253)  66.451 ms  69.224 ms
13  211.137.177.234 (211.137.177.234)  75.256 ms  77.343 ms 120.221.68.10 (120.221.68.10)  51.834 ms
14  119.38.214.181 (119.38.214.181)  53.389 ms 211.137.177.234 (211.137.177.234)  78.359 ms 120.221.68.18 (120.221.68.18)  87.819 ms
15  119.38.215.29 (119.38.215.29)  54.658 ms 120.221.68.38 (120.221.68.38)  68.984 ms 120.221.68.10 (120.221.68.10)  71.373 ms
16  119.38.215.25 (119.38.215.25)  70.658 ms * *
17  114.215.101.12 (114.215.101.12)  50.112 ms  50.064 ms  50.062 ms


请你帮我看看,谢谢了。
Reply View the author
avatar
wtz
deepin
2017-08-29 02:43
#18
搜索结果页打不开?在Firefox里按F12,调出调试器,然后选“网络”选项卡,然后再在地址栏里访问百度,看看访问搜索结果页的时候调试器里显示的啥?

或者,如果嫌麻烦,用命令:
  1. wget https://www.baidu.com/s?wd=deepin
Copy the Code

看看输出什么内容。
Reply View the author
avatar
side
deepin
2017-08-29 02:53
#19
https://bbs.deepin.org/post/144739
搜索结果页打不开?在Firefox里按F12,调出调试器,然后选“网络”选项卡,然后再在地址栏里访问百度,看看 ...

搜索结果页是能打开的,打不开的是搜索出来的结果,

输出结果是这样的

side@acer:/$ sudo wget https://www.baidu.com/s?wd=deepin
[sudo] side 的密码:
--2017-08-28 18:50:49--  https://www.baidu.com/s?wd=deepin
正在解析主机 www.baidu.com (www.baidu.com)... 111.13.100.91, 111.13.100.92
正在连接 www.baidu.com (www.baidu.com)|111.13.100.91|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:227 [text/html]
正在保存至: “s?wd=deepin”

s?wd=deepin                   100%[================================================>]     227  --.-KB/s  用时 0s      

2017-08-28 18:50:50 (122 MB/s) - 已保存 “s?wd=deepin” [227/227])
Reply View the author
avatar
wtz
deepin
2017-08-29 03:14
#20
https://bbs.deepin.org/post/144739
搜索结果页是能打开的,打不开的是搜索出来的结果,

输出结果是这样的

所以问题在于无法百度的结果链接跳转到目标地址(比如http://www.baidu.com/link?url=Hx ... 51a0000000459a3fa52https://www.deepin.org/),而不是无法直接在浏览器中访问目标地址?
Reply View the author
1 / 2
To page