Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon
i386 GNU/Linux
I downloaded the file named bcm4400-1.0.1.tar.gz which is the driver for my network card (its integrated on my asus board and it’s a Boardcom 4400 10/100 Ethernet Card)
Anyhow I fallowed the very simple instructions and extracted it to a directory, went into the SRC folder and ran the command
Originally posted by Monkeysee im very much a n00b at linux. ive had it for like 3 days :D lol
i have not done "kernel-source /-headers" could someone tell me how to do that?
-Monkeysee
If you're using RedHat, Mandrake,
SuSE or another RPM based distro do
Code:
su -
rpm -qa | grep -i kernel
And as for how to install it: if the above
commands yield no output, find your
distro's software installation tool and search
the CD's for packages saying kernel.
I assume you are running kernel version 2.4.20-8 and using grub as your boot manager.
The problem with kernel and loadable modules is the need for consistent versions of kernel and modules. You must have a framework for including your own modules. This can be achieved by the procedure below.
I will warn you that you might end up with a system you cannot start. This is a standard warning for all changes on kernel and grub.
As far as I can recall here is what I did to install a loadable module driver for my wireless card:
1. Install kernel source and headers (kernel-source-2.4.20-8.i386.rpm)
2. Install development tools and libraries (gcc-3.2.2-5.i386.rpm and libgcc-3.2.2-5.i386.rpm) There might be some packages that the above mentioned packages are dependent on. They should be installed as well.
3. Read /usr/src/linux-2.4.20-8/README and run make oldconfig.
4. Select configs/kernel-2.4.20-athlon.config as your model for configuration and do not change other parameters
5. run "make dep"
6. run "make bzImage"
7. run "make modules"
8. as root run "make modules_install"
9. as root run "make install"
10. as root run "mkinitrd "/boot/initrd-2.4.20-8-custom.img 2.4.20-8-custom"
11. before reboot you might look into the /etc/grub.conf file and the /boot directory to verify the settings.
12. reboot your machine and select boot of linux-2.4.20-8-custom.
13. Now you can run the customization of the kernel with the new loadable module. Most of those locates kernel source automatically and you can accept defaults.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.