LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount Smbfs problem (https://www.linuxquestions.org/questions/linux-newbie-8/mount-smbfs-problem-171665/)

lupus9537 04-18-2004 11:20 AM

mount Smbfs problem
 
Hello everyone!

I must admit i'm a complete noob in linux, but let's hope I"m a fast learner :D

I've installed a dedicated server with the Debian distribution. Apache, mysql, ftp... all is ok. But I'm having problems with the mounting smb shares on my Windows XP.

I installed smbfs and samba with the included "dselect" program. All other required packages are installed as well.

If I use 'smbclient //lupus/www' I can access the files correctly, and even upload en download files. So I think that means everything should be fine. It asks a password, but I can access them without entering anything.

Now I want to mount a share in linux :

SERVER:/mnt# mount -t smbfs //lupus/www /mnt/xp
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
SERVER:/mnt#


Please help !

comp12345 04-18-2004 11:48 AM

It would help if you tell us what kernel version you are using (uname -r). Are you using a stock kernel or one that you compiled yourself? It is complaining that smbfs support is missing from the kernel. Try a "modprobe smbfs" to see if it loads (assuming it was compiled as a module). If it is your own compiled kernel, check your configuration to see if you have smbfs support under the network file systems.

lupus9537 04-18-2004 01:25 PM

Hi!

I'm using version 2.2.20-idepci
I recently downloaded the mini-install ISO. With this cd you can install Debian through HTTP.

I did not compile it myself. I just went through the installer, and after the bootstrap installation it opened the Dselect program to install other packages (like apache, php, mysql, ftpd, telnet ...)

At this point I was able to install SMBFS and SAMBA, and it asked to install some other required packages.

If I try the modprobe, this is the message :

modprobe: Can't locate module smbfs


So this means, probably, there's still something missing (in the kernel ?)
You you tell me exactly how I can solve this ?

comp12345 04-18-2004 10:19 PM

I think the 2.2.x version of the Linux kernel did not include Samba file system support. You will need to upgrade your kernel to the 2.4 or 2.6 series

lupus9537 04-26-2004 08:33 AM

Thanks !

I (finally) managed to install kernel 2.4 with the built-in smbfs support. Everything works fine in 2 ways!

Thanks a lot! :D


All times are GMT -5. The time now is 09:25 PM.