Q&A
1. How can I enable virtualization?
How to Enable Virtualization in BIOS?
Reboot the computer
While the system is restarting from a black screen, enter BIOS by pressing the hotkey. The hotkeys differ depending on the brand of the computer used. Usually, F1, F2, F3, F10, Esc, or Delete keys are the hotkeys to enter BIOS.
Navigate to Advanced Tab and press Enter to continue
Select Virtualization and Enable
Save changes and reboot the computer
BIOS can also be accessed through Windows in Settings.
How to Enable Virtualization without BIOS?
To enable Virtualization without opening BIOS, follow these steps:
Navigate to the Security tab and press Enter on CPU Setup.
Select Intel(R) Virtualization Technology and press Enter.
Choose Enable and press Enter.
Press F10.
Press Enter to select Yes to save the settings and Boot into Windows.
How to Enable Virtualization in Windows 10?
Go to Windows Settings.
Click on Update and Security.
Click on
Restart Now
from theRecovery Tab
to enter Windows Recovery Environment.Click
Troubleshoot
▸Advanced
▸UEFI Firmware Settings
.To continue, click
Restart
.BIOS Settings will be displayed. Select Virtualization and enable it.
2. WSL2 installation is incomplete
If the error “WSL 2 installation is incomplete” occurs in Docker Desktop, you should perform the following methods:
Step 1. Run
Command Prompt
.Step 2. Enter the command
wsl --update
3. I can’t run Dart-Services in Mac OS
If you cannot click to run the app in Mac OS, please follow the steps below.
Step 1. Open the Terminal.
Step 2. Input command in the below and then Dr.Dart-Services will be executed.
/Applications/Dr.Dart-Services.app/Contents/MacOS/Dr.Dart-Services
4. How can I use USB Serial Ports in Dart-Service?
If you use Serial(USB), follow the guide below.
1) Download Serial Setup
Download dart_serial_setup_windows.zip
for using USB port.
2) Install Ubuntu and usbipd
Unzip serial_setup_windows.zip
Execute
setup_win_env.bat
fileIn the installation screen, input
Y
key andEnter
key to agree to the termsWait for minutes while the package installation proceeds.
If you have 'winget' error
Please refer to https://www.techtutsonline.com/the-term-winget-is-not-recognized-as-the-name-of-a-cmdlet-function-script-file-or-operable-program/.
3) USB attach
If you need to use USB port for Serial or Modbus,
Open cmd as Administrator
Enter command for checking the List all of the USB devices connected to Windows.
CODEusbipd wsl list
Enter command for selecting the bus ID of the device you’d like to attach to WSL and run this command.
CODEusbipd wsl attach --busid <BUSID>
e.g. usbipd wsl attach --busid 1-2
If you have an error, please see the below.
Error 1. The selected WSL distribution is using WSL 1, but WSL 2 is required.
Step 1. Enter the following command into the terminal to select WSL2.
wsl --set-version Ubuntu-20.04 2
Error 2. WSL ‘usbip’ client not correctly installed.
Step 1. From Terminal on Ubuntu 20.04 (Ubuntu Terminal is available from the Windows Store: https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-us&gl=kr)
Step 2. Enter the following commands sequentially
sudo apt-get update
sudo apt install linux-tools-virtual hwdata
sudo update-alternatives --install /usr/local/bin/usbip usbip `ls /usr/lib/linux-tools/*/usbip | tail -n1` 20
5. How can I use TCP/IP in Dart-Service?
For TCP/IP communication with the host pc, firewall connection permission settings are required.
Step 1. Enter
Control Panel
▸System and Security
▸Windows Defender Firewall
.Step 2. Go to
Advanced settings
on the left.
Step 3. Add a new rule equally to the
Inbound Rules
and theOutbound Rules
.
Step 4. Select Pule Type : Port
Step 5. Set the port number or range that you want to use.
Step 6. Select Allow the connection.
Step 7. Fill in the desired Name and Description, then click Finish button.
Note.
This guide does not have screenshot images to register outbound rules. Be sure to register outbound rules in the same way as inbound rules.