Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
18 crawler(s) on-line.
 155 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 pixie:  6 mins ago
 NutsAboutAmiga:  10 mins ago
 Gunnar:  20 mins ago
 zipper:  46 mins ago
 Templario:  52 mins ago
 RobertB:  1 hr 11 mins ago
 GPTNederlands:  1 hr 26 mins ago
 janelancy:  1 hr 27 mins ago
 -Sam-:  1 hr 36 mins ago
 OlafS25:  2 hrs 19 mins ago

/  Forum Index
   /  Amiga General Chat
      /  Samba (weird?) troubles...
Register To Post

Goto page ( Previous Page 1 | 2 )
PosterThread
Tuxedo 
Re: Samba (weird?) troubles...
Posted on 23-Dec-2017 22:09:10
#21 ]
Elite Member
Joined: 28-Nov-2003
Posts: 2341
From: Perugia, ITALY

@daveyw

Quote:

@Tuxedo
Have you read this? https://sambaforamigaos.wordpress.com/


Not found it before...
However I'll read it and tryed to configure Samba as described...
Honestly dont see much better results unfortunately...

I get that if try to check my samba server with smbclient:

Quote:

3.AmigaOS4_FE:> smbclient -L tuxedoamiga
added interface ip=192.168.1.145 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.5]

Sharename Type Comment
--------- ---- -------
all Disk
IPC$ IPC IPC Service (Samba 2.2.5)
ADMIN$ Disk IPC Service (Samba 2.2.5)

Server Comment
--------- -------

Workgroup Master
--------- -------



Why dont see anything in server/Workgroup?

Where I can do some mistake?

tryple checked all my installation steps.

still cant ping myself...I can ping all the network but not my onw computer...why?

EDIT:

Forgot...
NOw I can see TuxedoAmiga from Windows 7 machine and also the "all" share but if try to open //TUXEDOAMIGA/all Windows tells me that I dont have the required authorizations to open the directory...also that normal? or weird?

EDIT2:

I tryed with SolidExplorer from my Android phone and worked opening managing files from it in my AmigaOS HDDs and also my modem...
However still cant do anything from AmigaOS...

Last edited by Tuxedo on 23-Dec-2017 at 10:26 PM.
Last edited by Tuxedo on 23-Dec-2017 at 10:11 PM.

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
Tuxedo 
Re: Samba (weird?) troubles...
Posted on 23-Dec-2017 23:27:44
#22 ]
Elite Member
Joined: 28-Nov-2003
Posts: 2341
From: Perugia, ITALY

@olsen

I finally managed to mount my modem but now I've got another problem...
Cant copy from target server files bigger than about 64kb...If try to copy a bigger file I get that the fiel was in use...
Instead I can copy (slowly as you described but working) from AmigaOS to the server big files...

I tryed to change the chunck size with no luck...

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
olsen 
Re: Samba (weird?) troubles...
Posted on 24-Dec-2017 12:22:09
#23 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

@Tuxedo

Quote:

Tuxedo wrote:
@olsen

I finally managed to mount my modem but now I've got another problem...

Hm... I'm not sure I can parse that sentence properly

Quote:
Cant copy from target server files bigger than about 64kb...If try to copy a bigger file I get that the fiel was in use...
Instead I can copy (slowly as you described but working) from AmigaOS to the server big files...

Sorry, I don't understand what you are doing. Where does smbfs come into play here? Or is this in any way related to Samba? Either way, there'll be more than one easily accessible method for shooting yourself in the foot, I'm afraid

As these things go, if it fails to work in any way which even remotely resembles what you were expecting, there will either be at least half a dozen possible solutions to the underlying problems, or no solution at all.

If I remember correctly, the "65536 bytes have been transferred and now nothing is happening" problem is triggered by a combination of transmission buffer limit negotiations being ignored and an asynchronous write operation sending data in portions the size of which result in the server having to acknowledge the reception of 0 bytes, which it flunks.

If this problem is triggered by the conditions I mentioned, then the solution might be to use a different mode of transport for larger files. It really is as bad as that

Quote:
I tryed to change the chunck size with no luck...

The chunk size may not matter here, and neither would changing the transmit buffer size. Although I believe I solved that particular problem in the smbfs 1.116 version which Raziel tested last year, and which I haven't released yet.

 Status: Offline
