View previous topic :: View next topic |
Author |
Message |
rotem n00b
Joined: 23 Nov 2002 Posts: 12 Location: USA
|
Posted: Wed Nov 26, 2003 11:02 pm Post subject: madwifi question |
|
|
After I emerge or compile the driver myself and put the files in /lib/modules/{KERNEL_VERSION}/net/ do I need to add the modules to modules.conf or something of that sort?
What makes inserts them into the kernel after boot each time?
Thanks,
Rotem. |
|
Back to top |
|
|
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Thu Nov 27, 2003 2:46 am Post subject: modprobe or insmod |
|
|
To test to see if it works like it should, you can just type
Code: | modprobe module_name |
or
Then, when you have it working the way you like, you can put the module name (without the .o) in /etc/modules.autoload/kernel-version.
For me, I have an admtek 8211 based wireless card, and /etc/modules.autoload/kernel-2.4 ihas this:
Code: |
# /etc/modules.autoload.d/kernel-2.4: kernel modules to load when system boots.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload.d/kernel-2.$
#
# Note that this file is for 2.4 kernels. If you need different modules
# for a 2.5 kernel, you can create /etc/modules.autoload.d/kernel-2.5
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.
# For example:
# 3c59x
8211
|
Hope that helps,
- dpl _________________ puto risi vidi |
|
Back to top |
|
|
rotem n00b
Joined: 23 Nov 2002 Posts: 12 Location: USA
|
Posted: Thu Nov 27, 2003 3:48 am Post subject: |
|
|
I don't know what I was thinking. I knew about the autoload. |
|
Back to top |
|
|
|