WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Access to shared folder (SMB)  (Read 1426 times)

AMDXP

  • Guest
Access to shared folder (SMB)
« on: July 05, 2021, 02:53:37 AM »
Hello, I have a shared folder on my MacBook, how to access this folder on Tiny Core Linux? there is any extensions or app that I should install on TCL?
Thank you  :)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
Re: Access to shared folder (SMB)
« Reply #1 on: July 05, 2021, 03:12:12 AM »
You could mount the smb share using the cifs-utils extension

AMDXP

  • Guest
Re: Access to shared folder (SMB)
« Reply #2 on: July 05, 2021, 03:14:36 AM »
Thank you so much  :)

AMDXP

  • Guest
Re: Access to shared folder (SMB)
« Reply #3 on: July 07, 2021, 01:32:24 PM »
Hello again!
I tried cifs-utils it detect SMB share very well but I don't find a man file for more details to how to set up!!
I try mkdir /mnt/share to mount smb drive, but don't find help file for how to save username and password and how to mount at startup.   ::)
I also try to search the Wiki but I see an error: permission denied!
Thank you

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: Access to shared folder (SMB)
« Reply #4 on: July 07, 2021, 01:42:07 PM »
Hi AMDXP
A mirror to the Wiki can be found here:
https://www.linuxsecrets.com/tinycorelinux-wiki/wiki:start.html

AMDXP

  • Guest
Re: Access to shared folder (SMB)
« Reply #5 on: July 07, 2021, 01:58:50 PM »
Hi Rich!
Thank you so much  :)

Offline patrikg

  • Sr. Member
  • ****
  • Posts: 409
Re: Access to shared folder (SMB)
« Reply #6 on: July 08, 2021, 12:43:55 AM »


Code: (bash) [Select]
mount -t cifs //servername/sharename /media/windowsshare -o username=msusername,password=mspassword,iocharset=utf8,sec=ntlm,uid=msusername  0  0
If you want the drive mounted at boot, add a mount command to /opt/bootlocal.sh.

AMDXP

  • Guest
Re: Access to shared folder (SMB)
« Reply #7 on: July 08, 2021, 04:02:53 AM »
I try to edit this file but there is not any editor in terminal like nano!!  :-\ can I edit this with built-in Editor?
Thank you so much!

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 628
Re: Access to shared folder (SMB)
« Reply #8 on: July 08, 2021, 04:18:28 AM »
Hi AMDXP!

Built in editor is vi. If You never used it before it may be a little bit confusing, and before using it You probably need to read some manuals. If You want I can describe the very basic set of commands and say a few words about its modus operandi.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: Access to shared folder (SMB)
« Reply #9 on: July 08, 2021, 04:22:17 AM »
Hi AMDXP
If you are running a GUI, there is an editor called  editor.