Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline Daedalus

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 893
    • Show only replies by Daedalus
    • http://www.robthenerd.com
Re: Samba and SMBFS...
« Reply #14 from previous page: February 09, 2011, 04:44:40 PM »
Shameless plug here, but you could try my little GUI for SMBFS (Aminet clicky!)... It runs as a commodity, tracks your shares and allows you to mount and dismount them at a click. It doesn't use encryption and passwords are plain to see when you configure it, so it's not for the security-conscious, but it might make things a little easier for you.

I use it all the time and it works great for me, but I use it on OS4 with Roadshow. From my OS3.9 days though, I found that AmiTCP/Genesis to be faster for Samba transfers and general use. Miami of course was much more flexible and so was my only option when connection to some unusual networks.
Engineers do it with precision
--
http://www.robthenerd.com
 

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4054
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Samba and SMBFS...
« Reply #15 on: February 09, 2011, 04:50:30 PM »
Should work fine on MoprhOS as well im guessing?
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline Daedalus

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 893
    • Show only replies by Daedalus
    • http://www.robthenerd.com
Re: Samba and SMBFS...
« Reply #16 on: February 09, 2011, 06:15:30 PM »
@JJ
I haven't tried it myself (no MorphOS box) - apparently there's a null pointer somewhere which OS3 and 4 are happy to ignore but MorphOS gives out about, but I haven't been able to find it and it works fine apart from that... Let me know if it works for you! :)
Engineers do it with precision
--
http://www.robthenerd.com
 

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4054
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Samba and SMBFS...
« Reply #17 on: February 10, 2011, 10:11:00 AM »
Will try and give it a whril over the weekend
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline Tempest

  • Sr. Member
  • ****
  • Join Date: Aug 2004
  • Posts: 290
    • Show only replies by Tempest
Re: Samba and SMBFS...
« Reply #18 on: February 10, 2011, 11:14:58 AM »
I'm using SMB-Connect to mount SMB shares, works very well.

Wow, I didn't realise that stackattack gives every process 32k stack. I just checked it with Scout and indeed every process started after stackattack auto has a stack of 32k, what a waste, needless to say I removed it.
 

Offline olsen

Re: Samba and SMBFS...
« Reply #19 on: February 10, 2011, 08:07:20 PM »
Quote from: flaviosr;614107
Bad news (for me)... I made more tests and SMBFS hangs also when launched from CLI but not so often when lauched with a script!


Well, at least there's some consistency now. I'd be mighty surprised if the thing worked one way or not the other. From what I know, this sort of thing either works, or it doesn't, regardless of where or when you launch it.

Quote

I tried with IP address instead than name but I had no results!


Ouch. Does the server you want to connect to have a regular name? If so, does the server's own name, as reported by Samba, match it?

Quote

I tried passing from SMBFS 1.74 to the older 1.66 but again no results.


Generally, the newer versions have drastically fewer bugs and show less wacky and unpredictable behaviour. I recommend you try the newer version.

Quote

If I use device and service together the Amiga hangs immediately!!!
When I launch a script nothing happens... but if I open a CLI and try to "enter" the new device I receive a memory error!!! :-o
I am using a standard 18 Mb A4000T, could it be not powerful enough?


Honestly, this sounds rather bizarre. Does your Amiga crash or lock up in connection with the TCP/IP stack, or does it take smbfs to make trouble?

When did you last test your system's memory? Easy way to make a memory test: copy data from your hard disk into RAM-Disk until either RAM-Disk fills up, or your system crashes. If your system crashes before it fills up, you might want to see to those SIMMs.

Quote

Another question: are you using Miami or Genesis?


Um, neither :)

Quote

Which is better?


Depends upon what you're doing. Miami tends to be slower than Genesis. But Miami's GUI may arguably be a better design.
 

Offline flaviosrTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 321
    • Show only replies by flaviosr
    • http://www.facebook.com/flaviosr
Re: Samba and SMBFS...
« Reply #20 on: February 20, 2011, 06:54:32 PM »
Quote from: olsen;614693
Well, at least there's some consistency now. I'd be mighty surprised if the thing worked one way or not the other. From what I know, this sort of thing either works, or it doesn't, regardless of where or when you launch it.



Ouch. Does the server you want to connect to have a regular name? If so, does the server's own name, as reported by Samba, match it?

This is correct... and the problem is that NOT ALWAYS I have problems...


Quote from: olsen;614693
Generally, the newer versions have drastically fewer bugs and show less wacky and unpredictable behaviour. I recommend you try the newer version.

You are right... I am going to pass again to the newer version (I want to add anyway that I cannot use Picasso96 rev "c" and I have to use rev "b"!!! :-) ...)


Quote from: olsen;614693
Honestly, this sounds rather bizarre. Does your Amiga crash or lock up in connection with the TCP/IP stack, or does it take smbfs to make trouble?

Imagine how I feel!!! :(((
The Amiga lock up... never crashed...
I tried different amounts of stack but I notice no differences...

Quote from: olsen;614693
When did you last test your system's memory? Easy way to make a memory test: copy data from your hard disk into RAM-Disk until either RAM-Disk fills up, or your system crashes. If your system crashes before it fills up, you might want to see to those SIMMs.

I will try but I have the same problem in two different Amigas... :(


Quote from: olsen;614693
Depends upon what you're doing. Miami tends to be slower than Genesis. But Miami's GUI may arguably be a better design.

I am thinking about the Amiga that I am using for tests... a "poor" A4000T with 68040@25... could it be that it needs time for the Amiga to be "connected" to my intranet? For example, even with fast PC, it takes a bit of time before other PCs are seen... perhaps simply the Amiga hangs instead than waiting for the connection to be extablished.

I am going to test the memory (always a good thing) and trying also Genesis that you tell it's faster... and also waiting for some time before asking for a connection...

Other suggestions?
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 nicholas

Re: Samba and SMBFS...
« Reply #21 on: February 20, 2011, 07:05:17 PM »
Quote from: Tempest;614604
I'm using SMB-Connect to mount SMB shares, works very well.

Wow, I didn't realise that stackattack gives every process 32k stack. I just checked it with Scout and indeed every process started after stackattack auto has a stack of 32k, what a waste, needless to say I removed it.


Is that Stackattack2 you are using?
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Tempest

  • Sr. Member
  • ****
  • Join Date: Aug 2004
  • Posts: 290
    • Show only replies by Tempest
Re: Samba and SMBFS...
« Reply #22 on: February 20, 2011, 07:09:55 PM »
Quote from: nicholas;616771
Is that Stackattack2 you are using?


It was indeed Stackattack2 I was using.
 

Offline olsen

Re: Samba and SMBFS...
« Reply #23 on: February 21, 2011, 01:01:51 PM »
Quote from: flaviosr;616770
I am thinking about the Amiga that I am using for tests... a "poor" A4000T with 68040@25... could it be that it needs time for the Amiga to be "connected" to my intranet? For example, even with fast PC, it takes a bit of time before other PCs are seen... perhaps simply the Amiga hangs instead than waiting for the connection to be extablished.


No, this isn't likely. The reason why the servers do not appear instantly is because they report their status at irregular intervals, and this information is collected and resent at irregular intervals, too, by the server which assumed responsibility for the network.

This is not a matter of speed or anything.

When you tell smbfs to connect to a server, it will first try to resolve the name of the server through a DNS (domain name system) lookup. If you do not run a local DNS server, then this lookup will probably fail. After it has failed, smbfs will repeat the lookup, but this time use a different query method which should work within the Samba/Windows network domain. This can fail, too, if the TCP/IP stack swallows the query packet sent.

What you see is probably the DNS lookup timing out and the second query attempt not always working.

Quote

I am going to test the memory (always a good thing) and trying also Genesis that you tell it's faster... and also waiting for some time before asking for a connection...

Other suggestions?


Here's what I used to do: I set the IP address of the Samba (or Windows) server to a fixed number and then edited the Amiga's host name database to map it to a predefined name. In AmiTCP that database is a file called "AmiTCP:db/hosts", and I think you can manually edit the database in Miami.

Anyway, you'd put the fixed IP address there and the name of the server you picked. To access the server thruough smbfs, you'd use thsi predefined server name you added to the hosts database. This has the effect of the DNS lookup always succeeding.