SMB: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
m (type-o)
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
:'''Windows File Sharing''', (also known as Common Internet File System [CIFS] and previously known as Server Message Block [SMB]), is probably the most flexible of all of the options for sharing media between your computer or a [[NAS|NAS (Network Attached Storage)]] device and XBMC.
{{mininav| [[File sharing]] }}
{|class="infobox" style="width:210px"
|-
|
Return to:
* '''[[HOW-TO:Create_Music_Library|Music Library Guide]]'''
* '''[[HOW-TO:Create_Video_Library|Video Library Guide]]'''
|}
__TOC__


* On Mac OS X it's called [[Macintosh File Sharing using SMB (Windows File Sharing)|Windows Sharing]].
= Introduction =
* On [[samba|Linux/UNIX/BSD]] its counterpart is [http://www.samba.org SAMBA].
<section begin="intro"/>Windows File Sharing, aka Server Message Block (SMB), is the standard client-server protocol used by Windows to share resources over a network. SMB is available on all Windows computers and can be easily setup by the home user. SMB can also be accessed by other operating systems, which makes SMB the most commonly used network protocol to access content on a NAS or other remote hardware.<section end="intro"/>


:SMB/SAMBA/CIFS sharing has many advantages over the other options, mainly:
'''Note:''' SMB v1 is not supported in {{kodi}}. SMB v2 or higher must be used.
* It is already incorporated in Windows, eliminating the need for additional software and services to be installed on your PC
* It allows for authentication by Windows username and password, making it good for use on public networks
* Once properly configured, it will allow your network shares to be seen and accessed by not only XBMC, but also any Windows machine on your network.<br />


==Setting up SMB==
This page will detail how to add a network source to {{kodi}} using SMB. It assumes you have already correctly set up your SMB network. If you have not set up your SMB network, a Google search will return numerous online guides. The following links may help also.
<big>
*'''[[SMB/Windows]] -'''</big> Setting up SMB on Windows


* Android : [https://www.howtogeek.com/191378/how-to-access-shared-windows-folders-on-android-ipad-and-iphone/ How-To Geek]
* Linux : [http://www.samba.org SAMBA].
* Mac : [https://support.apple.com/en-au/guide/mac-help/mh17131/10.15 macOS User Guide site]
* Windows : Multiple guides available via Google.


<big>
*'''[[SMB/Mac]] -'''</big> Setting up SMB on Mac OS X




<big>
= Method =
*'''[[Samba]] -'''</big> Setting up SMB in Linux
SMB (remote or network) server locations can be accessed with either of the following methods:


==External links==
; IP address
* [http://www.mini-itx.com/projects/xbmc-ion/module/7 How to enable Windows File-Sharing on your XBMC Live system (mini-itx.com)]
: If using the IP Address method, ensure you reserve a DHCP address (static IP) for your NAS or other hardware. This ensures that your router will always allocate the same IP address to the server. If you choose not to do this, then you may find that the router has allocated a different address to your NAS and {{kodi}} will no longer be able to access the media files.


[[Category:File Sharing]]
: To reserve a static IP address, log into your router and add the MAC address of the hardware to the Reservation list in your Router. If you do not know the MAC address, you should see it in the list of connected clients.
[[Category:XBMC Manual]]
 
; Device Name
: If using Windows PC's you can use the Device Name of the PC.
 
: The Device Name can be found in ''Settings > System > About'' on your Windows PC.
 
 
 
= Adding Remote Sources =
The images will guide you through the process of adding an SMB Source to {{kodi}}.
 
Depending on which method you have chosen to use, choose either Step 4 or Step 5, not both
 
'''Note''': SMB v2 and later does not support Browse. You must type the folder name in steps 4.2 or 5.2 below.
 
 
<gallery mode="packed" widths="500px" heights="283px">
File:Add-Network-Location.png |Image 1- Select '''Add network location...''' from the '''Browse for new shares''' list.
File:Add-Network-Location_2.png|Image 2- Select '''Windows network (SMB)''' for '''Protocol'''.<br>Then select '''Server Name'''.
File:Add-Network-Location_3.png|Image 3- Type in either the '''IP Address''' or the '''Device name''' of your server.
File:Add-Network-Location_4.png|Image 4- Using '''IP Address'''<br> '''4.1''' Browse is not supported. <br> '''4.2''' In the '''Shared folder''' section, type in the name of the folder to add.<br> Add the drive letter ''eg f/Movies''.<br>'''4.3''' If your share requires a '''Username''' and '''Password''' enter them in the appropriate sections.<br>'''4.4''' Select '''OK'''
File:Add-Network-Location_5.jpg|Image 5- Using '''Device Name'''<br>'''5.1''' Browse is not supported. <br> '''5.2''' In the '''Shared folder''' section, type in the name of the folder to add <br>The drive letter is not required.<br>'''5.3''' If your share requires a '''Username''' and '''Password''' enter them in the appropriate sections.<br>'''5.4''' Select '''OK'''
File:Add-Network-Location_6.jpg|Image 6- Your share should appear in the '''Browse for new share''' list. <br>The share will show either the IP Address or Device Name depending on which method you used.
</gallery>
 
 
 
 
{{top}}
 
 
{{updated|18}}
[[Category:Karellen]]
[[Category:File sharing]]

Revision as of 07:17, 17 October 2020

Home icon grey.png   ▶ File sharing ▶ SMB

Return to:

Introduction

Windows File Sharing, aka Server Message Block (SMB), is the standard client-server protocol used by Windows to share resources over a network. SMB is available on all Windows computers and can be easily setup by the home user. SMB can also be accessed by other operating systems, which makes SMB the most commonly used network protocol to access content on a NAS or other remote hardware.

Note: SMB v1 is not supported in Kodi. SMB v2 or higher must be used.

This page will detail how to add a network source to Kodi using SMB. It assumes you have already correctly set up your SMB network. If you have not set up your SMB network, a Google search will return numerous online guides. The following links may help also.


Method

SMB (remote or network) server locations can be accessed with either of the following methods:

IP address
If using the IP Address method, ensure you reserve a DHCP address (static IP) for your NAS or other hardware. This ensures that your router will always allocate the same IP address to the server. If you choose not to do this, then you may find that the router has allocated a different address to your NAS and Kodi will no longer be able to access the media files.
To reserve a static IP address, log into your router and add the MAC address of the hardware to the Reservation list in your Router. If you do not know the MAC address, you should see it in the list of connected clients.
Device Name
If using Windows PC's you can use the Device Name of the PC.
The Device Name can be found in Settings > System > About on your Windows PC.


Adding Remote Sources

The images will guide you through the process of adding an SMB Source to Kodi.

Depending on which method you have chosen to use, choose either Step 4 or Step 5, not both

Note: SMB v2 and later does not support Browse. You must type the folder name in steps 4.2 or 5.2 below.




Return to top