DebianThis forum is for the discussion of Debian 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.
I'm tyring to add smbfs using the following instructions that I got from somone. Long and short of it...it doesn't work for me...are there any tutorials on this site that discuss adding modules? Any suggestions?
- apt-get the source (not image) of your current kernel (apt-get install kernel-source-`uname -r`.
- cd /usr/src/kernel-source-`uname -r`
- cp /boot/config-`uname -r` ./config
- make menuconfig (or whatever kind of config you want)
- Here, it's as if you're rolling your own kernel, but in fact all you want do is choose SMBFS support as a module. It's under ``filesystems'' or something pretty intuitive.
- Save & quit ...
- make-kpkg modules
Okay, I am learning as I go along here...thanks geekster
So I realized something tonight...I am using 2.2.20-compact. So is the 2.2.20 source going to do me any good? I did 'make modules' and then 'make modules_install' and it created /lib/modules/2.2.20/fs/smbfs.o; however, I cannot throw smbfs.o into /lib/modules/2.2.20-compact/fs b/c it complains about the smbfs.o being compiled for 2.2.20.
Any suggestions? At this point, I am looking for step-by-step instuctions on how to enable smbfs for 2.2.20-compact as a module.
1. Edit the Makefile and add EXTRAVERSION = -compact
2. cp /boot/config-2.2.20-compact ./.config
3. make menuconfig (add smbfs as a module)
4. make dep; make modules; make modules_install
5. restart (don't know if this is necessary)
6. modprobe smbfs
I get all kinds of unresolved symbol (too many to put in this thread) and the, "Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols..."
I'm either making some progress or in a patch of weeds...=)
Just a thought, but do you have the kernel headers installed for that particular kernel........Don't know if it's necessary being new to how things are done in Debian...........At any rate, you might want to email the kernel maintainer (mail link found on the "Overview" page)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.