DEBUG:no netplan generated NM configuration existsDEBUG:eth0 not foundin{}DEBUG:wlan0 not foundin{}DEBUG:Merged config: network: bonds:{}bridges:{}ethernets: eth0: addresses: -172.16.1.253/24 gateway4:172.16.1.1 nameservers: addresses: -172.16.1.1 -8.8.8.8 vlans:{}wifis: wlan0: access...
它将自动生成与前面的设置和接口名称,确保您有相同的接口名称。如果没有,请更改接口名称。
ubuntu@ubuntu:~$ sudo /etc/init.d/networking restart [sudo] password for ubuntu: sudo: /etc/init.d/networking: command not found 查看ubuntu版本 ubuntu@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: ...