To install all dependencies, create the following files and run the setup script.
Get the IP address of the Ubuntu VM with the following command.
bash
ip addr show
link/ether field of the output is the MAC address, both for Wi-fi and ethernet connections, MAC address is represented by link/ether. Most of the time this will be in the second line.