LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2004, 11:27 AM   #1
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
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.
 
Old 02-23-2004, 11:42 AM   #2
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
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?

Last edited by Seventh; 02-23-2004 at 11:50 AM.
 
Old 02-23-2004, 12:41 PM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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
 
Old 02-23-2004, 01:28 PM   #4
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
Worked perfectly, thank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modules question??? slr Mandriva 3 07-12-2004 11:07 AM
A Question About Modules chris26 Linux - Newbie 1 11-01-2003 09:03 PM
Modules question coolthinker Linux - Newbie 4 08-02-2003 06:02 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM


All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration