1. Environmental Description
$ lsb_release -a
$ cat /etc/.kyinfo
$ ip addr
View network card name:
$ ifconfig
Second, configure the network card
$ sudo vim /etc/network/interfaces
Original config file:
Modified config file:
3. Configure DNS
$ sudo vim /etc/systemd/resolved.conf
Fourth, restart the network service
$ /etc/init.d/networking force-reload
$ /etc/init.d/networking restart
5. Access network verification
other
Situations where the network was previously inaccessible: