Fix network failures in the Ubuntu VM
Occasionally, network failures may occur in the Ubuntu VM while the host computer has no network issues. Any ongoing compilation in the Ubuntu VM may result in fetch failure. To re-establish the network in the Ubuntu VM, do the following:- To find the corresponding network interface, run the
ip linkcommand in the Ubuntu terminal window. The Ubuntu terminal window returns a network interface. For example, enp0s1. - To re-establish the network in the Ubuntu VM, use the network interface and run the following commands:
For example:
ip link set dev enp0s1 downip link set dev enp0s1 up
Optimize slow or unresponsive Mac host computer
If the Mac host computer is slow or unresponsive, the UTM VM may be consuming all the available resources of the host computer. To troubleshoot this issue, do one of the following:- Use the recommended settings to reconfigure the memory and CPU core allocation for the Ubuntu VM. For instructions, see Step 5 in Create a VM in UTM on an Arm64 Mac.
- Reconfigure the Ubuntu VM settings such that the Ubuntu VM and the host computer use the available resources optimally. For example, distribute the memory and CPU cores equally among the host computer and the VM. Also, avoid running CPU-intensive tasks on the host computer when you’re using the Ubuntu VM.

