Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: flaviosr on August 24, 2007, 12:32:36 AM

Title: Amiga & samba
Post by: flaviosr on August 24, 2007, 12:32:36 AM
Hi,

ok, I have configured my Amigas to use samba and everything is ok! :-) I can see everything from everywhere (Windoz, OS3.5, OS3.9, Linux in a NAS)...
My only problem is that I cannot "mount" more than one unit at a time from Amiga! I launch "RUN >NIL: SMBFS..." the first time and I connect... the second time I get an error...
Can anybody help?
If is it really not possible to make more than one connection at a time, how can I unmount the previous unit to mount a new one?

Ciao and thanx
Title: Re: Amiga & samba
Post by: Roj on August 24, 2007, 12:36:26 AM
Sounds like you have a duplicate volume or device name.
Title: Re: Amiga & samba
Post by: flaviosr on August 24, 2007, 12:01:29 PM
Quote

Roj wrote:
Sounds like you have a duplicate volume or device name.


No...
The sintax is:
smbfs Volume=[volume] workgroup=[workgroup] user=[user] password=[password] service=[complete directory path from //]
In my case only workgroup is the same... :(((
But it gives me error...
Title: Re: Amiga & samba
Post by: oleimann on August 24, 2007, 01:47:31 PM
Since you run it in the background - as long as one instance is running and using TCP/IP listening ports, a second time will not work, since only one application instance can have a listener port open at the same time.

You would have to run the command somehow with both shares in the commandline (if it supports it).
Title: Re: Amiga & samba
Post by: Piru on August 24, 2007, 02:10:58 PM
@oleimann
Quote
Since you run it in the background - as long as one instance is running and using TCP/IP listening ports, a second time will not work, since only one application instance can have a listener port open at the same time.

You would have to run the command somehow with both shares in the commandline (if it supports it).

Why would smbfs be listening for incoming connections?

I've successfully had 3 mounts mounted at the same time, using separate smbfs instances.
Title: Re: Amiga & samba
Post by: rdolores on August 24, 2007, 02:18:05 PM
I have successfully mounted multiple SMBFS volumes on my Amigas. This is my script:

run >nil: SMBFS Volume="HDrive" Workgroup=workgroup User=user Password=password Service=//server/share

Perhaps you need to add the "run >nil:" before the actual command.
Title: Re: Amiga & samba
Post by: flaviosr on August 24, 2007, 05:25:44 PM
Quote

rdolores wrote:
I have successfully mounted multiple SMBFS volumes on my Amigas. This is my script:

run >nil: SMBFS Volume="HDrive" Workgroup=workgroup User=user Password=password Service=//server/share

Perhaps you need to add the "run >nil:" before the actual command.


Yes... I run it with "RUN >NIL:"... mmm... very strange...
I cannot understand why...
Which versions are you using of the various samba packages?
Now I cannot remember the smbfs version but the two samba packages are the latest ones (as fas as I know), 2.2.5.
Title: Re: Amiga & samba
Post by: Piru on August 24, 2007, 05:31:52 PM
I don't use samba at all, just smbfs.
Title: Re: Amiga & samba
Post by: dfreniche on August 27, 2007, 02:29:27 PM
Running Samba on my Amiga doen't make sense (at least, for me). I'd rather prefer to mount a couple of 20GB shares using smbfs. It's easier than hard mounting a couple of HDs inside my A1200D's case :-)
Title: Re: Amiga & samba
Post by: rdolores on August 27, 2007, 02:58:44 PM
I also use Samba 2.2.5. I'm not sure about the version of SMBFS I use, but it is dated 11-Jun-04.
Title: Re: Amiga & samba
Post by: flaviosr on August 28, 2007, 12:09:49 AM
Quote

Piru wrote:
I don't use samba at all, just smbfs.


mumble, mumble... you mean you can "see" other PC without samba installed and configured? Only using smbfs?
But... in this case other PC could not see the Amigas, right?
Title: Re: Amiga & samba
Post by: Piru on August 28, 2007, 12:19:10 AM
@flaviosr
Quote
you mean you can "see" other PC without samba installed and configured?

Yes. I can see the volumes I mount with smbfs.

Quote
Only using smbfs?

Correct.

Quote
in this case other PC could not see the Amigas, right?

Right. In my setup there's no need to share the local HDD (most of the data is on 1.2TB linux samba rig).
Title: Re: Amiga & samba
Post by: dfreniche on August 29, 2007, 03:01:26 PM
Quote

Right. In my setup there's no need to share the local HDD (most of the data is on 1.2TB linux samba rig).


1.2TB :-o
It's a SAN, a RAID setup or just a bunch of HD's ?
And other people talking about the utility of floppies (http://www.amiga.org/forums/showthread.php?t=31108) these days... :-)
Title: Re: Amiga & samba
Post by: Hodgkinson on August 29, 2007, 04:15:57 PM
Just to add to the conversation...

I use a 3C589D network card in my A1200 on WB3.0, with the 3C589D driver from aminet, AmiTCP, and SMBFS. That’s all I need for networking (Oh, and a few scripts to fire up SMBFS to avoid all the typing and DOPUS to allow me to work with shared drives on the network).

Hint...SMBFS doesn't run reliably with the stack size at the default setting. I think it needs to be set to the maximum allowable under WB3.0 for reliable operation (Otherwise closing it would tend to result in crashes) ... Thanks for the tip Thomas.

Btw ... This is useful ... http://www.acc.umu.se/~patrikax/amiga/guides/AmiTCP_Install/

Hodgkinson.
Title: Re: Amiga & samba
Post by: Piru on August 29, 2007, 05:01:35 PM
@dfreniche
Quote
It's a SAN, a RAID setup or just a bunch of HD's ?

Couple of HDDs.