View previous topic :: View next topic |
Author |
Message |
archer75 n00b
Joined: 17 Nov 2002 Posts: 44
|
Posted: Thu Nov 21, 2002 3:45 am Post subject: smbfs not compiled into the kernel |
|
|
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 |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Thu Nov 21, 2002 3:54 am Post subject: |
|
|
maybe try emergeing samba |
|
Back to top |
|
|
archer75 n00b
Joined: 17 Nov 2002 Posts: 44
|
Posted: Thu Nov 21, 2002 8:00 am Post subject: |
|
|
I tried emerging samba again. When it was done I rebooted, same errors. |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Thu Nov 21, 2002 8:32 am Post subject: |
|
|
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 |
|
|
gatos n00b
Joined: 11 Nov 2002 Posts: 30
|
Posted: Thu Nov 21, 2002 9:18 am Post subject: Did you? |
|
|
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 |
|
|
zoomtard n00b
Joined: 31 May 2002 Posts: 32
|
Posted: Thu Nov 21, 2002 1:44 pm Post subject: |
|
|
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 |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Thu Nov 21, 2002 4:46 pm Post subject: |
|
|
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 |
|
|
archer75 n00b
Joined: 17 Nov 2002 Posts: 44
|
Posted: Thu Nov 21, 2002 7:09 pm Post subject: |
|
|
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 |
|
|
archer75 n00b
Joined: 17 Nov 2002 Posts: 44
|
Posted: Thu Nov 21, 2002 7:17 pm Post subject: Re: Did you? |
|
|
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 |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Thu Nov 21, 2002 11:01 pm Post subject: |
|
|
are you absolutely sure you copied your kernel to a MOUNTED boot partition instead of the filesystems placeholder!? |
|
Back to top |
|
|
archer75 n00b
Joined: 17 Nov 2002 Posts: 44
|
Posted: Thu Nov 21, 2002 11:32 pm Post subject: |
|
|
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 |
|
|
|