天天看点

pppoe拨号上网安装Arch Linux

查看网卡接口

pppoe拨号上网安装Arch Linux

我的网卡接口是enp7s0

复制/etc/netctl/examples/pppoe到/etc/netctl目录

pppoe拨号上网安装Arch Linux

编辑/etc/netctl/pppoe文件,将Interface=eth0改成Interface=enp7s0;将User='[email protected]'中的[email protected]替换成你的宽带帐号;将Password='very secret'中的very secret替换成你的宽带帐号密码,然后保存并推出。

pppoe拨号上网安装Arch Linux
pppoe拨号上网安装Arch Linux

用ip link命令将网卡接口down掉,ip link set enp7s0 down

pppoe拨号上网安装Arch Linux

用netctl进行拨号连接

pppoe拨号上网安装Arch Linux

至此就全部结束了。