English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 16 January 2023, 19:46   #81
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
I grabbed the smb2-handler from the link on the first page and put it in L: . Then filesysbox.library in libs. Made the DosDriver you see attached. When I double click it, I assume it mounts the share since I get no error but no icon appears in workbench. If I double click it again then it says that it is already mounted. I opened dopus and right click in S I can see Samba3 as a volume but when I click it it says "No disk present in device SAMBA3". What am I doing wrong?
Attached Thumbnails
Click image for larger version

Name:	MountFailure.jpg
Views:	100
Size:	28.4 KB
ID:	77833  

Last edited by npagonis73; 17 January 2023 at 11:40.
npagonis73 is offline  
Old 16 January 2023, 20:16   #82
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
First... the DOSDRIVER icon needs to have as a Default Tool C:Mount
Second, to be able to see an icon on Workbench you need a Disk.info inside the Shared folder.
I don't see anything wrong with your share. Have you tried putting the IP of the NAS instead the hostname (in case something's wrong with DNS on the Amiga side)?

My declaration of Startup command is:
Startup = "smb://usernameassword@my_pc_ip/shared Volume=mfilosPC"
mfilos is offline  
Old 16 January 2023, 20:29   #83
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
You don't need disk.info on your share, I certainly don't have it and the volume shows up just fine with the default floppy icon. If I had to take a shot in the dark then the host name he used can't be resolved on the amiga side. Pinging it should verify this.
BSzili is offline  
Old 16 January 2023, 20:35   #84
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Quote:
Originally Posted by mfilos View Post
First... the DOSDRIVER icon needs to have as a Default Tool C:Mount
Second, to be able to see an icon on Workbench you need a Disk.info inside the Shared folder.
I don't see anything wrong with your share. Have you tried putting the IP of the NAS instead the hostname (in case something's wrong with DNS on the Amiga side)?

My declaration of Startup command is:
Startup = "smb://usernameassword@my_pc_ip/shared Volume=mfilosPC"
Hello my friend. Hope you are well

I do have those things you mentioned in your reply. Before today I used smbmounter to mount my shares just fine. Will try ip address instead of hostname to see.
Attached Thumbnails
Click image for larger version

Name:	20230116_212846.jpg
Views:	120
Size:	1.01 MB
ID:	77834   Click image for larger version

Name:	20230116_212955.jpg
Views:	123
Size:	955.2 KB
ID:	77835  
npagonis73 is offline  
Old 16 January 2023, 20:42   #85
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Quote:
Originally Posted by BSzili View Post
You don't need disk.info on your share, I certainly don't have it and the volume shows up just fine with the default floppy icon.
That's because you have a def_disk.info on your ENVARC/sys/ then
mfilos is offline  
Old 16 January 2023, 20:47   #86
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Update
Using my IP address instead of hostname (as MFilos suggested) worked and mounted the share. Tried to copy a file in Ram but speed is extremely slow. A lot slower than the previous smbfs1 and smbmounter. So slow that is almost unusable.

Last edited by npagonis73; 17 January 2023 at 07:05.
npagonis73 is offline  
Old 16 January 2023, 21:14   #87
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Quote:
Originally Posted by npagonis73 View Post
Update
Using my IP address instead of hostname (as MFilos suggested) worked and mounted the share. Tried to copy a file in Ram but speed is extremely slow. A lot slower than the previous samba version and smbmounter. So slow that is almost unusable.
Good that it worked

In my Vampire Standalone I get a SpeedTest of 1.84Mbps on Write and 2.90Mbps on Read which is rather nice for my standards.
mfilos is offline  
Old 17 January 2023, 06:34   #88
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
Big update, charset conversion is here! The handler remains the same, you only need to update filesysbox.library to 54.2. I replaced the Aminet link in the first post. It'll try to auto detect your character set based on your Country or Language setting, but you can always override this with the CHARSET envvar. As a last resort it'll fall back to Latin-1 which should work as a safe default.
BSzili is offline  
Old 17 January 2023, 08:21   #89
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,449
Out of curiosity how does smb2fs handle filenames which are legal in AmigaDOS like "Amber_*" but illegal on the destination filesystem like FAT16/NTFS?

I apologize if this is obvious.

Last edited by alexh; 17 January 2023 at 17:58.
alexh is online now  
Old 17 January 2023, 09:56   #90
Michael1260
Registered User
 
Join Date: Oct 2018
Location: France
Posts: 14
Is there a way to "wrap" the password inside an "crypted" way ?
Michael1260 is offline  
Old 17 January 2023, 09:59   #91
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,904
Quote:
Originally Posted by mfilos View Post
That's because you have a def_disk.info on your ENVARC/sys/ then
This is not needed, the workbench gives you the default black and white disk icon without any kind of deficons functionality.
Jope is offline  
Old 17 January 2023, 11:45   #92
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Any idea why the transfer speeds from my server are so extremely slow? Almost unsuable!! I also have the smbfs installed and use this with smbmounter and the speeds there are perfect. Any solution to this? My system is an Amiga 1200 with V1200 running 3.2.1 and using a pcmcia network card getting more than 5mb/sec in amispeedtest and when transfer from my NAS I get around 3mb/sec.
npagonis73 is offline  
Old 17 January 2023, 17:20   #93
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
Quote:
Originally Posted by alexh View Post
Oit of curiosity how does smb2fs handle filenames which are legal in AmigaDOS like "Amber_*" but illegal on the destination filesystem like FAT16/NTFS?

