Welcome, Guest. Please login or register.

Author Topic: Amiga & samba  (Read 2573 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline flaviosrTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 321
    • Show only replies by flaviosr
    • http://www.facebook.com/flaviosr
Amiga & samba
« 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
A500 +A600 +A1000 +A1200 +CDTV
A500 +K3.0 +Viper520CD +
A1200T +K3.1 +Blizzard 603+ (240/50) +
A1200T +K3.1 +Blizzard 1240/40 +
A1200 +K3.1 +Blizzard 1230/50+CoPro +
A2000 +K3.1 +A2630 +
A3000 +K3.1 +Cyberstorm MkIII +
A4000 +K3.1 +A3630 +
A4000T +K3.1 +A3640 +
 

Offline Roj

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 361
    • Show only replies by Roj
    • http://amiga.org/modules/mylinks/visit.php?lid=247
Re: Amiga & samba
« Reply #1 on: August 24, 2007, 12:36:26 AM »
Sounds like you have a duplicate volume or device name.
I sold my Amiga for a small fortune, but a part of my soul went with it.
 

Offline flaviosrTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 321
    • Show only replies by flaviosr
    • http://www.facebook.com/flaviosr
Re: Amiga & samba
« Reply #2 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...
A500 +A600 +A1000 +A1200 +CDTV
A500 +K3.0 +Viper520CD +
A1200T +K3.1 +Blizzard 603+ (240/50) +
A1200T +K3.1 +Blizzard 1240/40 +
A1200 +K3.1 +Blizzard 1230/50+CoPro +
A2000 +K3.1 +A2630 +
A3000 +K3.1 +Cyberstorm MkIII +
A4000 +K3.1 +A3630 +
A4000T +K3.1 +A3640 +
 

Offline oleimann

  • Newbie
  • *
  • Join Date: May 2005
  • Posts: 28
    • Show only replies by oleimann
    • http://www.leimann.net/
Re: Amiga & samba
« Reply #3 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).
-- olafL
Commodore stuff I use(d): A2000 A1200 C64 [VC20]
C1541 disk drive, [C1520 plotter, Riteman C+ print]
Favorite programming tool: C64 Magazine\\\'s CMON
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga & samba
« Reply #4 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.
 

Offline rdolores

  • Full Member
  • ***
  • Join Date: Jul 2006
  • Posts: 195
    • Show only replies by rdolores
    • http://www.rdolores.com
Re: Amiga & samba
« Reply #5 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.
A1000 - 2 Floppies, 2 MB RAM, OS 1.0-1.3
A500 - 170 MB HD, 8 MB RAM, OS 1.3/2.04
A2000 - 350 MB HD, 8 MB RAM, A2630, OS 2.04
A2500 - 540 MB HD, 8 MB RAM, A2630, OS 3.9
A1200 - 20 GB HD, 64 MB RAM, Blizzard IV
Amithlon - 49 GB HD, 768 MB RAM, PIII-1G
AROS - 80 GB HD, 2 GB RAM, P4-3.2GHz
 

Offline flaviosrTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 321
    • Show only replies by flaviosr
    • http://www.facebook.com/flaviosr
Re: Amiga & samba
« Reply #6 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.
A500 +A600 +A1000 +A1200 +CDTV
A500 +K3.0 +Viper520CD +
A1200T +K3.1 +Blizzard 603+ (240/50) +
A1200T +K3.1 +Blizzard 1240/40 +
A1200 +K3.1 +Blizzard 1230/50+CoPro +
A2000 +K3.1 +A2630 +
A3000 +K3.1 +Cyberstorm MkIII +
A4000 +K3.1 +A3630 +
A4000T +K3.1 +A3640 +
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga & samba
« Reply #7 on: August 24, 2007, 05:31:52 PM »
I don't use samba at all, just smbfs.
 

Offline dfreniche

  • Jr. Member
  • **
  • Join Date: Mar 2006
  • Posts: 87
    • Show only replies by dfreniche
    • http://blog.freniche.com
Re: Amiga & samba
« Reply #8 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 :-)
A1200D(Blizzard 68030,32MB,Wifi,IdeFix,CDROM), A1200D(Apollo 68030,8MB),A600,A500
I maintain a site on everything, Amiga too (in Spanish)
Regards to all amiga fans!   :-)
 

Offline rdolores

  • Full Member
  • ***
  • Join Date: Jul 2006
  • Posts: 195
    • Show only replies by rdolores
    • http://www.rdolores.com
Re: Amiga & samba
« Reply #9 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.
A1000 - 2 Floppies, 2 MB RAM, OS 1.0-1.3
A500 - 170 MB HD, 8 MB RAM, OS 1.3/2.04
A2000 - 350 MB HD, 8 MB RAM, A2630, OS 2.04
A2500 - 540 MB HD, 8 MB RAM, A2630, OS 3.9
A1200 - 20 GB HD, 64 MB RAM, Blizzard IV
Amithlon - 49 GB HD, 768 MB RAM, PIII-1G
AROS - 80 GB HD, 2 GB RAM, P4-3.2GHz
 

Offline flaviosrTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 321
    • Show only replies by flaviosr
    • http://www.facebook.com/flaviosr
Re: Amiga & samba
« Reply #10 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?
A500 +A600 +A1000 +A1200 +CDTV
A500 +K3.0 +Viper520CD +
A1200T +K3.1 +Blizzard 603+ (240/50) +
A1200T +K3.1 +Blizzard 1240/40 +
A1200 +K3.1 +Blizzard 1230/50+CoPro +
A2000 +K3.1 +A2630 +
A3000 +K3.1 +Cyberstorm MkIII +
A4000 +K3.1 +A3630 +
A4000T +K3.1 +A3640 +
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga & samba
« Reply #11 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).
 

Offline dfreniche

  • Jr. Member
  • **
  • Join Date: Mar 2006
  • Posts: 87
    • Show only replies by dfreniche
    • http://blog.freniche.com
Re: Amiga & samba
« Reply #12 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 these days... :-)
A1200D(Blizzard 68030,32MB,Wifi,IdeFix,CDROM), A1200D(Apollo 68030,8MB),A600,A500
I maintain a site on everything, Amiga too (in Spanish)
Regards to all amiga fans!   :-)
 

Offline Hodgkinson

  • Hero Member
  • *****
  • Join Date: Apr 2006
  • Posts: 1080
    • Show only replies by Hodgkinson
    • http://www.myspace.com/em_radiation *****and ***** www.booni.info
Re: Amiga & samba
« Reply #13 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.
Main A1200D: WB3.0, 3.1 ROMs, 2GB HDD, Blizzard 1230IV (64MB RAM + FPU) and a whole load of custom heatsinks... :flame:
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga & samba
« Reply #14 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.