That was it! Thank you so much. The quotes came from Open Office Writer. I was doing copy/paste to put the strings together. Weird to me because it's the same damn key! Probably not that weird though if you're not a noob like I am.
That was it! Thank you so much. The quotes came from Open Office Writer. I was doing copy/paste to put the strings together. Weird to me because it's the same damn key! Probably not that weird though if you're not a noob like I am.
Nice - thanks for the How-to. Very simple and best of all it worked great! Thanks for taking the time to write this and being so kind to share with the community.
=D>
great how to!
very helpful!
Hey, is anyone else having trouble getting samba shares to mount with gvfs in the latest Lucid alpha? I've reported a bug but there doesn't seem to be much interest in it.
https://bugs.launchpad.net/bugs/530605
Thank you for this nice Howto,
i was experimenting with gvfs-mount for a couple of days now and am trying to mount shares via ssh on a different machine. I learned that i need to execute the following two lines before i use the actual mount command.
But i frequently encounter problems with the mount points in ~/.gvfs as they sometimes or better most of the times do not show up at all. If i manually test the mounts withCode:dbus-launch bash /usr/lib/gvfs/gvfsd -r &
they are listed correctly.Code:gvfs-mount -l
Does one of you have an idea how to deal with this and where the mounts get linked to if not in the above directory?
Thx,
Nix
Thanks for your nice tutorial. I'm new to Ubuntu and don't know much about the shell and scripts and so on.
You explained it so clearly that I managed to install it on my machine without any problem. I used it to ensure that the FreeNAS (running on my old 'recycled' PC) is well there at each startup !
Friendly greetings from Belgium ! Claude
Hey just wanted to post up a script I put together that mounts your drives on login and it runs in the background to ensure the connection stays active. Just as with the OPs code, you need to mount it one time via nautilus and tell it to remember your password. You will need to do this for each share that is linked to your username.
Note: You can map bad users to a guest account on the server's smb.conf. This will allow you to connect to shares with guest privileges for shares that you did not provide a password for.
Samba mounter
Startup Item
I run into times where transferring many files can cause a connection drop and then I am hosed till it gets remounted. This takes care of that issue.
BEFORE YOU RUN IT!!!:
Please go into the file and change the paths that are to be mounted and get rid of unneeded entries. Lines 47-51 of the file, you can simply delete lines that you dont need or add more just follow the numbering scheme (0,1,2,3,n...). The syntax is outlined in the file.
The script requires gvfs be installed so install it via the manager or use:
NOTE:Code:sudo apt-get install gvfs
Please make sure you are running this as a startup application.
If you are having issues please change the DEBUG=0 line to DEBUG=1 and post the output of the log file from "/tmp/gnome-samba-mount-startup.log"
To make the script available to all run
To put the startup item in place runCode:sudo cp ~/Downloads/gnome-samba-mount-startup /usr/bin sudo chmod 755 /usr/bin/gnome-samba-mount-startup
This assumes you downloaded the file to ~/DownloadsCode:sudo cp ~/Downloads/gnome-samba-mount-startup.desktop /etc/xdg/autostart
Last edited by Boondoklife; December 1st, 2010 at 11:12 PM. Reason: Added gvfs install step.
MyBlog
Sledgehammer engineering, if it doesn't work, hit it damn hard.
thanks hmmm
I found a very easy workaround for automatically mounting windows shares on startup.
May not be the right way, but its easy enough.
Go to "System" - "Preferences" - "Startup Applications"
Then Click on Add
For Name, put whatever you want
Then for command, put "nautilus smb://(IP of share/share path)
For example, the shared drive on my windows server is called "my-terabytes" and my servers local ip is 192.168.1.30
So the command on mine says "nautilus smb://192.168.1.30/my-terabytes" (no quotes)
Everything works great
only downside, is every time I log in, that folder opens, but most of the time, thats where I'm going anyway
Really you should use the script I posted as if the drive become un-mapped, it will remap it for you. In addition it allows you to have just one script in your startup applications for all network mappings.
Plus you will not have the nautilus popup you are talking about.
MyBlog
Sledgehammer engineering, if it doesn't work, hit it damn hard.
Bookmarks