- Copy SD Card Image to an SD Card
- Copy Software to the Board via SSH and SCP
- Getting and Running the PHYTEC VM
- Install FTDI Driver on Windows
- Set Static IP Address in Ubuntu 20.04 LTS
- Setup a Second Network Interface in the Virtual Machine
- Setup qbee Device Management on phyBOARD-Polis
- Using phyLinux to build a yocto BSP with a build-container
- Using thingsboard.io to connect phyBOARD-Polis to the Cloud
Setup a Second Network Interface in the Virtual Machine
Hint
This tutorial will only work if you have more than one network interface on your host machine. If you can use the information from this tutorial, you do not have to switch the network connection from connected to the internet and connected to the board.
Goal
- Set up a second network interface for the PHYTEC virtual machine. This will be useful if you connect the board with the host over SSH.
Preconditions
- The board is connected with the host over ethernet (here you need to check the Quick Start Guide that came with the kit)
- The host computer has a free ethernet port, which is not in use and can be used to connect the phyBOARD Evaluation Board.
- The PHYTEC virtual machine has been imported correctly and is running (Getting and Running the PHYTEC VM)
- You use Oracle Virtualbox (https://www.virtualbox.org/wiki/Downloads) to manage the PHYTEC virtual machine
Tutorial
If You are Using Windows on the Host Machine
- Find the name of the second network interface
- Open your network manager
- Choose the correct network connection
- copy the name of the connection
- Open your network manager
- Setup a static IP for this connection
- Choose the IPv4 protocol:
- Settings (IP address: 192.168.3.11; Subnet mask: 255.255.255.0)
- Choose the IPv4 protocol:
- Modify the virtual machine in Virtualbox
- Activate the second network interface:
- Choose "Networkbridge" as settings and choose the source with the name from step 1c
- Activate the second network interface:
- Boot the virtual machine
- Open the Network settings in the virtual machine
- Setup the correct IP address and the correct subnet mask
- Connect the board with the ethernet connection with the host machine and start it up
Setup the Ubuntu Inside of the Virtual Machine
After you set up the network bridge, you also have to set up Ubuntu inside of the virtual machine for the second interface.
- After booting up your virtual machine, you have to click on the dotted square at the left bottom and type "settings"
- The settings window will open and look similar to:
- Choose "Network" on the left side and click on the small "+" sign behind ethernet to add a new setting for a wired connection.
- The "New Profile" window will open
and you have to open the tab IPv4. This window should look like: - Then you have to selecht Manual for "IPv4 Method". The window will change to:
- There you have to add the address: 192.168.3.11 and the netmask: 255.255.255.0 This should look like this:
Click the green "Add" button at the top right corner, - Now a new wired setting is established and you can communicate with your board over SSH and also have an internet connection.