nmcli con edit type pppoe con-name “YOUR_CONNECTION_NAME”
set pppoe.username YOUR_DSL_ACCOUNT_USERNAME
set pppoe.password YOUR_DSL_ACCOUNT_PASSWORD
save
yes
quit
来源:oschina
链接:https://my.oschina.net/frank1126/blog/4280126