Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: quenthal on July 06, 2005, 12:55:43 AM

Title: smbfs problems
Post by: quenthal on July 06, 2005, 12:55:43 AM
Ok, I have serious problems with smbfs. I'm using AOS3.9 with BB2 and Genesis on my A4000. In my home network I also have few pc's, and I would like to mount some of my main PC's shares to my Amiga. I have tried with different versions of smbfs.

I have set up everything, and even samba itself, although smbfs doesn't really require it. I can ping my pc with name and with ip-address, I can use smbclient in amiga to browse shares of my PCs, and even use it's ftp-like system to browse and transfer files between amiga and pc's share.

However, when I try to use smbfs, either my amiga locks up, gives some 8000004 error, or following errors:
smbfs: Unknown error - (1,67)
smbfs: Cannot connect to server (5, Input/Output error)
smbfs: Could not connect to server (5, Input/Output error)

Out of curiosity, I tried smbfs with wrong password, and it gives Access denied/Permission denied. This makes me believe, that to some point everything works with smbfs
Title: Re: smbfs problems
Post by: patrik on July 06, 2005, 01:02:15 AM
@quenthal:

Increase the stack to 64kB before you run it and see if it makes a difference.


/Patrik
Title: Re: smbfs problems
Post by: quenthal on July 06, 2005, 01:50:38 AM
I increased it 65535 and even 100000, but same problem.
Title: Re: smbfs problems
Post by: leofoe on July 06, 2005, 07:54:35 AM
I had the same problem.
You have to setup a user with password on your Windows PC. Next set a directory as shared and call that directory from sbmfs.
Type in CLI:
run AmiTCP:bin/SMBFS Workgroup=[Name of your Windows Workgroup] User=[Username you setup on your Windows PC] Password=[Password you setup on your Windows PC] Service=//[Name of your Windows PC]/[Name of the shared directory]
Replace the stuff between [] with the apropriate entries. Give short names without any spaces.
I.e.: run AmiTCP:bin/SMBFS Workgroup=WERKGROEP User=Me Password=whatever Service=//MyPC/Temp
Title: Re: smbfs problems
Post by: quenthal on July 26, 2005, 11:06:03 PM
Thanks everyone - I isolated the problem to be somehing not very obvious:
Locale-setting in WB!

When I used my Finnish-languge as preferred one in Locale, I got those errors - when I switched to use ONLY English, everything worked. I tried this multiple times, and even installed AmigaOS clean, and the only reason was Finnish (Suomi) locale. I'm not sure, if this error occurs with other non-English locales too.

-q
Title: Re: smbfs problems
Post by: Framiga on January 02, 2008, 05:20:27 PM
interesting! thanks for the tip! :-)