Author Topic: Samba Setup PCLinuxOS 2011.6 KDE  (Read 7408 times)

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12490
Samba Setup PCLinuxOS 2011.6 KDE
« on: June 28, 2011, 01:40:42 AM »
This tutorial will walk you through setting up a simple shared folder
in your home directory.

Open Dolphin
Create a new Folder called Shared in your home directory
Right click on the Shared Folder
Click on Properties
Click on Permissions
Click on Advanced
Check all 6 boxes
Click OK
Click OK



Open Synaptic
Click Reload to get a current file list
Click on Search
Type in task-samba
Right click on the task-samba
Mark for installation
Click Apply
Close out Synaptic after transaction is complete



Open Configure Your Computer (PCLinuxOS Control Center)
Click on Network Sharing
Click on Share drives and directories with Windows (SMB) System

The Wizard will start.
Select Standalone - standalone server
Click OK



Workgroup type mshome
Netbios name type samba-server
Click OK



Security Mode - Select Share
Host Allow - type 192.168.1.  (Please note all of my network computers use 192.168.x.x)
Click OK.



Server Banner
Click OK



Samba Log
Click OK



Final Satus Wizard page
Click OK



Congrats you the Wizard has configured your Samba Server
Click OK



File Share Tab
Click on Modify
Click on Open
Select the Shared folder you setup earlier
Click OK

Add Yes to Public, Writable , Browseable
Click OK



Click on Samba Users Tab
Click on Add
Select Nobody
Leave the password field blank
Click OK




Click on the Samba Server Menu Item next to File
Select Reload
Select Restart
Click OK



While still in the Control Center go to System -> Manage System Services
Scroll down to SMB
It should show as running
Check the box to On Boot
Click OK



You can now close out the PCLinuxOS Control Center.

To test copy some files into the Shared folder.
Go to another computer on the network (sorry no Windows here)
Open the Konqueror File Manager from the menu -> File Tools
In the URL bar type smb://samba-server/homes
There is your shared folder with files! \O/

For Dolphin Click on Network
Click on Samba Shares
Click on mshome
Click again on Samba-Server
Click one more time - on Homes
There is your shared folder with files! \O/

Holy crap you did it!
« Last Edit: June 28, 2011, 02:43:57 AM by Texstar »

Thanks to everyone who donates. You keep the servers running.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #1 on: June 28, 2011, 12:54:08 PM »
Texstar,  May I use this in the HowTo section of the knowledge base?

Thanks YouCanToo




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #2 on: June 28, 2011, 01:30:02 PM »
Looks like a good topic for the Mag!
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12490
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #3 on: June 29, 2011, 10:54:25 AM »
You can do what you want with it. I'm not an expert with Samba but the above worked for me for my internal network and gives me a folder I can copy, read and write to.

Tex

Thanks to everyone who donates. You keep the servers running.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #4 on: June 29, 2011, 01:43:55 PM »
Thank you!




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline plankton172

  • Full Member
  • ***
  • Posts: 138
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #5 on: June 29, 2011, 06:42:22 PM »
Hi there,

I did the above setup on a fresh install of PCLinuxOS KDE 2011.06. The machine is 9-year old and has a Pentium 4 cpu with 1GB of DDR1 RAM. It's connected to a DLink DIR-600 router which a newer machine with a fully-updated PCLinuxOS KDE 2010.12 is also connected. The problem I encountered is, from the newer machine which wants to access the shared folder on the old PC...

< Using Dolphin >

Click on Samba Shares ---> OK
Click on mshome ---> OK
Click again on Samba-Server ---> OK
Click one more time - on Homes ---> at this point, the message "The file or folder smb://samba-server/homes does not exist" appears at the bottom of Dolphin.

Is there anything I should setup / install on the computer which is attempting to open the shared folder?
[Nettop] MSI E350IA-E45 • AMD Zacate-FT1 APU • 4GB DDR3 • Crucial M4 128GB SSD • PCLOS 2012.02 KDE
[Netbook] Asus eee pc 1015PX • Intel Atom N570 • 2GB DDR3 • WD Blue 500GB • PCLOS 2012.08 KDE
[Desktop] AMD Athlon II X3 • 4GB DDR3 • Crucial M4 128GB SSD + Seagate 500GB HDD • PCLOS 2012.08 KDE

Offline parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4439
  • The truth is out there ... PCLinuxOS!
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #6 on: June 30, 2011, 09:34:24 AM »
Looks like a good topic for the Mag!

Joble, old buddy! Thanks for volunteering to write it up!  ;D :D ;D

parnote
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #7 on: June 30, 2011, 09:38:35 AM »
ROFL!  Hmmmmm...... Looks like I stepped in that one.  Good thing it's a three day weekend.   ;D
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #8 on: June 30, 2011, 08:25:39 PM »
i did those steps last week because for some reason the samba section in kde control center is not working for my user, only for root

is that normal?
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline desmolinux

  • Full Member
  • ***
  • Posts: 128
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #9 on: July 12, 2011, 11:31:58 AM »
Quote
< Using Dolphin >

Click on Samba Shares ---> OK
Click on mshome ---> OK
Click again on Samba-Server ---> OK
Click one more time - on Homes ---> at this point, the message "The file or folder smb://samba-server/homes does not exist" appears at the bottom of Dolphin.

Is there anything I should setup / install on the computer which is attempting to open the shared folder?

I have the same problem, what can we do?
Thanks.

Offline Mac

  • Full Member
  • ***
  • Posts: 197
  • Boldly going where most geeks have gone before!
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #10 on: July 14, 2011, 09:12:25 PM »
Works great, thanks a lot Tex =)

Toshiba Satellite A305D

Offline erripe

  • Full Member
  • ***
  • Posts: 69
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #11 on: July 21, 2011, 01:40:52 PM »
Hi there,

I did the above setup on a fresh install of PCLinuxOS KDE 2011.06. The machine is 9-year old and has a Pentium 4 cpu with 1GB of DDR1 RAM. It's connected to a DLink DIR-600 router which a newer machine with a fully-updated PCLinuxOS KDE 2010.12 is also connected. The problem I encountered is, from the newer machine which wants to access the shared folder on the old PC...

< Using Dolphin >

Click on Samba Shares ---> OK
Click on mshome ---> OK
Click again on Samba-Server ---> OK
Click one more time - on Homes ---> at this point, the message "The file or folder smb://samba-server/homes does not exist" appears at the bottom of Dolphin.

Is there anything I should setup / install on the computer which is attempting to open the shared folder?

I have the same problem. I can ping computers by IP adress but not by hostname.   ???

Online muungwana

  • Hero Member
  • *****
  • Posts: 6209
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #12 on: July 21, 2011, 02:48:38 PM »
i did those steps last week because for some reason the samba section in kde control center is not working for my user, only for root

is that normal?

it is normal, setting up samba is a system wide setup and only a user with root's privileges should be allowed to do that.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #13 on: July 21, 2011, 04:24:03 PM »
i remember that you could press a button to do as root those steps without loggin in as root
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: Samba Setup PCLinuxOS 2011.6 KDE
« Reply #14 on: July 22, 2011, 08:09:57 AM »
Isn't the samba install part via PCC? That is root, rt?
I got the same error, but didn't play with it much. Would like to get it going though.
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho