页次: 1
我通过pppoe-stepup配置了拨号上网的帐号密码,但是在pppoe-start显示connected后上不去网
ping www. baidu.com 不通
这是配置:
Ethernet Interface: enp8s0
User name: hzxha50882454
Activate-on-demand: No
DNS: Do not adjust
Firewalling: NONE
pppoe-stauts:
$ sudo pppoe-status
pppoe-status: Link is up and running on interface ppp0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492
inet 10.109.88.203 netmask 255.255.255.255 destination 10.109.0.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 3 bytes 54 (54.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1345 (1.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
最近编辑记录 apersonlikesc (2018-06-06 09:07:40)
越过山丘,遇见十九岁的我
离线
ping 不通有以下几种情况:
* DNS 解析失败
* ping 丢包(没有输出)
* 网络不可达
* 目标主机不可达
在线
ping 不通有以下几种情况:
* DNS 解析失败
* ping 丢包(没有输出)
* 网络不可达
* 目标主机不可达
我ping时没有输出的,浏览器时向左旋转
越过山丘,遇见十九岁的我
离线
我ping时没有输出的,浏览器时向左旋转
矛盾啊。
ping 网关试试?
在线
apersonlikesc 说:我ping时没有输出的,浏览器时向左旋转
矛盾啊。
ping 网关试试?
ping网关可以ping通
浏览器左旋后显示的是你的连接已中断,检测到了网络变化,之后就不旋转了(ง •̀_•́)ง
还有sudo pppoe-status
pppoe-status: Link is down -- could not find interface corresponding to
pppd pid 32632
越过山丘,遇见十九岁的我
离线
什么乱七八糟的……
贴 ip a 的输出吧先。
在线
什么乱七八糟的……
贴 ip a 的输出吧先。
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 54:ab:3a:48:3b:27 brd ff:ff:ff:ff:ff:ff
inet 172.18.77.154/27 brd 172.18.77.159 scope global noprefixroute enp8s0
valid_lft forever preferred_lft forever
inet6 fe80::14c0:7d0b:dc15:3d82/64 scope link
valid_lft forever preferred_lft forever
3: wlp15s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 76:21:32:64:cf:f7 brd ff:ff:ff:ff:ff:ff
277: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc fq_codel state UNKNOWN group default qlen 3
link/ppp
inet 10.109.40.165 peer 10.109.0.1/32 scope global ppp0
valid_lft forever preferred_lft forever
越过山丘,遇见十九岁的我
离线
ping -c4 10.109.0.1
ip r
cat /etc/resolv.conf
在线
ping -c4 10.109.0.1
ip r
cat /etc/resolv.conf
$ ping -c4 10.109.0.1
PING 10.109.0.1 (10.109.0.1) 56(84) bytes of data.
64 bytes from 10.109.0.1: icmp_seq=1 ttl=254 time=1.51 ms
64 bytes from 10.109.0.1: icmp_seq=2 ttl=254 time=1.65 ms
64 bytes from 10.109.0.1: icmp_seq=3 ttl=254 time=1.59 ms
64 bytes from 10.109.0.1: icmp_seq=4 ttl=254 time=1.53 ms
--- 10.109.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 1.510/1.573/1.654/0.074 ms
$ ip r
default via 172.18.77.158 dev enp8s0 proto dhcp src 172.18.77.154 metric 202
172.18.77.128/27 dev enp8s0 proto dhcp scope link src 172.18.77.154 metric 202
$ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 211.140.13.188
nameserver 211.140.188.188
nameserver 172.16.11.3
nameserver 172.16.11.4
越过山丘,遇见十九岁的我
离线
默认路由没走 pppoe 啊。ip r replace default via 10.109.0.1 dev ppp0 试试?
在线
默认路由没走 pppoe 啊。ip r replace default via 10.109.0.1 dev ppp0 试试?
Cannot find device "ppp0"
越过山丘,遇见十九岁的我
离线
Cannot find device "ppp0"
哎,上边 ip a 的输出里不是有的吗……
你要不还是通过 netctl 配 pppoe 吧。
在线
apersonlikesc 说:Cannot find device "ppp0"
哎,上边 ip a 的输出里不是有的吗……
你要不还是通过 netctl 配 pppoe 吧。
我去试试其他方法,谢谢老哥
越过山丘,遇见十九岁的我
离线
默认路由没走 pppoe 啊。ip r replace default via 10.109.0.1 dev ppp0 试试?
感谢依云大佬,校园网登录失败两天,终于找到了解决方法
离线
apersonlikesc 说:Cannot find device "ppp0"
哎,上边 ip a 的输出里不是有的吗……
你要不还是通过 netctl 配 pppoe 吧。
感谢依云大佬!按照大佬的步骤一步一步走下来终于能够用校园网上网了!
给大佬撒花!=)
离线
页次: 1