I apologize if this is obvious.
This is a good question, I'll try to see what happens.

Quote:
Originally Posted by Michael1260 View Post
Is there a way to "wrap" the password inside an "crypted" way ?
You can use NTLM hashes instead of the actual passwords, these websites can calculate the hash for you:
https://codebeautify.org/ntlm-hash-generator
https://www.browserling.com/tools/ntlm-hash
Then specify the password in this format, where HASH is the output you've got from those websites:
PASSWORD=ntlm:HASH


Quote:
Originally Posted by npagonis73 View Post
Any idea why the transfer speeds from my server are so extremely slow? Almost unsuable!! I also have the smbfs installed and use this with smbmounter and the speeds there are perfect. Any solution to this? My system is an Amiga 1200 with V1200 running 3.2.1 and using a pcmcia network card getting more than 5mb/sec in amispeedtest and when transfer from my NAS I get around 3mb/sec.
Sorry, no idea. If it's unusable then I recommend staying with smbfs and smbmounter.

Last edited by BSzili; 17 January 2023 at 17:35.
BSzili is offline  
Old 17 January 2023, 17:43   #94
Michael1260
Registered User
 
Join Date: Oct 2018
Location: France
Posts: 14
[QUOTE=BSzili;1590152]This is a good question, I'll try to see what happens.


You can use NTLM hashes instead of the actual passwords, these websites can calculate the hash for you:
https://codebeautify.org/ntlm-hash-generator
https://www.browserling.com/tools/ntlm-hash
Then specify the password in this format, where HASH is the output you've got from those websites:
PASSWORD=ntlm:HASH


Thank you !
Michael1260 is offline  
Old 17 January 2023, 18:28   #95
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
Quote:
Originally Posted by alexh View Post
Out of curiosity how does smb2fs handle filenames which are legal in AmigaDOS like "Amber_*" but illegal on the destination filesystem like FAT16/NTFS?

I apologize if this is obvious.
I just tried this, and the copy operation will simply fail. It's probably best to archive files with such names, you can specify the SMB2 share as the destination.
BSzili is offline  
Old 17 January 2023, 22:29   #96
thxtex
Registered User
 
Join Date: Dec 2021
Location: Odense S, Denmark
Posts: 4
Quote:
Originally Posted by BSzili View Post
You can use NTLM hashes instead of the actual passwords, these websites can calculate the hash for you:
https://codebeautify.org/ntlm-hash-generator
https://www.browserling.com/tools/ntlm-hash
Then specify the password in this format, where HASH is the output you've got from those websites:
PASSWORD=ntlm:HASH
Is this a seperate line or is it on the same line as the Startup line in the DOSDriver file?
thxtex is offline  
Old 17 January 2023, 22:43   #97
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
The startup line. For examples on additional arguments, see the readme of the GitHub page:
https://github.com/salass00/smb2fs
BSzili is offline  
Old 18 January 2023, 08:37   #98
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
Just a bit of a heads up, NTLM hash passwords are currently broken due to an endianness issue in the parsing function. I've already sent a fix upstream, I'll let you know when the new handler is available.
BSzili is offline  
Old 18 January 2023, 17:04   #99
tuf
Registered User
 
Join Date: Dec 2008
Location: Atlanta, GA USA
Posts: 35
I'm having issues getting this working on newly installed systems. It works fine on a couple of my older installs that I've upgraded over time, but on a brand new install where it's nothing but 3.2.1 and Roadshow (with appropriate network drivers) I can't get it working.

I'm wondering if it's possible there's some dependency I'm missing with the brand new installs?
tuf is offline  
Old 18 January 2023, 17:48   #100
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,296
Probably not, the only dependency is filesysbox.library. Everything else is optional or in the ROM since 3.0.
Speaking of dependencies, the handler's port is now merged into the official repo. There are new versions for both the handler and the library, NTLM hash passwords should now work among other things. I updated the links in the first post accordingly.
BSzili is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PotGo on Mouse Port (Port 0)? Daedalus Coders. System 14 02 March 2016 20:44
Help please - Making Frankenstein os3.0 with os3.5/9 bits Abdabs support.Other 3 27 February 2015 21:51
Serial port, parallel port, and pipe device mount errors Samurai_Crow support.FS-UAE 4 13 March 2014 00:04
ECS. Make OS3.1 look like OS3.9 without loosing speed. lukassid support.Apps 21 19 February 2013 00:13
Sending debug output to the serial port OS3.x NovaCoder Coders. C/C++ 0 18 February 2013 06:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:06.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10234 seconds with 14 queries