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

From KDE UserBase Wiki
m (fix)
(Can't use relative links with translate system + needs anchor)
 
(22 intermediate revisions by 7 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.
Open the properties of a folder in '''Dolphin''' and switch to the <menuchoice>Share</menuchoice> tab.


[[File:remotecollections_samba_server.png]]
<!--T:17-->
 
[[File:Amarok_2.8_Remotecollections_samba_server.png|center|400px]]
Click <menuchoice>Configure File Sharing...</menuchoice> to open the configuration dialog.
 
[[File:remotecollections_samba_server1.png|600px]]
 
Change the settings to <menuchoice>Advanced Sharing</menuchoice> and the <menuchoice>Allowed Users</menuchoice> to <menuchoice>Allow all users to share folders</menuchoice>.
 
[[File:remotecollections_samba_server2.png]]
 
Then you can add the folder to the shares. Click at <menuchoice>Add...</menuchoice> and share the desired folder with '''Samba'''.


[[File:remotecollections_samba_server3.png]]
<!--T:18-->
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.


The folder should now be accessible to the network.
<!--T:19-->
[[File:Amarok_2.8_Remotecollections_samba_server1.png|400px|center|]]


<!--T:20-->
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'''.


<!--T:15-->
{{Prevnext2
{{Prevnext2
| prevpage=Amarok/Manual/AdvancedFeatures/RemoteCollections/DAAP | nextpage=Amarok/Manual/AdvancedFeatures/RemoteCollections/UPnP
| prevpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/DAAP | nextpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/UPnP
| prevtext=DAAP | nexttext=UPnP
| prevtext=DAAP | nexttext=UPnP
| index= Amarok/Manual | indextext=Back to Menu
| 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.