mounting network drive and placing icon permently on desktop
Hi I have managed to get my networkdrive to mount on boot to a windoze share. however how can i get it to permently show the mounted icon on the users desktop?
Its so simple a thing that there must be an easy way to do it. Thanks for any help |
How about a sym-link to the directory you mount the FS on?
Code:
man ln |
Quote:
I thought i had got the thing to auto allow the share, but now its asking for the default keyring to unlock, before allowing access. I have to say windoze is a breeze comared to this, but I want to get my head around it...... I need a mapped drive to a share on a windoze box, permently mapped and on the users desktop. if anyone could please help a complete newbe, thanks |
Ok,
If you want to mount a drive on a Windows box, you need to create a CIFS mount. The best way of doing this is using the 'smbfstab'. You're going to need to open a terminal. You haven't mentioned which Linux you are using or if you've downloaded Samba, but you did say you've made a successful connection... So you should have a file called smbfstab, make sure it exists: Code:
ls -l /etc/samba/smbfstab Code:
sudo gedit /etc/samba/smbfstab Code:
//winhost/sharename /local/mount/point cifs username=whatever,password=something Code:
sudo chkconfig smbfs on Code:
sudo /etc/init.d/smbfs start Code:
ln -s /path/to/chosen/mount/point ~youusername/Desktop/ShareName |
hi thanks I am trying to run UBUNTU
|
Try and run the steps from my last reply.
Post back if you have any problems. |
This is driving me nuts, how do I log onto the root?
how do i then open the fstab, for editing samba cannot be installed on the machine... there is a samba folder but not populated I am using UBUNTU perhaps i should just go back to windoze? |
Run the following in terminal:
Code:
sudo apt-get update You should be able to follow my previously posted procedure now. Quote:
Good luck. |
Quote:
now for the //winhost/sharename....I assume this is my windows server name and the file share but the local/mountpoint? and how do i set the username and password for this file share. thanks again. |
sorry just re read your text about passwords,,,,
however i get an enter password for default keyring to unlock when i try the drive error in usr/lib/gvfs/gvfsd-smb |
Quote:
The bit I've called '/local/mount/point' is a directory on your Ubuntu host where the Windows share will be mounted. You may want to: Code:
mkdir /mnt/winhost This is the place on your file-system where you will go to see the files on the Windows share. Quote:
If you do not need a username and password do not include them. |
How are you getting on?
Have you followed all the steps from post #4? |
link now appears under places, but still cannot get it onto desktop
I am trying to network this; \\gandalf\sen username=sen.password=sen Any help gratefully recieved Thanks once again |
What mount point did you use?
You need to use the 'ln -s' command from post #4. If you post the contents of /etc/samba/smbfstab, I can give you the exact command. |
Quote:
Thanks you have been extremely helpful, Just not used to the commands. |
All times are GMT -5. The time now is 05:39 PM. |