vb:run_webhmi_as_virtual_machine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
run_webhmi_as_virtual_machine [2019/02/11 14:13] – [Run WebHMI as virtual machine] akuzmuk | vb:run_webhmi_as_virtual_machine [2022/10/25 14:18] – [Windows 10 host system] emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Run WebHMI | + | {{ : |
+ | |||
+ | ====== Run Virtual Box WebHMI | ||
It is possible to run WebHMI as virtual machine. You can download VirtualBox image at [[https:// | It is possible to run WebHMI as virtual machine. You can download VirtualBox image at [[https:// | ||
- | {{ :: | + | {{ network: |
You must have [[https:// | You must have [[https:// | ||
Line 8: | Line 11: | ||
Once image was downloaded, extract archive to desired destination and open **WebHMI.vbox** file with VirtualBox. | Once image was downloaded, extract archive to desired destination and open **WebHMI.vbox** file with VirtualBox. | ||
- | {{ :: | + | {{ network: |
This will run VirtualBox and add WebHMI virtual machine into it. | This will run VirtualBox and add WebHMI virtual machine into it. | ||
- | {{ :: | + | {{ network: |
You might want to adjust Processors amount on **System-> | You might want to adjust Processors amount on **System-> | ||
- | {{ :: | + | {{ network: |
Also you might need to select correct network adapter on **Network-> | Also you might need to select correct network adapter on **Network-> | ||
- | {{ :: | + | {{ network: |
Close settings window and click **Start** button. | Close settings window and click **Start** button. | ||
- | {{ :: | + | {{ network: |
Virtual machine will be started now. | Virtual machine will be started now. | ||
- | {{ :: | + | {{ network: |
In about 10-20 seconds it will complete boot process. You should see " | In about 10-20 seconds it will complete boot process. You should see " | ||
- | {{ :: | + | {{ network: |
By default virtual machine is connected to your network via bridged network adapter. It uses static ip address 192.168.1.1. So web interface of WebHMI will be available at address 192.168.1.1 too. You can change this address later via **[[http:// | By default virtual machine is connected to your network via bridged network adapter. It uses static ip address 192.168.1.1. So web interface of WebHMI will be available at address 192.168.1.1 too. You can change this address later via **[[http:// | ||
Line 39: | Line 42: | ||
Open [[http:// | Open [[http:// | ||
- | {{ :: | + | {{ network: |
Default credentials are: | Default credentials are: | ||
Line 49: | Line 52: | ||
+ | ====== Adding serial ports to the virtual image ====== | ||
+ | |||
+ | ===== Windows 10 host system ===== | ||
+ | For Windows 10 host system, a USB filter should be set up in the image properties. | ||
+ | Please refer to the following picture: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Be sure you enabled the USB converter for the virtual machine: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Select your serial device in the connection properties, as shown below: | ||
+ | |||
+ | {{network: | ||
====== Troubleshooting ====== | ====== Troubleshooting ====== | ||
Line 66: | Line 84: | ||
Go to virtual machine settings, select **Network**-> | Go to virtual machine settings, select **Network**-> | ||
- | {{ : | + | {{ network: |
Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | ||
- | {{ : | + | {{ network: |
In this example you can get access to WebHMI' | In this example you can get access to WebHMI' | ||
Line 81: | Line 99: | ||
To create new virtual network go to **File**-> | To create new virtual network go to **File**-> | ||
- | {{ :: | + | {{ network: |
Click " | Click " | ||
- | {{ :: | + | {{ network: |
Now go to WebHM' | Now go to WebHM' | ||
- | {{ :: | + | {{ network: |
Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | ||
- | {{ :: | + | {{ network: |
In this example you can get access to WebHMI' | In this example you can get access to WebHMI' |
vb/run_webhmi_as_virtual_machine.txt · Last modified: 2024/04/05 08:33 by emozolyak