Ubuntu 20.04 使用

1、PPPoE 拨号设置

ubuntu 19 和 20 中没有pppoeconf,

解决方法1:自行下载pppoeconf;

解决方法2:采用如下命令配置:

sudo nmcli con edit type pppoe con-name "crsconn" //任意给个名字

在出现的 nmcl 界面中输入:

set pppoe.username PPPoE账号  //设置账号
save
quit

这样每次开机就会通过新建的连接 自动联网

2、配置源并更新

sudo gedit  /etc/apt/sources.list

头部加入

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

执行

sudo apt-get update
sudo apt-get upgrade

Comments are closed.