a. 执行如下两条命令:
Sudo systemctl enables the network manager sudo dhclient ens33
查看
sudo ifconfig ens33 sudo dhclinet ens33 # 手动获取ip sudo ifconfig ens33 # 查看
或者 b. 执行命令:
su root VIM / etc / netplan / 01 is owned by the network manager.yaml network: ethernets: ens33: dhcp4: true optional: true wifis: wlan0: dhcp4: true optional: true access-points: "WIFINAME": password: "xxxx" version: 2netplan try --debugSystemctl restart the network manager
ping www.baidu.com
Copyright © 2013-2021 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号