I think that the script that Boondoklife wrote above is capable of doing that or you can just use gigolo: http://ubuntuforums.org/showpost.php...16&postcount=3
Updated the script for yas:
CHANGES:
1) Added a wait variable, if you need the script to wait for a connection or what ever just replace the 0 with a higher number. This will let the script wait on its first run for that many seconds before continuing.
2) No need to change the username. Now the script will pull the current username and use it as part of the drive mapping. This should be more effective in a campus/domain environment.
3) I also added a Link to a startup item you can use to make the drive mappings occur for all users.
Let me know how it works out for yas
LINK TO MY MAIN POST
Last edited by Boondoklife; November 15th, 2010 at 10:31 PM.
MyBlog
Sledgehammer engineering, if it doesn't work, hit it damn hard.
running the script in a terminal gives
gnome-samba-mount-startup: 12: function: not found
that would be 'domount'
here's the log
Ran as: cmallam
Polling shares.
Mounting 192.168.1.119/Volume_1
Mounting 192.168.1.139/Volume_1
Mounting 192.168.1.139/Volume_2
Mounting 192.168.1.139/Volume_3
Mounting 192.168.1.139/Volume_4
Polling shares.
Mounting 192.168.1.119/Volume_1
Mounting 192.168.1.139/Volume_1
Mounting 192.168.1.139/Volume_2
Mounting 192.168.1.139/Volume_3
Mounting 192.168.1.139/Volume_4
Polling shares.
There is a file in tmp called smbloginmounts and it is a zero byte file. Looking at the script, i am assuming that the NAS would be mounted under my home as SHARE or something like that. Clicking on 'Computer' on the desktop opens to reveal only the local harddrives and the DVD Drive.
Do you have any ideas?
It actually shows up as network folders in computer. Can you attach your script.
MyBlog
Sledgehammer engineering, if it doesn't work, hit it damn hard.
i think i found the problem. i went back to the first post in this thread, and followed thru the steps. turns out gvfs was not installed. once i installed that, everything works fine.
Thanks for the help!
Hmmm, this still doesn't solve my original problem, which is that when i open Geegie (GQView) to find and edit pictures, it still doesn't show any of these remote drives. Guess i have to play with fstab again.
Last edited by cmallam; November 30th, 2010 at 06:27 PM.
MyBlog
Sledgehammer engineering, if it doesn't work, hit it damn hard.
Bookmarks