Originally Posted by litlmary
You only need to recompile the kernel if you are bent on using smbfs. The default kernel works fine. Recompiling in Suse is also a chore because of the lack of a .config file ("make oldconfig" wont even get it for me!). As I have said elsewhere, smbfs is depricated and cifs is backward compatible with it. If you use cifs instead of smbfs in your fstab or CLI mount string it should be good, so long as the cifs module is loaded.
In regards to the NAS box demanding a user/pass, fstab is not a secure place to keep that info, since all users can view it. You can specify a credentials file instead and then set its permissions to ensure that everyone but root is forbidden.
serious smbfs problem in 10.2
Hi after upgrading from suse 10.1 to suse 10.2 i can acccess my samba partitions . I receive the folloiwng message
ERROR: smbfs filesystem not supported by the kernel
My /etc/fstab line is
//perasma/mp3 /media/mp3 smbfs password='' 0 0
I am searching to google to find a solution and find out some suggestions to replace smbfs and make it cifs
//perasma/mp3 /media/mp3 cifs password='' 0 0
Still i cant mount it..
I also find to the google many novell guys complaining about that and they suggest to compile the kernel to add smbfs support to kernel. I cant believe (really i can't) that suse has left smbfs support outisde kernel. Do u knw any other solution... except kernel compiling? and if not i would need a suse link of how to compile a suse kernel(cause as far as i know suse has a little different way tocompile kernels)
Registered: Jan 2004
Distribution: SuSE 8.1/.2, 9.0/.1/.2
Originally Posted by alaios
Do u knw any other solution... except kernel compiling? and if not i would need a suse link of how to compile a suse kernel(cause as far as i know suse has a little different way tocompile kernels)
Originally Posted by Marius2
Try to mount with cifs filesystem instead of smbfs (mount
-t cifs instead of -t smbfs). Note: with a quick try, this
didn't work for me, so I recompiled the kernel.
After this, cifs worked as well as smbfs.
1. install kernel source with yast
2. cd /usr/src/linux
3. make cloneconfig
4. make menuconfig (choose filesystem -> network file
systems -> SMBFS)
5. make prepare
6. make all
7. make modules_install
Unread Today, 02:32 PM #7
Registered: Jun 2005
Distribution: OpenSUSE 10.2
Originally Posted by alaios
Come on plz help me.. .i cant work on my pc i have to mount that damn windows 98 shared folder...HELP
I came here with the same 10.2/SMBFS issue and followed Marius2's advice. Worked first time, although recompile took longer than I expected - over an hour to compile the new kernel. But results were spectacular! Drop SMBFS right now and go w/CIFS - it's part of the Samba suite anyway. I edited my /etc/fstab with this line:
//computer_name/share /localmachine/mount-point CIFS auto,gid=users,credentials=passwd_filename 0 0
Make sure you chmod 600 the passwd_file so only root can read it. Passwd file format is
username = user w/access privileges on MS box
password = secret
Now my network shares on my W2k domain controller are all visible and mount at boot up. Just what I wanted! BTW You may have to use yast2 to install not only the kernel source packages, but also the gcc compiler and curses as well. Not hard to do at all. Kudos to Marius2