Samba and OS4.1 Udate 6

A forum for general AmigaOS 4.x support questions that are not platform-specific
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Samba and OS4.1 Udate 6

Post by nbache »

Christopher Follett wrote:Might be coinsidence. I have it mounting all now, but it refuses to auto mount since update 5.
I tried altering the position in WBStartup as it had moved, but doesnt help, I just get smbmounter has'nt returned and it pops up gui even though it set to no gui (auto mount).
I have a NAS mounting with SMBMounter on all my machines. This works fine on them all, whether I'm booting my public update 6 config or my beta config (I have both on each machine).

I don't start SMBMounter from WBStartup, though, because there is no way to make sure the network is up when WBStartup runs. Instead, I have the following in my Network-startup after AddNetInterface:

Code: Select all

; Mount SMB shares
CD Work:Maskinen/SMBMounter
WBRun SMBMounter
CD SYS:
Best regards,

Niels
User avatar
Christopher Follett
AmigaKit
AmigaKit
Posts: 651
Joined: Mon Feb 21, 2011 5:56 pm
Location: Wales, UK
Contact:

Re: Samba and OS4.1 Udate 6

Post by Christopher Follett »

nbache wrote:
Christopher Follett wrote:Might be coinsidence. I have it mounting all now, but it refuses to auto mount since update 5.
I tried altering the position in WBStartup as it had moved, but doesnt help, I just get smbmounter has'nt returned and it pops up gui even though it set to no gui (auto mount).
I have a NAS mounting with SMBMounter on all my machines. This works fine on them all, whether I'm booting my public update 6 config or my beta config (I have both on each machine).

I don't start SMBMounter from WBStartup, though, because there is no way to make sure the network is up when WBStartup runs. Instead, I have the following in my Network-startup after AddNetInterface:

Code: Select all

; Mount SMB shares
CD Work:Maskinen/SMBMounter
WBRun SMBMounter
CD SYS:
Best regards,

Niels
I tried that way, it then tells me it cant find prefs or mounts file. Once in workbench it will launch fine and mount.
If I try from WBStartup, it decides to search for a different mounts file and say it cant find prefs.

I seem have got it to boot without error, but it refuses to run hidden, it pops up and makes me mount them manually.
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire
http://www.ultimateamiga.co.uk (Home of SONY PSP Amiga Emulator and AMOS Factory)
__________________
Customer Help & Support: http://www.amigakit.com/help

http://www.amigakit.com - the Amiga store

New Products
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Samba and OS4.1 Udate 6

Post by nbache »

Christopher Follett wrote:
nbache wrote:I have the following in my Network-startup after AddNetInterface:

Code: Select all

; Mount SMB shares
CD Work:Maskinen/SMBMounter
WBRun SMBMounter
CD SYS:
I tried that way, it then tells me it cant find prefs or mounts file.
I have both files in the directory where SMBMounter is installed (in my case as shown above Work:Maskinen/SMBMounter). This is why I do the CD to that directory before the WBRun. Works fine.

Oh, BTW, I also have my main Samba installation set up (of which probably just a few files are actually used), and the Samba: assign pointing to it etc. is set up in Network-Startup before the AddNetInterface line, with these lines:

Code: Select all

;BEGIN Samba
Assign Samba: Work:Maskinen/samba-2.2.5/install
Path Samba:bin ADD
;END Samba
Once in workbench it will launch fine and mount.
If I try from WBStartup, it decides to search for a different mounts file and say it cant find prefs.

I seem have got it to boot without error, but it refuses to run hidden, it pops up and makes me mount them manually.
My tooltypes in the SMBMounter icon:

DONOTWAIT
CX_POPUP=NO
CX_POPKEY=ctrl lshift s

But I assume you've got those as well? Apart from that, I'm not sure what to suggest.

Best regards,

Niels
User avatar
Christopher Follett
AmigaKit
AmigaKit
Posts: 651
Joined: Mon Feb 21, 2011 5:56 pm
Location: Wales, UK
Contact:

Re: Samba and OS4.1 Udate 6

Post by Christopher Follett »

nbache wrote:
Christopher Follett wrote:
nbache wrote:I have the following in my Network-startup after AddNetInterface:

Code: Select all

; Mount SMB shares
CD Work:Maskinen/SMBMounter
WBRun SMBMounter
CD SYS:
I tried that way, it then tells me it cant find prefs or mounts file.
I have both files in the directory where SMBMounter is installed (in my case as shown above Work:Maskinen/SMBMounter). This is why I do the CD to that directory before the WBRun. Works fine.

Oh, BTW, I also have my main Samba installation set up (of which probably just a few files are actually used), and the Samba: assign pointing to it etc. is set up in Network-Startup before the AddNetInterface line, with these lines:

Code: Select all

