LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-15-2007, 01:38 AM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
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)
 
Old 02-15-2007, 03:40 AM   #2
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
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.
 
Old 02-15-2007, 04:21 AM   #3
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
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.

Last edited by Marius2; 02-15-2007 at 04:34 AM.
 
Old 02-15-2007, 04:22 AM   #4
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
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.

Last edited by Marius2; 02-15-2007 at 04:23 AM.
 
Old 02-15-2007, 08:46 AM   #5
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
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)
 
Old 02-19-2007, 03:32 AM   #6
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
Come on plz help me.. .i cant work on my pc i have to mount that damn windows 98 shared folder...HELP
 
Old 02-25-2007, 01:32 PM   #7
jhaigh
LQ Newbie
 
Registered: Jun 2005
Distribution: OpenSUSE 10.2
Posts: 2

Rep: Reputation: 0
Wink

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
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
 
Old 02-26-2007, 02:00 PM   #8
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smbfs getting problem!!! lewkh Red Hat 2 07-28-2005 01:48 AM
smbfs problem in suse 8.2 seagreen SUSE / openSUSE 1 03-21-2005 03:51 AM
mount.smbfs problem lewkh Red Hat 3 03-11-2005 11:39 AM
Webmin + smbfs problem Whitman Linux - Networking 2 06-14-2004 05:38 AM
smbfs mounting problem naveentpr Linux - Software 1 12-25-2003 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration