Welcome, Guest. Please login or register.

Author Topic: OS4.1 and Samba configuration question.  (Read 2012 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16881
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: OS4.1 and Samba configuration question.
« on: August 31, 2009, 02:07:04 AM »
I have a linux box with a samba share that contains my UAE installation and other shared development stuff that I have OS4.1 (and also 3.9 on my 1200T) connect to automatically on start-up.

For 4.1, I created a script called MountSMB in SYS:S/Shell/ with the following commands:
Code: [Select]
stack 65536
run >nil: *>nil: smbfs workgroup=megaburken2 user=****** password=****** service=//Megaburken-II/UAE device=SMB0: volume=UAE:

I then set the script file protection bit
Code: [Select]
protect S:Shell/MountSMB0 +s
and added the following to my S:User-Startup
Code: [Select]
MountSMB0
The samba share then pops up as a disk drive on the desktop (device name SMB0, volume name UAE).
« Last Edit: August 31, 2009, 02:09:50 AM by Karlos »
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16881
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: OS4.1 and Samba configuration question.
« Reply #1 on: August 31, 2009, 03:49:58 PM »
I find smbfs great. I actually keep all my source code (which has x86/x64/PPC and m68k forks) on the linux box and have an assign on the OS4 machine. It actually compiles the code across the network :)

I'm even triggering the OS4 compile process from the linux box via telnet. How lazy is that? :D
int p; // A