Linux 宽带上网

1、配置

● 使用 NetworkManager 配置
● 使用 PPPoEConf 配置

$ sudo pppoeconf

● 直接编辑配置文件

$ sudo sh<<_EOF
cat >/etc/ppp/peers/myisp<<__EOF
noipdefault
defaultroute
replacedefaultroute
password "mypassword"
noauth
persist
plugin rp-pppoe.so eth0
user "myuser"
usepeerdns
__EOF
_EOF

2、连接

$ sudo pon myisp

3、断开

$ sudo poff

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注