Welcome, Guest. Please login or register.

Author Topic: Mounting A Samba Share on/just after boot  (Read 2030 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show all replies
Mounting A Samba Share on/just after boot
« on: January 18, 2006, 08:15:19 PM »
Hi,

I've setup samba and it's all working great, when I want to mount a share I simply do "c:mount mymountlist" and it mounts the drive I've setup in the mount list. Taking it a stage further I'd like it to auto mount after Workbench loads for convenience.

So far I've tried adding a line after the command to load workbench in the SS which didn't do it, I've tried popping the script into WBStartup after making it executable (a pitiful attempt I know) and that didn't work.

Any ideas??? is it possible???

Thanks in advance :-)
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show all replies
Re: Mounting A Samba Share on/just after boot
« Reply #1 on: January 18, 2006, 10:52:57 PM »
Thanks for the reply ! Im 50% there.

Ive added the line into Genesis and that part works fine. If I add "wait 1" to the script (line 1) I get an error "unknown command line 1". If I remove "wait 1" I get an error that says the share cant be connected, so I know its the wait command thats doing it, and also that I do need some form of wait command in there.
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show all replies
Re: Mounting A Samba Share on/just after boot
« Reply #2 on: January 19, 2006, 05:15:11 PM »
I guess the question is now, which command can I use to delay the mount process, i.e. what do I put at the start of the mountlist?
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show all replies
Re: Mounting A Samba Share on/just after boot
« Reply #3 on: January 19, 2006, 06:36:44 PM »
Ahh you were right Piru, read the instructions again and all is working great now, thanks!  :-)
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse
 

Offline CoolitTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 267
    • Show all replies
Re: Mounting A Samba Share on/just after boot
« Reply #4 on: January 19, 2006, 09:31:38 PM »
hehe,

SWAT works fine although Ive not played about with it much yet on the Amiga.
I have used it before under linux a number of times although I cant see me wanting to share the amiga HDDs out.
[color=0066FF]The System:[/color][/u]

A1200/DBOX - B1260/SCSI/198MB Mediator/Voodoo5500/SB128/100NIC/SpiderII FAST ATA Mk3/SCSI Adapter/PC KEY - IDE DVD/SCSI CDRW/80GB IDE HDD/9GIG 10k SCSI HDD - 3.1 ROMS/OS 3.9 - Logitech KB + MX1000 Mouse