Best place is to put it in your /etc/rc.local file

Martin 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edward Kerr
Sent: 28 March 2008 16:00
To: Peterborough LUG
Subject: [Peterboro] [Fwd: Path of etc/init.d/rc.local]



I cannot recall who actually gave me this idea, but it did not work!  It was
the gentleman who was running Ubuntu from a USB stick on a Sony Vaio

I am trying to mount my NAS at boot or log-in.

the command that works perfectly from the command line is:

sudo mount -t smbfs //192.168.1.18/data /mnt/mini -o
username=admin,password=admin,fmask=0777,dmask=0777

(All one line)

How do I do this automatically?

Do I use FSTAB, but if so how?

Thanks



Ed


Mark Rogers wrote:
> Edward Kerr wrote:
>> Thanks for rescuing this for me.  If you are able to send me that 
>> path from the hi-tech notebook, that would be great!
> 
> See list, but the bit I could read was:
>    /etc/init.d/rc.local
> 


_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro



_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to