Dune HD Media Center App - SMB Server


Dune HD Media Center includes a built-in SMB file server which provides access to connected storage devices and internal memory from local network.

Because of certified Android TV solution (and Google security requirements), SMB server uses so-called "non-privileged" port, and supports SMB 2.x/3.x protocols only (very old SMB 1.x protocol is not supported).

The used port number is 10445 (instead of standard port number 445).

So, to connect to this SMB server, you need to connect to it directly by IP address and specify the port number manually. On Windows PC, you need to setup port forwarding. See below for the details.


How to connect from Dune HD media players

Dune HD media players, when using latest r21 firmware versions, will find SMB server built-in into Dune HD Media Center app automatically, so you can just use the "Network Browser" function in "Sources" menu.

Also, you can enter "IP:port" into "Server" field when configuring a network folder manually.


How to connect from Windows PC

Option 1 - if you need to keep the SMB server built-in into Windows, then you need to setup a virtual adapter:

  1. Create a virtual adapter. To do this, perform the following steps in Windows.

    Note: for more details, see the relevant documentation and instructions for Microsoft Windows, for example:
    How to install Microsoft Loopback Adapter.
    Launch "Add Hardware" wizard. For example, in Windows Search, type "hdwwiz". After that, choose:
    
    Add Hardware / ... manually select ... / Network adapters / Microsoft / Microsoft KM-TEST Loopback Adapter
    




  2. Manually set the IP address for this virtual adapter:
    10.10.10.1
    
  3. Add forwarding port 445 from the virtual adapter (10.10.10.1) to port 10445 of the media player. To do this, in the next command, change 192.168.1.243 to the real IP of the media player and run this command in Windows PowerShell (as Administrator user):
    netsh interface portproxy add v4tov4 listenaddress=10.10.10.1 listenport=445 connectaddress=192.168.1.243 connectport=10445
    
  4. Ensure Windows firewall is disabled or is configured in a way which does not block the network access.

  5. In Windows Explorer, to connect to the media player, enter the following path:
    \\10.10.10.1
    

Option 2 - if you do not need an SMB server on Windows, you can use the following simpler procedure:

  1. Disable the built-in Windows SMB server. To do this, run the following commands in Windows PowerShell (as Administrator user):
    sc config lanmanserver start=disabled
    sc stop lanmanserver
    
  2. Restart Windows.

  3. Add forwarding port 445 from Windows to port 10445 of the media player. To do this, in the next command, change 192.168.1.243 to the real IP of the media player and run this command in Windows PowerShell (as Administrator user):
    netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=445 connectaddress=192.168.1.243 connectport=10445
    
  4. Ensure Windows firewall is disabled or is configured in a way which does not block the network access.

  5. In Windows Explorer, to connect to the media player, enter the following path:
    \\127.0.0.1
    

An article with related information:
https://unix.stackexchange.com/questions/301238/how-to-access-samba-share-from-windows-which-is-running-on-different-port