;BEGIN Samba
Assign Samba: Work:Maskinen/samba-2.2.5/install
Path Samba:bin ADD
;END Samba
Once in workbench it will launch fine and mount.
If I try from WBStartup, it decides to search for a different mounts file and say it cant find prefs.

I seem have got it to boot without error, but it refuses to run hidden, it pops up and makes me mount them manually.
My tooltypes in the SMBMounter icon:

DONOTWAIT
CX_POPUP=NO
CX_POPKEY=ctrl lshift s

But I assume you've got those as well? Apart from that, I'm not sure what to suggest.

Best regards,

Niels
I tried everything you have said, :(. It now boots fine, but pops up even though its set not to.
Spose I will have to live with manually mounting them.
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire
http://www.ultimateamiga.co.uk (Home of SONY PSP Amiga Emulator and AMOS Factory)
__________________
Customer Help & Support: http://www.amigakit.com/help

http://www.amigakit.com - the Amiga store

New Products
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Samba and OS4.1 Udate 6

Post by nbache »

Christopher Follett wrote:I tried everything you have said, :(. It now boots fine, but pops up even though its set not to.
Spose I will have to live with manually mounting them.
In SMBMounter's GUI, when you press the Edit button, do you have "Automount on Startup" checked in the Edit window?

And in the same window, do you have username and password (correctly) filled in, and the "Prompt for Login" checkbox unchecked?

Best regards,

Niels
User avatar
Christopher Follett
AmigaKit
AmigaKit
Posts: 651
Joined: Mon Feb 21, 2011 5:56 pm
Location: Wales, UK
Contact:

Re: Samba and OS4.1 Udate 6

Post by Christopher Follett »

nbache wrote:
Christopher Follett wrote:I tried everything you have said, :(. It now boots fine, but pops up even though its set not to.
Spose I will have to live with manually mounting them.
In SMBMounter's GUI, when you press the Edit button, do you have "Automount on Startup" checked in the Edit window?

And in the same window, do you have username and password (correctly) filled in, and the "Prompt for Login" checkbox unchecked?

Best regards,

Niels

Yes to both.
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire
http://www.ultimateamiga.co.uk (Home of SONY PSP Amiga Emulator and AMOS Factory)
__________________
Customer Help & Support: http://www.amigakit.com/help

http://www.amigakit.com - the Amiga store

New Products
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Samba and OS4.1 Udate 6

Post by nbache »

Christopher Follett wrote:Yes to both.
Oh, well, that's me out of ideas then. Sorry.

Best regards,

Niels
User avatar
Christopher Follett
AmigaKit
AmigaKit
Posts: 651
Joined: Mon Feb 21, 2011 5:56 pm
Location: Wales, UK
Contact:

Re: Samba and OS4.1 Udate 6

Post by Christopher Follett »

nbache wrote:
Christopher Follett wrote:Yes to both.
Oh, well, that's me out of ideas then. Sorry.

Best regards,

Niels
Not a problem, Ill have it working to a certain extent, thats good enough, :).
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire
http://www.ultimateamiga.co.uk (Home of SONY PSP Amiga Emulator and AMOS Factory)
__________________
Customer Help & Support: http://www.amigakit.com/help

http://www.amigakit.com - the Amiga store

New Products
User avatar
Christopher Follett
AmigaKit
AmigaKit
Posts: 651
Joined: Mon Feb 21, 2011 5:56 pm
Location: Wales, UK
Contact:

Re: Samba and OS4.1 Udate 6

Post by Christopher Follett »

Had to go back to windows machine, but discovered something very odd.
The shares I was mounting had wierd files in them created by os4.1.

1zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.file and
2zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.file.

Now in windows it would not let me delete them, so I ftp in to them.
However on opening first dir touched by os4.1, it executed file time update on its own.

I was then able to remove them. I have done a search and cant find any reference to these odd files.
Anyone else come across this.
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire
http://www.ultimateamiga.co.uk (Home of SONY PSP Amiga Emulator and AMOS Factory)
__________________
Customer Help & Support: http://www.amigakit.com/help

http://www.amigakit.com - the Amiga store

New Products
Raziel

Re: Samba and OS4.1 Udate 6

Post by Raziel »

Christopher Follett wrote:Had to go back to windows machine, but discovered something very odd.
The shares I was mounting had wierd files in them created by os4.1.

1zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.file and
2zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.file.

Now in windows it would not let me delete them, so I ftp in to them.
However on opening first dir touched by os4.1, it executed file time update on its own.

I was then able to remove them. I have done a search and cant find any reference to these odd files.
Anyone else come across this.
I have the same files when using smbfs and accessing my NAS drive (2.5" HDD on a FritzBox7390).
Though i am able to delete it from the FritzBox GUI.

Weird, i thought it might come the FitzBox itself :-)
Post Reply