LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A question of modules (https://www.linuxquestions.org/questions/linux-newbie-8/a-question-of-modules-149548/)

Seventh 02-23-2004 10:27 AM

A question of modules
 
I have bcm5700.o for the broadcom adapter working.

How do I go about making it permanent? If I reboot, I need to do an insmod again.

(Debian / 2.2.20)

*starts googling*

Thanks in advance. :)

Seventh 02-23-2004 10:42 AM

A wee more info:

The bcm5700.o file exists (and seems to only exist) in /usr/src/bcm5700-7.1.22/src.

I've a sneaking suspicion that it shouldbe somewhere else.

I did a make install in the src folder, and it made bcm5700.4.gz, which extracts to bcm5700.4

What's this file for?

Oliv' 02-23-2004 11:41 AM

You have differents ways to make it available at boot:
1) make a dummy script which looks like that:
case $1
start)
insmod PATH/bcm5700.o
;;
stop)
rmmod bcm5700
;;
you put it in /etc/rc.d/init.d/ directory (The path may be different with your Red Hat but the last directory must be init.d) and make a symlink call S89script_name in rc5.d directory and another call K01script_name in rc0.d and rc6.d directory
2) another way is to use /etc/modules.conf directory but I don't remember how it works :P

If the install script works correctly, your module should be copied in /lib/modules/2.2.20/kernel/driver.... directory
bcm5700.4 file is the man page file... should be placed in/usr/share/man/man4/ or something like that... you can try to view it without man command by processing: nroff bcm5700.4 | less or something similar

Seventh 02-23-2004 12:28 PM

Worked perfectly, thank you very much. :)


All times are GMT -5. The time now is 08:59 AM.