Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
smbfs not compiled into the kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
archer75
n00b
n00b


Joined: 17 Nov 2002
Posts: 44

PostPosted: Thu Nov 21, 2002 3:45 am    Post subject: smbfs not compiled into the kernel Reply with quote

When I try to mount a windows drive on the network via LinNeighborhood it says the kernel does not support the smbfs. I checked the kernel and sure enough, it was not compiled in. So I recompiled the kernel and rebooted the machine and I still get them error. I checked the kernel again to verify it was compiled in and it was.
How do I fix this?
Back to top
View user's profile Send private message
digitalnick
Apprentice
Apprentice


Joined: 30 Jun 2002
Posts: 243
Location: Lawrence KS USA

PostPosted: Thu Nov 21, 2002 3:54 am    Post subject: Reply with quote

maybe try emergeing samba
Back to top
View user's profile Send private message
archer75
n00b
n00b


Joined: 17 Nov 2002
Posts: 44

PostPosted: Thu Nov 21, 2002 8:00 am    Post subject: Reply with quote

I tried emerging samba again. When it was done I rebooted, same errors.
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Thu Nov 21, 2002 8:32 am    Post subject: Reply with quote

are you sure you updated your kernel correctly?

make sure u mount your /boot partition before u copy your kernel from the /usr/src dir to your /boot :)
Back to top
View user's profile Send private message
gatos
n00b
n00b


Joined: 11 Nov 2002
Posts: 30

PostPosted: Thu Nov 21, 2002 9:18 am    Post subject: Did you? Reply with quote

which kernel option exactly is enabled in your Kernel-config file?
after that, smbd and nmbd is up?
Did you try a smbmount by shell cmd?
Back to top
View user's profile Send private message
zoomtard
n00b
n00b


Joined: 31 May 2002
Posts: 32

PostPosted: Thu Nov 21, 2002 1:44 pm    Post subject: Reply with quote

grep SMB /usr/src/linux/.config

Output like:
CONFIG_SMB_FS=x
Should appear. X is either Y(yes) N(no) or M(module)

If you compiled it as a module, make sure the module is loaded either at startup using /etc/modules.autoload or while the machine is running by running modprobe smbfs (i think that's the right name of the module)

emerge samba again just for sh*ts and giggles...besides, there's a new version in the portage collection anyway

/etc/init.d/samba start
make sure smbd is running, nmbd is only useful to resolve netBIOS names but it's a package deal IIRC. If it won't start correctly, kill off any smbd and nmbd processes and try again.

Also, are you providing a username and password when mounting the shared dir? try mount -t smbfs -o username=xxxxx,password=xxxxx,rw //winderz/share /mnt/

username meaning a username on the shared machine that has access to the shared dir
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Thu Nov 21, 2002 4:46 pm    Post subject: Reply with quote

Isn't smbd only necessary for serving files? I can connect to a smbfs using the mount command without having samba running (unfortunately I can't actually mount the drive due to problems with authenticating yet).
_________________
Excellent..
Back to top
View user's profile Send private message
archer75
n00b
n00b


Joined: 17 Nov 2002
Posts: 44

PostPosted: Thu Nov 21, 2002 7:09 pm    Post subject: Reply with quote

zoomtard wrote:
grep SMB /usr/src/linux/.config

Output like:
CONFIG_SMB_FS=x
Should appear. X is either Y(yes) N(no) or M(module)

If you compiled it as a module, make sure the module is loaded either at startup using /etc/modules.autoload or while the machine is running by running modprobe smbfs (i think that's the right name of the module)

emerge samba again just for sh*ts and giggles...besides, there's a new version in the portage collection anyway

/etc/init.d/samba start
make sure smbd is running, nmbd is only useful to resolve netBIOS names but it's a package deal IIRC. If it won't start correctly, kill off any smbd and nmbd processes and try again.

Also, are you providing a username and password when mounting the shared dir? try mount -t smbfs -o username=xxxxx,password=xxxxx,rw //winderz/share /mnt/

username meaning a username on the shared machine that has access to the shared dir


Output looks like:
CONFIG_SMB_FS=y
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_SMB_NLS=y
Back to top
View user's profile Send private message
archer75
n00b
n00b


Joined: 17 Nov 2002
Posts: 44

PostPosted: Thu Nov 21, 2002 7:17 pm    Post subject: Re: Did you? Reply with quote

gatos wrote:
which kernel option exactly is enabled in your Kernel-config file?
after that, smbd and nmbd is up?
Did you try a smbmount by shell cmd?


it shows samba is started then says support is not compiled into the kernel. I don't know what nmbd is and cannot find it in the kernel.
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Thu Nov 21, 2002 11:01 pm    Post subject: Reply with quote

are you absolutely sure you copied your kernel to a MOUNTED boot partition instead of the filesystems placeholder!?
Back to top
View user's profile Send private message
archer75
n00b
n00b


Joined: 17 Nov 2002
Posts: 44

PostPosted: Thu Nov 21, 2002 11:32 pm    Post subject: Reply with quote

puddpunk wrote:
are you absolutely sure you copied your kernel to a MOUNTED boot partition instead of the filesystems placeholder!?


Yes, I mount the boot partition prior to doing this.
mount /dev/hdb2 /mnt/gentoo/boot

And then
mv /boot/bzImage /boot/bzImage.orig

cp /usr/src/linux/arch/i386/boot /boot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum