jpmartin Posted August 14, 2008 Author Report Share Posted August 14, 2008 So i've read elswhere that fstab was readed too early in the boot process to get any network drive mounted... The solution would be to have an autostart - as Yves had mentioned - but the problem i see is that only the root user can mount a drive once the system is up... Now i see that this might be another thread, i'll let the moderator decide, but in the mean time if you have any thoughts i'd be interested. jp Quote Link to comment Share on other sites More sharing options...
jpmartin Posted August 19, 2008 Author Report Share Posted August 19, 2008 (edited) Ok, problem solved completely. So to open remote files (.xls, .doc, etc) on a windows server... 1. you have to mount the drive - just connecting to it won't work. 2. you'll want to automate the mounting at bootup. For #2 simple solution : 1st : have your system recognize the remote drive using Samba config in Mandriva Control Center... After this step, it sould look something like this in the etc/fstab file : UUID=1151304d-0810-4b44-8059-fe9f6ddd14aa / ext3 defaults 1 1 //server0/data /home/jp/data cifs domain=cora,user=user,pass=pass 0 0 2nd : add a mount command, which should look something like this[ mount -t cifs //server/data /home/data -o user=user,pass=pass ], to the S99local script in etc/rc5.d folder and give "execute read and write" wrights to the S99local script with the chmon 755 command. And Voilà ! jpm Edited August 19, 2008 by jpmartin Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 19, 2008 Report Share Posted August 19, 2008 That file is probably a symlink to /etc/rc.local which is where I normally put some additional local stuff unique to me that I can't get to run anywhere else. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.