SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
9.1/9.2 Pro: smbmount not supported by Kernel! [solved]
I get this error:
SE:/sbin # mount.smbfs //VI/Folding /home/ed/V_Folding/
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
or
SE:/home/ed # mount -t smbfs //VI/Folding /home/ed/V_Folding/ -o username=Guest,uid=ed
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
What could it be that desn't let me mount SMBs?
Help would be appreciated!
SE:/home/ed # smbmount //VI/Folding /home/ed/V_Folding -o username=VI,password=
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
SE:/home/ed #
SE:/home/ed # mount -t smbfs -o username=VI,password= //VI/Folding /home/ed/V_Folding/
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
SE:/home/ed #
I already put it like that in fstab and I was wondering why it wasn't working...
Did mount -a and that when i found this funny kernel error.
cd /usr/src/linux
make xconfig
File Systems, Network Filesystems
Make a module or add smb_fs:
"SMB file system support (to mount Windows shares etc.) (SMB_FS)
SMB (Server Message Block) is the protocol Windows for Workgroups
(WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
files and printers over local networks. Saying Y here allows you to
mount their file systems (often called "shares" in this context) and
access them just like any other Unix directory. Currently, this
works only if the Windows machines use TCP/IP as the underlying
transport protocol, and not NetBEUI. For details, read
<fileocumentation/filesystems/smbfs.txt> and the SMB-HOWTO,
available from <http://www.tldp.org/docs.html#howto>.
Note: if you just want your box to act as an SMB *server* and make
files and printing services available to Windows clients (which need
to have a TCP/IP stack), you don't need to say Y here; you can use
the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
for that.
SE:/usr/src/linux # make xconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2
SE:/usr/src/linux #
For running 'make xconfig' you will need the qt3-devel package. But it is not necessary to re-compile the kernel anyway. smbfs is included in the standard kernels of SUSE. You will find out if you type 'zcat /proc/config.gz | grep SMB_FS'.
So your problem is probably syntax-related or you did not install the package 'samba-client'. Try 'rpm -qa | grep samba' to find out.
I successfully mounted a samba-share (as root) with
Code:
mount -t smbfs //server/directory /mountpoint -o username=name
default install will have only pre-compiled kernel, no sources, if you install these, sources will be clean so menuconfig will show nothing. Plus you need to run it from kernel source folder.
If you want to check what is there, either run
lsmod (if smbfs is module), or check config file in /boot
So that's still no good (I'm accessing this through a shell (no choice)).
There is no SMBFS or anything like that at 'lsmod'.
In the config file in boot:
Code:
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_ACL=y
CONFIG_NFS_ACL_SUPPORT=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_STATD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp850"
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_NCP_FS=m
CONFIG_NCPFS_PACKET_SIGNING=y
CONFIG_NCPFS_IOCTL_LOCKING=y
CONFIG_NCPFS_STRONG=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_SMALLDOS=y
CONFIG_NCPFS_NLS=y
CONFIG_NCPFS_EXTRAS=y
CONFIG_CODA_FS=m
# CONFIG_CODA_FS_OLD_API is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_AFS_FS=m
CONFIG_RXRPC=m
#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
CONFIG_OSF_PARTITION=y
# CONFIG_AMIGA_PARTITION is not set
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
# CONFIG_MINIX_SUBPARTITION is not set
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_NEC98_PARTITION=y
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_EFI_PARTITION=y
This is weird! Let's go step by step through your problems:
1. make xconfig still doesn't work:
You cannot run xconfig as root without exporting the display first. That's why I usually make the kernel configuration/compilation as user.
2. Why is there no smbfs?
I have one idea: did you run 'Online Update' recently? And did you reboot afterwards? If not, do so, because otherwise the current kernel doesn't find its modules anymore. If 'rpm -q kernel-default' returns something else than 'uname -r', this is the case.
Is this it then... A restart is needed
What am I going to do about the uptime that I'm so proud of?
OK here goes...
No wait, actually I'll restart the 9.2 box.
Ok:
OK
Yes!!!
Excellent! Thanks very much...
You know how it is with linux that you get used to not restarting...
ed@SE:~> uptime
5:37pm up 61 days 2:04, 1 user, load average: 1.01, 1.01, 1.00
ed@SE:~>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.