您尚未登录。

#1 2017-09-17 11:24:43

ZenithMoon
会员
注册时间: 2017-09-17
帖子: 3

联网问题

安装时是直连网络,正常联网。
安装后使用为宽带拨号,/etc/netctl/pppoe文件修改如下:
Description='ADSL'
Interface=enp0s25
Connection=pppoe
User='账户名'
Password='密码’
其他部分都没有变,执行 netctl start pppoe 后结果如下:
Job for netctl@pppoe.service failed because the control process exited with error code.
执行 systemctl status netctl@pppoe.service 后结果如下:
netctl@pppoe.service - Networking for netctl profile pppoe
Loaded: loaded (/usr/lib/systemd/system/netctl@service; static; vendor preset: disabled)
Active: failed (Resilt: exit-code) since Sat ...
Docs: man:netctl.profile(5)
Precess: 2019 ExecStart=...   start pppoe (code=exited, status=1/FAILURE)
Main PID: ...
...
The interface of network profile 'pppoe' is already up
...
Failed to start Networking for netctl profile pppoe
请问这种情况应该怎么办?
尝试过 ip link set enp0s25 down 后再 up,没用。

离线

#2 2017-09-17 11:46:19

firedrake
会员
注册时间: 2016-08-29
帖子: 77

Re: 联网问题

http://jlk.fjfi.cvut.cz/arch/manpages/m … ONNECTIONS
看手册应该是

Interface=ppp0
BindsToInterfaces=(enp0s25)

离线

#3 2017-09-17 15:55:13

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 联网问题

ip link set enp0s25 down 不 up 呢?是不是有别的程序在管理 enp0s25?

离线

#4 2017-09-18 18:27:53

ZenithMoon
会员
注册时间: 2017-09-17
帖子: 3

Re: 联网问题

firedrake 说:

http://jlk.fjfi.cvut.cz/arch/manpages/m … ONNECTIONS
看手册应该是

Interface=ppp0
BindsToInterfaces=(enp0s25)

采用这种方式会提示ppp0 not found。

离线

#5 2017-09-18 18:31:44

ZenithMoon
会员
注册时间: 2017-09-17
帖子: 3

Re: 联网问题

依云 说:

ip link set enp0s25 down 不 up 呢?是不是有别的程序在管理 enp0s25?

不 set up 的时候执行 netctl start pppoe 命令不报错,但不如说是没反应。
用 journalctl -nx 命令检查发现并没有启用。

离线

#6 2017-09-19 10:22:55

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: 联网问题

netctl start pppoe 本来也没有输出,没反应是什么?

离线

#7 2017-09-19 11:15:46

majia321
会员
注册时间: 2011-08-20
帖子: 53

Re: 联网问题

难道没有安装 ppp 包?
安装后有没有禁用默认的dhcpcd服务?


喵~Zz

离线

页脚