Auto startup

Asked by Seoulhawk

I would like my network drive to mount when I start up my computer, How do I do this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu smb4k Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) said :
#1

If you have a Windows share, you'll find a good how-to here:
https://help.ubuntu.com/community/MountWindowsSharesPermanently
If you use NFS you can look here:
https://help.ubuntu.com/community/SettingUpNFSHowTo#NFS%20Client

Revision history for this message
Seoulhawk (henddouglas) said :
#2

Please understand that i am new to Linux.... I have a server that is using ClarkConnect, which runs a customized version of RedHat in the background. This is running samba, and I have a shared folder that I can see and get access to using smb4k on my Ubuntu 8.04 computer. So I am looking for a way to automatically start smb4k when I boot my computer and have it login and mount the drive. I have looked in the NFS link but I don't see my solution.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) said :
#3

Because you are using Samba you need to follow the instructions in the first link:
https://help.ubuntu.com/community/MountWindowsSharesPermanently

In short you need to:
 - Type in a terminal: sudo apt-get install smbfs
 - Put the following line in /etc/fstab:
//YOUR_SERVER/YOUR_SHARED_FOLDER /media/samba cifs iocharset=utf8,credentials=/etc/smb.cred 0 0
   Replace YOUR_SERVER and YOUR_SHARED_FOLDER with the appropriate values.
 - Type in a terminal: sudo gedit /etc/smb.cred
   and copy the following lines into the editor:
   username=YOUR_USERNAME
   password=YOUR_PWD
 - Type in a terminal: sudo chmod 600 /etc/smb.cred
After a reboot there should be a link on your desktop pointing to the share.
If you have problems, there is some additional information in the above link.

Can you help with this problem?

Provide an answer of your own, or ask Seoulhawk for more information if necessary.

To post a message you must log in.