View Single Post
  #6 (permalink)  
Old 07-Jul-2009, 10:14
suse_tpx60s's Avatar
suse_tpx60s suse_tpx60s is online now
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 454
suse_tpx60s hasn't been rated much yet
Default Re: Mounting remote fliesystems - Permanent or temporary?

Quote:
Originally Posted by ken_yap View Post
The correct way is to use the smbfs service (/etc/init.d/smbfs). This reads /etc/samba/smbfstab which contains a list of filesystems to mount. It also is sequenced after the network is up so that it won't before that happens. It's probably configured from YaST. I'm guessing, but yast2-samba-client looks like the required package for the YaST menus.

However I don't use it myself, this is what I deduce from reading the comments and knowing how init scripts work. Maybe swerdna can explain it in more detail.
This seems like the way to go, except I have a few problems. I've added the mount points to the smbfstab. When I go to YAST system services smbfs looks like it's started but has a * next to it - like "Yes*". When I click on expert mode suddenly the smbfs service is not running and any attempt to start it comes up with
p, li { white-space: pre-wrap; } /etc/init.d/smbfs start returned 6 (program is not configured):
How do I get the service started?

I have the samba-client installed but not samba. From everything I've read only the samba-client is required for accessing windows shares as I don't intend to share anything on my Linux system. Do I still need to install samba for this to work? I can manually mount and rwx everything on the XP box as things are at the moment.
My smbfstab like like this:
Code:
//IP_address_of_XP_box/shared_drive       /path_to/mount_point      cifs      sername="user name",password=password
The quotes are around username as the username has a space in it.
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote