Author Topic: SAMBA Setup Help [SOLVED]  (Read 2668 times)

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
SAMBA Setup Help [SOLVED]
« on: August 11, 2015, 08:52:53 pm »
Hello,

I really need some help with setting up a share folder with SAMBA that I can access with my Windows 10 computer.

So, I thought I had everything setup ok, but apparently I am getting an error that isn't really an error because it gives no information whatsoever.

I have included a step by step of what I have with photos. (Excuse my old laptop with the cracked screen, I am using it for a movie database).

Spoiler (click here to view / hide)
[close]



-->
[close]

Thank you to all that could help!

EDIT: Removed some photos and added copied text.
« Last Edit: August 12, 2015, 03:32:40 pm by Kolton »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: SAMBA Setup Help
« Reply #1 on: August 11, 2015, 10:29:12 pm »
Hi Kolton, how's it going?  We are no longer accepting terminal screenshots as feedback unless there is no other option.  The links to screenshots are too often removed or broken.  This renders the whole thread useless for future inquiries and a complete waste of time for the devs helping out.  Could you please rerun the terminal commands?  It is very easy to copy and paste the outputs into the forum editor.  You can do this by highlighting the area to be copied by holding down the left mouse button while dragging the mouse.  Use the copy function on the right mouse click.  Paste the contents into the forum editor using the paste function on the right mouse click.  To preserve the original format, please make sure you encapsulate the outputs with the, # Insert Code function.  This is located above the  :-[ Embarrassed emoticon in the forum editor.  For extra long outputs, you may use the Sp Spoiler function instead.  This is located above the  :'( Cry emoticon in the forum editor.  To post the outputs from text files, you may use the, Insert Quote function.  This is located above the :-X Lips Sealed emoticon in the forum editor.  The appropriate adjustments must to be made before we can proceed with the thread.  Many thanks for your understanding  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
Re: SAMBA Setup Help
« Reply #2 on: August 11, 2015, 10:43:43 pm »
No I can't because it's on another computer. Hence the photos.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: SAMBA Setup Help
« Reply #3 on: August 12, 2015, 01:02:22 am »
Try installing the GUI front end for samba, and use that to configure the share .. open a terminal and run:
Code: [Select]
sudo apt-get install system-config-sambathen in the main menu go to:-

menu > System Tools > Samba

and use it to configure your share (click the + button) .. be sure to select "Allow access to anyone" or to add your Windows account login details.



If you're still having problems, please post the contents of:
Code: [Select]
gedit /etc/samba/smb.conf

Quote
No I can't because it's on another computer. Hence the photos.

Please be aware that AndyInMokum is just following my request to not accept images of terminal output unless 100% necessary, too many people were deleting the images where they were hosted once their problem was solved without considering that rendered the entire topic (and therefore any time spent by responders) a waste of time to future searchers .. could you not have copied the output to a text file then transfered the file to your other PC ?
« Last Edit: August 12, 2015, 01:13:06 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
Re: SAMBA Setup Help
« Reply #4 on: August 12, 2015, 10:50:56 am »
Hey,

Sorry for the delayed response. I am using the GUI for SAMBA and I will get that command output to you when I get home after work.

Thanks!

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
Re: SAMBA Setup Help
« Reply #5 on: August 12, 2015, 01:59:51 pm »
Alright, I have setup TeamViewer to help out with some things.

Here is the smb.conf file:

Spoiler (click here to view / hide)
[close]

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: SAMBA Setup Help
« Reply #6 on: August 12, 2015, 02:27:20 pm »
Where did that smb.conf come from.

If I were you I'd just purge/reinstall samba (and it's config file) .. so it's back to defalts .. then use the GUI to set a share(s)
Code: [Select]
sudo apt-get purge samba samba-common system-config-sambathen
Code: [Select]
sudo rm -rf /etc/samba/ /etc/default/sambathen
Code: [Select]
sudo apt-get install samba samba-common system-config-samba
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
Re: SAMBA Setup Help
« Reply #7 on: August 12, 2015, 02:55:39 pm »
So, I can access it now from my other computer, but I can't write anything to the folder..

I get not enough permissions.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: SAMBA Setup Help
« Reply #8 on: August 12, 2015, 03:06:38 pm »
Where is the share ? .. /media/samba ?

and what's the output from:
Code: [Select]
whoamiand
Code: [Select]
mount
« Last Edit: August 12, 2015, 03:08:17 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
Re: SAMBA Setup Help
« Reply #9 on: August 12, 2015, 03:20:29 pm »
The share is literally  (root)media/samba/

And here is the output for each command:

Spoiler (click here to view / hide)
[close]

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: SAMBA Setup Help
« Reply #10 on: August 12, 2015, 03:29:10 pm »
One method would be to give everyone read/write/execute permissions for that directory:
Code: [Select]
sudo chmod 777 /media/samba
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Kolton

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Six
Re: SAMBA Setup Help
« Reply #11 on: August 12, 2015, 03:32:19 pm »
It worked! Huzzah!

Thank you so much. I wish I could buy you a coffee :D