Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
madwifi question
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
rotem
n00b
n00b


Joined: 23 Nov 2002
Posts: 12
Location: USA

PostPosted: Wed Nov 26, 2003 11:02 pm    Post subject: madwifi question Reply with quote

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
View user's profile Send private message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Thu Nov 27, 2003 2:46 am    Post subject: modprobe or insmod Reply with quote

To test to see if it works like it should, you can just type
Code:
modprobe module_name

or
Code:
insmod module_name

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
View user's profile Send private message
rotem
n00b
n00b


Joined: 23 Nov 2002
Posts: 12
Location: USA

PostPosted: Thu Nov 27, 2003 3:48 am    Post subject: Reply with quote

I don't know what I was thinking. I knew about the autoload.
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