Welcome, Guest. Please login or register.

Author Topic: Samba and SMBFS...  (Read 6178 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline doctorq

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Samba and SMBFS...
« on: February 06, 2011, 09:56:08 PM »
I'm mounting SMBFS shares fine through scripts, so can you give an example of your script that doesn't work?

FYI, you actually don't need Samba installed for using SMBFS.

As for stopping a share, RTFM. Write Status in CLI to see which process you have to break, and then write Break to break the connection.
 

Offline doctorq

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Samba and SMBFS...
« Reply #1 on: February 07, 2011, 07:16:14 PM »
I can't tell you were you are going wrong, but for me, it works by either starting the script from an icon or starting the script from CLI.

I always use Run >NIL: to start it, as I don't want to have 4 open windows telling me the same thing, for the 4 shares I usually mount. If I really need to disconnect one of the drives, I use the break command instead.

I have the following text in one of my script files.

Run >NIL: C:SMBFS Workgroup=MSHOME User=PCGuest Service=//Desktop/Amiga Device=Amiga_SHARE: volume="Amiga on Desktop"

I use StackAttack, so the stack size is taken care of automatically. I use version 1.66 of SMBFS.
 

Offline doctorq

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Samba and SMBFS...
« Reply #2 on: February 07, 2011, 07:28:35 PM »
And yet, I still have more than 200 MB free fast ram left, so I can live with it :-)
 

Offline doctorq

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Samba and SMBFS...
« Reply #3 on: February 07, 2011, 10:25:44 PM »
Quote from: motorollin;613617
But it's the principle!


Again, four chunks of 32k really can't piss me off.