27 February 2017, 19:58 | #1 |
Registered User
Join Date: Dec 2016
Location: london
Posts: 178
|
smbfs problems any ideas?
Hi
I am trying to share a pc's directory on my amiga 1200 using smbfs an smbmounter. I have installed the files, set an assign (assign samba c:samba) and shared the directory on the pc via a homegroup. I can ping the pc's ip address but not its name (does dns work like that?) However when I setup smbmounter as follows - Name: pc Workgroup: homegroup Hostname: pc Service: backup Username and password blank, prompt for login box ticked Volume: pc And try to connect I get error unknown host pc If i edit the settings for the connection andclick the questionmark next to the host name i get error connection failed to host and then the pcs ip address Any ideas? Thanks in advance |
27 February 2017, 20:30 | #2 |
Registered User
Join Date: Dec 2014
Location: Netherlands
Posts: 1,406
|
Have you tried using the PC's IP address as hostname? Named hostnames only work if you have a host file (no idea where to put that on an Amiga) or an internal DNS/netbios server.
|
28 February 2017, 10:39 | #3 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
You need to have the hostname "pc" defined in your hosts file. This is done differently depending on your TCP/IP stack, but if you're using Miami or Genesis, there's a section in the preferences for adding hostnames, which is what you're looking for. The PC will need to have a static IP address for this to work properly - this can be done using your router to reserve an IP address for the PC, or by setting it manually in the PC's network settings.
Once a hostname is set, you should be able to ping it and SMBFS/SMBMounter should work as expected. Using just the IP address doesn't always work properly with SMBFS for some reason. |
28 February 2017, 11:12 | #4 |
Registered User
Join Date: Apr 2010
Location: Amigaplanet
Posts: 645
|
Latest SMBFS is buggy, use 1.76.
|
28 February 2017, 11:30 | #5 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
There are some issues with the later versions, yes, but also bear in mind that the older versions of SMBFS do not work with shares on Windows Vista and later versions of Windows.
|
28 February 2017, 12:21 | #7 |
Registered User
Join Date: Apr 2010
Location: Amigaplanet
Posts: 645
|
Sorry, 1.74. Forget 1.102.
|
28 February 2017, 12:36 | #8 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,006
|
AmiTCP based packages have it in amitcp:db/hosts file, that can be edited directly without using GUIs too. Roadshow probably has it in Devs:Internet/hosts.
|
28 February 2017, 14:48 | #9 |
Registered User
Join Date: Dec 2016
Location: london
Posts: 178
|
Hi
Many thanks for the replies. It works! I can now share, not only my pc's back-up drive but also its dvd player. At last access to all my CU amiga and AF cds. I have one problem though. When I open a share that is larger than 4 gb workbench only says its 4gb max. Im runing os 3.1 workbench v40.42 and kickstart 40.68. Is this a kickstart/setpatch issue, a problem with crossdos (or don't pc shares use this) or a problem with smbfs? Hope someone can help, oh Im using the latest smbfs. Hope someone can help |
28 February 2017, 15:44 | #10 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,309
|
What's wrong with 1.102?
I think I've seen some corruption in the past but it's very intermittent (and I wasn't 100% sure it was smbfs). By the way, I just noticed that there is a 1.111 (11 May 2016): https://github.com/obarthel/amiga-smbfs/releases |
28 February 2017, 17:08 | #11 | |
Registered User
Join Date: Jan 2014
Location: BO/Italy
Posts: 711
|
Quote:
In my case, with both, 1.74 and 1.102 versions, I can read and copy everything from my Samba shares but I am not able to write anything on them. To be more precise, if I try to copy, for example, a small txt file or an adf to one of my shares, the copy seems to start but after a second or two everything hangs ("Intuition" doesn't refresh anymore the windows on my desktop). I am still able to move the mouse pointer and to write commands in a shell so, if I kill (break) the smb process, it ends and everything works again. In a few cases, breaking the process have left the file I was copying in the share in a consistent state (especially if it was a small txt file), so it seems to me that the copy starts but the process isn't handled correctly. Sorry if I am a bit OT, hopefully the OP won't face the same issues! |
|
28 February 2017, 17:59 | #12 | |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Quote:
|
|
28 February 2017, 22:04 | #13 | |
Registered User
Join Date: Dec 2016
Location: london
Posts: 178
|
Quote:
I was worried I might suffer overflow issues if I copied past the 4 gb boundery, where files just start again from the start of the disk overwriting everything. Least I think thats what happens.... Anyway is it fixable? It would just be nice to have the correct values. I have cds of os 3.5 and 3.9, but cant install them as my wb partion isnt large enough. Would copying the workbench library from one of those fix the issue, or am I heading into guru terratory doing this? So far I havent had the problems reported by liviux. |
|
28 February 2017, 22:52 | #14 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Hmmm, I've never tried partially installing components of 3.9 like that, but I suspect it might lead to issue alright. Easy enough to try though...
However, while the actual amount free and used are correctly displayed under 3.9, the % full is not (Grab from my mounted NAS under OS 3.9) |
01 March 2017, 02:24 | #15 | |
Registered User
Join Date: Dec 2016
Location: london
Posts: 178
|
Quote:
Many thanks for checking. |
|
01 March 2017, 09:55 | #16 |
Registered User
Join Date: Apr 2010
Location: Amigaplanet
Posts: 645
|
Maybe this help:
https://sambaforamigaos.wordpress.com |
01 March 2017, 11:28 | #17 | |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Quote:
I vaguely recall there being patches available for 3.1, hopefully you can dig something up. |
|
01 March 2017, 20:39 | #18 | ||
Registered User
Join Date: Dec 2016
Location: london
Posts: 178
|
Quote:
Quote:
I have a copy of Amiga Forever whch has installs of Amisys and AmiKit, which is where this gets a bit odd. Amikit has Workbench version 45.131 and this reports a 16gb flash drive as 4gb. Amisys has workbench version 45.127 and this reports the same 16gb drive as ... 8gb. All on Amiga Forever running on a 64 bit pc. Go figure... Wonder where those updates could be? Looks like next stop is those cds I have. Anyone any ideas where I should start looking? Later editions I guess, Prob Amiga Active ones, but thats all I can think of at present. Last edited by chocsplease; 01 March 2017 at 21:28. |
||
01 March 2017, 21:26 | #19 | |
Registered User
Join Date: Dec 2016
Location: london
Posts: 178
|
Quote:
I'm not sure that the Aminet Samba bin archive is complete though. |
|
02 March 2017, 10:21 | #20 | |||||
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updated SMBFS Now Available for OS3 and OS4 | Daedalus | News | 27 | 03 May 2023 05:55 |
How to use SMBFS | @UAE | support.Apps | 23 | 06 November 2021 19:57 |
WHDLoad preload over smbfs, then kill tcp/ip? | wXR | project.WHDLoad | 4 | 08 January 2016 14:17 |
Help with SMBFS? | madman | support.Apps | 1 | 14 August 2011 19:32 |
SMBFS And Windows VIsta | @UAE | support.Apps | 11 | 12 April 2011 20:41 |
|
|