Amarok/Manual/Organization/Collection/RemoteCollections/Samba: Difference between revisions

From KDE UserBase Wiki
(Can't use relative links with translate system + needs anchor)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Amarok]]
<languages/>
{{Construction}}
<translate>
===== Samba ===== <!--T:1-->


== Samba ==
<!--T:2-->
'''Samba''' is a free implementation of the ''SMB/CIFS'' protocol which is used to share files and printers in a network. Most modern file managers like '''Dolphin''' and '''Nautilus''' support this protocol.


'''Samba''' is a free implementation of the ''SMB/CIFS'' protocol which is used to share files and printers in a network. Most modern file managers like '''Dolphin''' and '''Nautilus''' support this protocol.
</translate><span id="Client"></span><translate>


=== Client ===
===== Client ===== <!--T:3-->


<!--T:4-->
You need to mount the share to use it in '''Amarok'''. To do this, you need to install the package ''smbfs''. Use the command
You need to mount the share to use it in '''Amarok'''. To do this, you need to install the package ''smbfs''. Use the command
{{Input|1=sudo mount -t cifs //'''host'''/'''share''' '''/mount-point/'''}}
{{Input|1=sudo mount -t cifs //'''host'''/'''share''' '''/mount-point/'''}}
to mount the share. After that you can use it like a local folder and add it to your local collection.
to mount the share. After that you can use it like a local folder and add it to your local collection.


=== Server ===
===== Server ===== <!--T:5-->


<!--T:6-->
The easiest way is to use your file manager. On '''Debian'''-based distributions like '''Ubuntu''' you can install a '''Dolphin''' extension to manage shares using
The easiest way is to use your file manager. On '''Debian'''-based distributions like '''Ubuntu''' you can install a '''Dolphin''' extension to manage shares using
{{Input|1=sudo apt-get install kdenetwork-filesharing}}  
{{Input|1=sudo apt-get install kdenetwork-filesharing}}  
Open the properties of a folder in '''Dolphin''' and switch to the <menuchoice>Share</menuchoice> tab.<br />
Open the properties of a folder in '''Dolphin''' and switch to the <menuchoice>Share</menuchoice> tab.
<br />
 
[[File:remotecollections_samba_server.png]]<br />
<!--T:17-->
<br />
[[File:Amarok_2.8_Remotecollections_samba_server.png|center|400px]]
After clicking at <menuchoice>Configure File Sharing...</menuchoice> the configuration dialogs is opened.<br />
 
<br />
<!--T:18-->
[[File:remotecollections_samba_server1.png|600px]]<br />
To share the folder, just check the <menuchoice>Share with Samba (Microsoft Windows)</menuchoice> field and set the share name under the <menuchoice>Name</menuchoice> field. Check the <menuchoice>Allow Guests</menuchoice> checkbox to allow anonymous users access to the folder.
<br />
 
Change the settings to <menuchoice>Advanced Sharing</menuchoice> and the <menuchoice>Allowed Users</menuchoice> to <menuchoice>Allow all users to share folders</menuchoice>.<br />
<!--T:19-->
<br />
[[File:Amarok_2.8_Remotecollections_samba_server1.png|400px|center|]]
[[File:remotecollections_samba_server2.png]]<br />
 
<br />
<!--T:20-->
Then you can add the folder to the shares. Click at <menuchoice>Add...</menuchoice> and share the desired folder with '''Samba'''.<br />
The folder should now be accessible to the network. Please see the [[Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/Samba#Client|Client section]] for details on how to use it in '''Amarok'''.
<br />
 
[[File:remotecollections_samba_server3.png]]
<!--T:15-->
{{Prevnext2
| prevpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/DAAP | nextpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/UPnP
| prevtext=DAAP | nexttext=UPnP
| index=Special:myLanguage/Amarok/Manual | indextext=Back to Menu
}}
 
<!--T:21-->
[[Category:Amarok2.8]]
[[Category:Multimedia]]
[[Category:Tutorials]]
</translate>

Latest revision as of 11:30, 30 July 2013

Other languages:
Samba

Samba is a free implementation of the SMB/CIFS protocol which is used to share files and printers in a network. Most modern file managers like Dolphin and Nautilus support this protocol.

Client

You need to mount the share to use it in Amarok. To do this, you need to install the package smbfs. Use the command

sudo mount -t cifs //host/share /mount-point/

to mount the share. After that you can use it like a local folder and add it to your local collection.

Server

The easiest way is to use your file manager. On Debian-based distributions like Ubuntu you can install a Dolphin extension to manage shares using

sudo apt-get install kdenetwork-filesharing

Open the properties of a folder in Dolphin and switch to the Share tab.

To share the folder, just check the Share with Samba (Microsoft Windows) field and set the share name under the Name field. Check the Allow Guests checkbox to allow anonymous users access to the folder.

The folder should now be accessible to the network. Please see the Client section for details on how to use it in Amarok.