Profile     Report this post  
olsen 
Re: Samba (weird?) troubles...
Posted on 24-Dec-2017 12:24:49
#24 ]
Cult Member
Joined: 15-Aug-2004
Posts: 774
From: Germany

@daveyw

Quote:

daveyw wrote:
@olsen

Quote:

olsen wrote:

Incidentally, I wasn't joking (more than usual) about really wanting to be able to read a certain WinWord 2.0 document file. If anybody can make that happen, so that I can file the documentation away, it might benefit the robustness of smbfs. I already tried the usual suspects (LibreOffice, etc.) but no dice. That file format seems to have died out in 2003.


I have an old Windows ME laptop with Word 2000 on it. I will try and fire it up, see if it still works.


Thank you! I just gave a relatively ancient version of Word a try which used to be current in the year 2001. It failed to read the file in question, which probably means that some version of Word available around 1993-1995 would be called for.

I wouldn't know where to start looking for such an antique and possible fire hazard, I'm afraid

And... this is where CygnusEd just came to the rescue. That particular WinWord 2.0 format file is so "old" that its contents consist almost entirely of plain ASCII text. I just managed to strip away what little binary data surrounds it, and that leaves the text in readable form. If only things were this easy more often...

In case anybody wondered: why bother with this old documentation? The official Microsoft documentation ("Common internet file system (CIFS) protocol") which covers absolutely everything is some 780 pages long (that's not a much shorter than both volumes of "Don Quixote", with all the humour taken out). The older, shorter, more incomplete documentation tends to yield answers to one's questions more easily.

Last edited by olsen on 24-Dec-2017 at 12:56 PM.

 Status: Offline
Profile     Report this post  
Tuxedo 
Re: Samba (weird?) troubles...
Posted on 24-Dec-2017 13:05:51
#25 ]
Elite Member
Joined: 28-Nov-2003
Posts: 2341
From: Perugia, ITALY

@olsen

I mean that I finally can mount and use my pendrive attached to my modem using samba and smbfs too(easly mounted via Shell or with SambaMatic).

I asked for smbfs and 64kb file tranfer since I use the mounted device with smbfs to copy files so I tought that can be a smbfs problem...
I'm noob with Samba so if I can do some other test to check where the problem is simply ask me and I try...

Too be a little more precise the "busy" file over 64kb error was reported to me by WB and Dopus5, instead Dopus4 simply copy a 0 kb file without tellling nothing...

Hope that was a bit better explanation...sorry my bad english.

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: Samba (weird?) troubles...
Posted on 25-Dec-2017 13:36:04
# ]

0
0

@Tuxedo

Please post your smbfs line (without password and such).
Of course it could be that one of the older bugs is biting you

 
     Report this post  
Anonymous 
Re: Samba (weird?) troubles...
Posted on 25-Dec-2017 14:10:08
# ]

0
0

@olsen

You got the documenntation? Great...new dmbfs development coming

1.116? I got your beta 1.106 to test, but no more...Gimme, gimme, gimme


That 64kb stop bug bit me too, but iirc it did only with the available 1.102 (iirc), it never happened with your beta(s)


Wrt to the speed differences.
I got a measurable difference of approx. 25% for uploads and downloads, where the uploads are slower to that amount (with Linux).
That sounds bad at first glance (especially for very big files), but actually the speed is pretty good, so it doesn't really bother me (that is with a router-based Linux share)

My setup is:
Amiga with LAN directly connected to the router
Win10 with LAN connected to a PowerLine, from there to the PowerLine Main hub and then through a LAN to the router (many possibilites for slowdowns here, as it has to to go from the LAN to the router to the Powerline and into the PC)

e.g. copying a 55 MB audio music cd (single files) to ram: and back
to Linux took
download: 13,79 secs (faster by a factor of 0.25)
upload: 18,17 secs

to Win10 to
download: 44,427,000 (slower by a factor of approx. 3.2)
upload: 30,008,840,761 slower by a factor of approx. 165!!!)

I can very much live with the Linux speeds speed as my cloud is a HDD connected to my router and it's completely fine for even HD video streaming in my LAN and (which i haven't tried yet) probably backing up aswell.

