After ubuntu is installed, it shows "device not managed"
1. Edit /etc/NetworkManager/NetworkManager.conf:
sudo gedit /etc/NetworkManager/NetworkManager.conf Change
managed=false to managed=true
2. Restart the network-manager service:
sudo service network-manager restart
Set address (ip), netmask (subnet mask), gateway (gateway) in ubuntu.
# sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.211.214
netmask 255.255.255.0
gateway 192.168.211.254
Configure DNS
#sudo gedit /etc/resolv.conf
nameserver DNS address
restart network configuration
#sudo /etc/init.d/networking restart
If you can get online, congratulations.
If you have time, please comment the results below so that more people can refer to it. Anyone who sees the comments knows that this tutorial doesn't work or not.