查看网卡接口

我的网卡接口是enp7s0
复制/etc/netctl/examples/pppoe到/etc/netctl目录
编辑/etc/netctl/pppoe文件,将Interface=eth0改成Interface=enp7s0;将User='[email protected]'中的[email protected]替换成你的宽带帐号;将Password='very secret'中的very secret替换成你的宽带帐号密码,然后保存并推出。
用ip link命令将网卡接口down掉,ip link set enp7s0 down
用netctl进行拨号连接
至此就全部结束了。