The lower results from downloading/reading from Win10 stems from the fact i have more junctions to cross when i write to it (amiga -> powerline -> win10) which would explain the slower download, but the massive slowdown on upload/writing is pretty much because of Win10 doing some security stuff in the background when handshaking with our smbfs, at least that's what i think.

Using beta 1.106 here

 
     Report this post  
Tuxedo 
Re: Samba (weird?) troubles...
Posted on 25-Dec-2017 23:58:42
#28 ]
Elite Member
Joined: 28-Nov-2003
Posts: 2341
From: Perugia, ITALY

@Raziel

I use a plain:

smbfs Workgroup=ModemTIM Service=//ModemTIM/Disk_a1

the SMBFS: device mounted ok but as described above can only copy files to smbfs: or from smbfs: only 64kb or littler...
Peak upload speed about 1800kb/s(average 1400KB/s), tested with some video files unsing standard copy command from shell or drag&drop from WB and speed displayed by network minidocky as max peak...

Also I can see/mount ModemTIM usb with SabaMatic(dunno the smbfs syntax SambaMatic uses), samne speed/problem...

Hope that new version uploaded soon to test if the 64kb problem goone also there :)

Last edited by Tuxedo on 26-Dec-2017 at 12:06 AM.
Last edited by Tuxedo on 25-Dec-2017 at 11:59 PM.

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: Samba (weird?) troubles...
Posted on 26-Dec-2017 9:39:25
# ]

0
0

@Tuxedo

A few things you could try:
Quote:

NETBIOS/S

smbfs versions prior to 1.76 (10.12.2012) would use the "SMB over
NetBIOS"" data transport method which was deprecated by 2006 as
part of "Windows Vista". smbfs now uses "SMB over TCP" transport
by default. This may cause problems with older file servers. When
in doubt, try again with the NETBIOS switch.

MAXTRANSMIT/N/K

The file system needs to tell the file server how much data it may
safely receive in one single chunk. By default smbfs will tell the
server that it can receive up to 65534 bytes. Larger transmissions
may be broken down into several smaller chunks by the server. You
can restrict the amount of the data which smbfs will report to the
server as "safe to send in a single chunk" with the MAXTRANSMIT
option. The minimum chunk size is 8000 bytes.

So, try to do the following:

smbfs Workgroup=ModemTIM NETBIOS Service=//ModemTIM/Disk_a1

If NETBIOS is not supported you'll get a
smbfs: Cannot connect to server (5, Input/output error).

if that doesn't help or work, try:

smbfs Workgroup=ModemTIM MAXTRANSMIT=8000 Service=//ModemTIM/Disk_a1

and experiment with that.

It sounds like it stops at the MAXTRANSMIT size for you, why, i don't know (but it's probably the modem that is stopping the transfer for unknown reasons, maybe the used samba revision is acting up).
Smaller sizes may get your download along. Larger may do too, but you'll have to find out yourself, as testing on a system i'm not on, is kind of difficult

edit: Added NETBIOS error message

Last edited by Raziel on 26-Dec-2017 at 09:56 AM.

 
     Report this post  
Tuxedo 
Re: Samba (weird?) troubles...
Posted on 26-Dec-2017 11:57:04
#30 ]
Elite Member
Joined: 28-Nov-2003
Posts: 2341
From: Perugia, ITALY

@Raziel

ok tested...
NETBIOS not supported get error5 as described.

The MAXTRANSMIT option seems to dont help anyway...
I tryed:

8000 (as you suggested)
1000
100
20000
200000
131072
1310720
13107200

with same error that object in use...

Any other idea?

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: Samba (weird?) troubles...
Posted on 26-Dec-2017 13:46:12
# ]

0
0

@Tuxedo

Sadly not.

Now it's time to wait for a new version to see if your problems go away.

Hopefully olsen has time to prepare one in the near future

 
     Report this post  
Tuxedo 
Re: Samba (weird?) troubles...
Posted on 26-Dec-2017 14:30:19
#32 ]
Elite Member
Joined: 28-Nov-2003
Posts: 2341
From: Perugia, ITALY

@Raziel

really hope it...also that tranfer speed will increase...

Keep up good work olsen!

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle