LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   serious smbfs problem in 10.2 (https://www.linuxquestions.org/questions/suse-opensuse-60/serious-smbfs-problem-in-10-2-a-529200/)

alaios 02-15-2007 01:38 AM

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)

EclipseAgent 02-15-2007 03:40 AM

smbfs has been depreciated..

Do a quick search for smbfs, you'll find some work arounds..

As for "leaving it out" they didn't, they took it out on purpose due to security reasons.. Not the best decision IMO.. but they did the same to usbfs... and that broke usb with VMWare etc.

Marius2 02-15-2007 04:21 AM

Quote:

Originally Posted by alaios
Do u knw any other solution... except kernel compiling?

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.

Quote:

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)

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

That's it.

Marius2 02-15-2007 04:22 AM

Quote:

Originally Posted by EclipseAgent
As for "leaving it out" they didn't, they took it out on purpose due to security reasons.. Not the best decision IMO..

Actually, smbfs has been left out because it's currently
unmaintained. Use cifs instead.

alaios 02-15-2007 08:46 AM

Quote:

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

That's it.

Thx all for your replies atm my fstab entry is
//perasma/mp3 /media/mp3 cifs password='' 0 0

and when i try to mount it
akroneiro:/home/alaios # mount /media/mp3
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

The other pc (//perasma) is always on
//perasma/mp3 /media/mp3 cifs password='' 0 0

(i can see the //perasma/mp3 from kde)

alaios 02-19-2007 03:32 AM

Come on plz help me.. .i cant work on my pc i have to mount that damn windows 98 shared folder...HELP

jhaigh 02-25-2007 01:32 PM

Quote:

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

:study: 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

alaios 02-26-2007 02:00 PM

tThx a lot plz replying so i can make it work :(
I cant understand why u should recompile the kernel with cifs support.. it is already in the kernel. secondly i dont know how to recompile the kernel . I know suse has a special way to do that :(
I dont know the user name and password other pc has windows 98 and none username and password is used to access that pc... what should i place there


All times are GMT -5. The time now is 03:47 PM.