Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01389// Views: AA-01389// Created: 2018-02-06 20:53:25// Last Updated: 2023-03-28 15:46:01
Problem & Solution
HYPERSIM: Problem Accessing hyppub Shared Folder Samba Between the Simulator and the Localhost or 'Failed - Samba Diagnostics' Error

[Edit]: Starting HYPERSIM 2022.1, the SAMBA (SMB) protocol is not used anymore. Therefore, this KB applies to HYPERSIM 2021.3 and earlier only.


Problem

When you have a problem accessing the shared folder "\\\hyppub" (ex:\\192.168.11.206\hyppub) in HYPERSIM. In Windows 10, you might need to do some configuration changes in "Windows Features". The same configuration changes apply if you get the error after installing HYPERSIM or after running the Diagnostics Tool:

FAILED - Samba Diagnostics




Note

If the Windows computer language (region / non-unicode programs) is not in English, then the result of the Samba Diagnostics might be FAILED even though it might work fine.

Type "\\\hyppub" (ex:\\192.168.11.206\hyppub) in a Windows File Explorer. If it works, then no actions are required. HYPERSIM will work properly.


Solution


Option 1 - Using the Control Panel

Please follow these steps:

1. Go into Control Panel > Programs > Programs and Features and click on "Turn Windows features on or off".



2. Check SMB 1.0 and SMB Direct as shown below.



3. Click Ok.

4. Restart the computer and try to access the shared folder in Windows Explorer



Option 2 - You can't access this shared folder because your organization's security policies block unauthenticated guest access

It is possible that your organizations security setup blocks certain accesses / processes from running like Samba which is an important Windows to Linux Protocol used by HYPERSIM.

Please refer to this Troubleshooting Guide from Windows.

Via gpedit.msc:



Option 3 - Reinstall Samba using Command Lines

To install Samba on your Host PC, start a Windows Command Prompt as administrator and execute:

 dism /online /enable-feature /featurename:SMB1Protocol
 dism /online /enable-feature /featurename:SMB1Protocol-Client

You will need to be connected to the internet.

To install Samba on your Target, download and install the following RPM file on your Target. 

To install the RPM file, please follow this KB ArticlePlease see this KB Article to transfer the file to the Target and enter the proper Linux commands. 


NOTE: It nay be necessary to enable SMB2 or SMB3 in the host computer, these options may be unavailable by default: see this link for further information:

https://learn.microsoft.com/en-US/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default