Skip navigation

Network exchange using SMB / SAMBA protocols

One way of accessing from STB to files located on network computers is SMB / CIFS protocol (hereinafter SMB is used). SMB is a standard protocol used by the Microsoft Windows network file system.
Samba is a free implementation of the SMB protocol for UNIX-like and other types of operating systems.

SMB / Samba protocols using makes possible to share files between STB (Linux) and PC (Windows, Linux, etc.). Thus, STB users are enabled to play media files (video, audio, pictures) located on networked computers run OS which supported SMB
protocols
.
SMB / Samba is an application layer protocol (in terms of the OSI networking model). For data exchange, it uses the transport protocol TCP / IP.
SMB / Samba protocol uses client-server architecture: the server is a PC that hosts certain network resources (folders) with media files, the client is an STB from which media files are played.

Shared network resources (as shortcuts) are displayed in STB, in the Home media menu, in accordance with standard network LAN architecture of Windows OS: Network / Workgroup / Computer / Folder.

By default, access to computer resources is closed on the computer side. If the STB user wishes to get network access to a certain computer folder, the computer user should open access to the folder using the File Sharing procedure.

There are two accessing modes to network recourses (i.e. specific network folders) that set on the server-side:

  • password-protected - to open computer folder from STB, the user is obliged to pass Authorization procedure - i.e. to enter login (computer user name) and password (computer user password);
  • without a password - to open a computer folder from STB no password is requested.

Discovering shared network resources on the STB side performs automatically (except when it is prohibited by the computer user or it is impossible due to networking issues). Connection to a network folder is established when the STB user opens this folder. In the case of password-protected access to the folder, the STB users will be asked to specify a login and password.

It is also possible to manually connect STB to a specific network folder (if it was not discovered automatically). For accessing and setting up network resources using SMB / Samba protocol on STB, the Home media menu is used.

Example of how to connect a network folder, located on PC run Windows 10 OS, to STB is described below.

Parameters used in example

Computer (file server):

  • Operating system - Windows 10 64-bit;
  • Computer name - My_computer;
  • Working group - WORKGROUP (default working group name in OS Windows);
  • PC IP address - 192.168.1.133.
  • Resource for sharing (folder with media files) - Video_E1.
  • User name - Usr.

STB (client)

  • IP-address of STB - 192.168.1.205

Setting up connection on server

Checking availability of network connection PC - STB

Before setting up the connection, make sure that network connection between PC and STB is accessible -  send ICMP Echo Requests (PING) from PC to selected STB.

Image Documentation

SMB protocol enabling checkup

  1. Open Control PanelAll Control Panel Items Programs and Features.
  2. In the left pane, select Turn Windows features on or off.
  3. Make sure that Support for SMB 1.0 / CIFS File Sharing Support option is enabled.

Image Documentation

Sharing settings for Windows profiles

  1. Оpen Control PanelAll Control Panel Items Network and Sharing Center
  2. In the left pane, select Change advanced sharing settings.
  3. Set sharing settings for three profiles (Private, Guest or Public and All Networks):

Private

Image Documentation 

Guest or Public

Image Documentation

All Networks

Image Documentation

Providing access to folder on PC

1. Open access to folder Video_E1: PropertiesSharingShare.
2. In opened window File sharing select and add users to access the folder:

2.1 To provide password-protected access to the folder, select and add required users from a user list (in the example - Usr). In this case, when trying to open the folder from the STB side, the user will be asked to enter the login (PC user name) and password (PC user password) in order to connect the folder.

Take into account! The PC user account must comprise a specific password value (not be empty). In the case of empty user password access, the folder will be impossible!

2.2 To provide access to the folder without password (to all network users), select and add user All from the user list.

3. Set permission level (read or read&write) for users and open access by clicking the Share shortcut.

Figures below demonstrate the example how to configure passwordless access (to all network users).

Image Documentation

Image Documentation

Image Documentation

Image Documentation

Image Documentation

Network folder connection auto setup on STB

  1. In Embedded portal go to the Main menuHome MediaNetworkWORKGROUP

Image Documentation

Image Documentation

2. The WORKGROUP folder contains shortcuts of network computers. Click on My_Computer shortcut. This opens a list of shared computer folders.

Image Documentation

3. To check out auto-detection of network resources and type of protocol, select folder and use "i" (INFO) button on the Remote Control:

Image Documentation

4. Open folder Video_E1. Inside the folder, follow the path to a media file that you want to play. If the folder is shared (on PC) to all users, it opens automatically.

Image Documentation

5. If the folder is password-protected or STB can not mount the folder for any reason then the Network connection window opens. For getting access, you must select OK - the Authorization window opens, in which you should enter parameters for accessing the folder: Login and Password.

Image Documentation

Image Documentation

6. After the list of files opens, run the file you want to play.

Manual connection to network folder

In some cases (when folder auto connection is not performed), user can manually configure access to a network folder:

  • In Embedded portal go to Main menuHome MediaNetwork
  • Call Operations window - Menu button on RC.
  • Find Tools tab (use left, right buttons) and click Connect NFS/SMB.
  • In Connect network folder window, enter the following connection parameters:
    • Server Address - IP address of PC (file server) on which required folders are located;
    • Server folder - the name of the shared folder on PC;
    • Local folder - the name of the folder on STB (usually the same as folder name on server);
    • Connection type - SMB protocol;
    • Login - the same as the user name of the PC. Login is entered if the folder is password-protected;
    • Password - password for accessing the folder. It is entered if the folder is password-protected.
      Note. In the case of passwordless access, Login and Password options should be empty!

Image Documentation

Disconnecting network folder, changing folder settings on STB

To forced disconnecting certain network folder, use Disconnect NFS/SMB command.

If settings of established connection to certain network folder should be changed (for example, when networking settings were changed on the PC side), use Edit share command for this folder.

Folder mounting

Establishing a connection to a certain network folder (described in Network folder connection setup on STB and Manual connection to network folder) leads to mounting this folder on STB. If a certain folder has been mounted on STB, its shortcut puts on the top level of the Home media menu.

The user can mount a certain folder manually (this leads to its connecting too). For this purpose, command Mount share is used.

Image Documentation

Image Documentation

To unmount folder on STB (this leads to its disconnecting too), command Unmount share is used.

Problems of accessing network resources

  1. Follow these steps:

2. When you have set passwordless access to the folder (for all users), but you are prompted to authorize when you open the folder:

5. If, when opening folder on STB, it is requested to perform authorization (enter login, password), but the password value is not set (empty password):

  • Set specific password value for PC user;
  • If access to folder not resumed, restart STB.

6. If any file does not open:

  • check whether the file can be played locally on PC;
  • try to play from STB other files from the same PC folder, from other network folders;
  • try to play file with a different format (preferably, check file that was previously played on STB, for example, from USB-drive). Perhaps, file with this format is not supported by STB player.
Need Help

Dave is an expert on the MAG STB and the author of this article.

Was this article helpful?

Yes No

Sorry to hear that.
How can we improve this article?

We use cookies in order to optimise our website, provide you with the best possible user experience and help us promote our products. Please read our Cookie Policy to find out how we use cookies and how you can control cookies.
By using this website or closing this message, you acknowledge our Privacy Policy and agree to our use of cookies as described in our Cookie Policy.