File Sharing

From PCLinuxOSHelp Knowledge Base
Jump to: navigation, search

File sharing using Samba

If you are not using a mix of Linux and Windows systems on your network, it is far easier to use NFS for sharing. See our HowTo on NSF File Sharing.

1. Launch PCC (PCLinuxOS Control Center) from the panel.
2. Select Network & Internet, then Manage Hosts Definitions. By default, will show an IP Address of, and a hostname of localhost. Double-click on the line with, or click on it and select Modify on the right.
3. Leave the IP Address bit alone, but where it says Host Name, change it to something you would like your computer name to be seen as on the Network such as pclinuxuser (a distinctive name). This is what it will show up as on the network when connected and sharing with other PCs. Then, when you've done that.
4. Write "localhost" in the line below, where it says "host aliases". Click OK, and now you will see your PC with it's new name, and localhost off to the right. Click OK at the bottom and close to go back to the PCLOS Control Center again.
5. In PCC On the left hand side again, choose Network Sharing from the top, then Share drive and directories with Windows (SMB) Systems. If Samba is not already installed it will prompt you to install it. Next, it will walk you thru the config. choose Standalone (Unless you need working with a Domain), and click next.
6. Now, you need to select the Workgroup name. All the PCs in the network must share the same workgroup to see each other properly. By default, Microsoft OS's usually choose either MSHOME or WORKGROUP as the workgroup, so if you are planning to connect with Windows PCs, this is where to change it. If all the PCs are just running PCLOS,the default of MDKGROUP should suffice.
7. The line under that says NetbiosName, and you can either add your PC's name (eg. pclinuxuser) there, or change it to something else you might want it seen as on the network, or, since we've already named it previously, you can just leave it blank, and it should default to the name you gave it previously.
8. Now, You can click next all the rest of the way thru this, till it's done. And you'll be told you've "Successfully Configured your Samba Server", at this point you can click Finish, leaving you back at the PCLOS Control Center.
9. In the PCLOS Control Center go to Local disks, and select Share your Hard disk partitions. Here it will ask how you how you want to setup allow users to share directories. You can set it so no-one can share, allow everyone, or Custom (allowing you to setup custom permissions, as to who can share, and what).For a simple home-network, choose "Allow all users", hit OK at the bottom right, and making sure SMB is selected, then hit OK again. You'll find yourself back in PCLOS Control Center (again).
10. Now that the Samba server is set up, and configured you need to define our "shares". you can either set up shares thru the Control Center, under Manage Configuration of Samba, or use the "right-click" option when clicking on folders, and choosing "Share", but this second option will only work for folders in your /HOME/USERNAME directory.
11. In PCLOS Control Center -> sharing, select Manage Samba shares. If you chose "Allow all users" then you won't need to create any users, it's all straight-forward. You can add/remove/modify shares that you would like to share and add/remove write/read permissions, allow/deny access to users. To add more shares, repeat with any other folders/partitions you wish to share. Once done, click OK to finish and come back to PCC.
12. Now back in PCC, click System and "Manage system by enabling and disabling services". Check SMB is marked as running, and make sure now has a check in box to start at boot. Now stop and start the SMB service listed there to see your shares over the Network.


A guy by the name of Mark posted the following ...

Transfer files between computers using SSH and Dolphin (Easy!) « on: February 13, 2011, 12:51:23 AM »

1. In Dolphin, Right click an empty spot on the "Places" sidebar and click "Add Entry..."

2. Give the place a name in the "Label" box

3. In the location box, type fish://user@ipaddress where "user" is the a username on the remote machine and "ipaddress" is that machine's ip address (ex:

4. Click Ok - Done!

You can now user that computer like any other external drive or folder in Dolphin.

This is SO simple and works 100% and is exactly what I was looking for - Thank you Mark!!!

Posted by Ianw 2014 Mar 02