ls //列出文件
    nano //文件名

修改内容为

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    ens33:
      dhcp4: no
      addresses: [192.168.1.30/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses: [192.168.1.1,114.114.114.114]
Last modification:March 13, 2022
反正也没人会打赏