Ubuntu遇到网卡问题的有效解决方法

 

在使用Ubuntu中会遇到网卡、图标不见等问题,下面就解释一下解决方法;

Ubuntu遇到网卡问题的有效解决方法插图亿华云

a. 执行如下两条命令:

Sudosystemctl enables the network manager
sudo dhclient ens33

查看

sudo ifconfig ens33
sudo dhclinet ens33
手动获取ip
sudo ifconfig ens33
查看

或者 b. 执行命令:

su root
VIM
/ etc / netplan /01is owned by the network manager.yaml

network:
ethernets
:
ens33
:
dhcp4
:true
optional
:true
wifis
:
wlan0
:
dhcp4
:true
optional
:trueaccess-points:"WIFINAME":
password
:"xxxx"
version
:2

netplan try--debug
Systemctl restart the network manager

再次尝试

ping

THE END
Copyright © 2024 亿华云