LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-18-2004, 12:20 PM   #1
lupus9537
LQ Newbie
 
Registered: Apr 2004
Location: Mechelen, Belgium
Distribution: Debian
Posts: 14

Rep: Reputation: 0
mount Smbfs problem


Hello everyone!

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

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 !
 
Old 04-18-2004, 12:48 PM   #2
comp12345
Member
 
Registered: Feb 2004
Posts: 467

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

Last edited by comp12345; 04-18-2004 at 12:50 PM.
 
Old 04-18-2004, 02:25 PM   #3
lupus9537
LQ Newbie
 
Registered: Apr 2004
Location: Mechelen, Belgium
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
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 ?
 
Old 04-18-2004, 11:19 PM   #4
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
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
 
Old 04-26-2004, 09:33 AM   #5
lupus9537
LQ Newbie
 
Registered: Apr 2004
Location: Mechelen, Belgium
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks !

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

Thanks a lot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 04:30 PM
small problem with smbfs mount synapse Slackware 4 03-16-2005 10:26 AM
mount.smbfs problem lewkh Red Hat 3 03-11-2005 12:39 PM
cannot mount smbfs flipboi Linux - Security 2 08-12-2004 10:18 AM
mount -t smbfs loganwva Linux - Networking 1 10-21-2003 12:02 PM


All times are GMT -5. The time now is 01:09 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration