»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-01-2003, 08:16 PM   #1 (permalink)
Registered User
 
washe's Avatar
 
Join Date: Feb 2002
Location: Mexicali, Mexico
Posts: 1,086
washe is on a distinguished road
Send a message via ICQ to washe
Loading modules at boot up?

What configuration file i need to change to load modules when i boot to linux?

washe is offline   Reply With Quote
Old 12-02-2003, 02:45 AM   #2 (permalink)
Registered User
 
CMonster's Avatar
 
Join Date: Oct 2001
Location: Sunny, smogy Southern California
Posts: 5,350
CMonster is on a distinguished road
you can add or uncomment them in /etc/modules.conf or you can add them with modprobe in /etc/init.d/boot.local -or- /etc/rc.d/rc.local depending on the distro.
CMonster is offline   Reply With Quote
Old 12-02-2003, 08:05 AM   #3 (permalink)
Registered User
 
washe's Avatar
 
Join Date: Feb 2002
Location: Mexicali, Mexico
Posts: 1,086
washe is on a distinguished road
Send a message via ICQ to washe
on MDK 9.2, I added on modules.conf

eth0 alias xxxx
do i need to add insmod path/xxxx
after that line?
__________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning."

Richard Cook
washe is offline   Reply With Quote
Old 12-02-2003, 08:59 AM   #4 (permalink)
Registered User
 
CMonster's Avatar
 
Join Date: Oct 2001
Location: Sunny, smogy Southern California
Posts: 5,350
CMonster is on a distinguished road
What module are you trying to load? If you have installed the module properly you probably don't need to add a path to it in modules.conf

What happens if you use modprobe to load the module?
CMonster is offline   Reply With Quote
Old 12-02-2003, 09:06 AM   #5 (permalink)
Registered User
 
washe's Avatar
 
Join Date: Feb 2002
Location: Mexicali, Mexico
Posts: 1,086
washe is on a distinguished road
Send a message via ICQ to washe
Ok.... here it goes...

I have a Wireless G card that riight now they are not modules that support it, I got a ndiswrapper to use the windows drivers (ughh), to let the card work....

I downloaded the source and compiled it correctly to a module called ndiswrapper.o

modprobe is satisfactory, i made a small script to make all the process that consist in the following

insmod path/ndiswrapper.0
./loaddriver eth0 xxxx xxxx windrv.sys windrv.inf
dhcpd

where xxxx xxxx are the address of the pci card.

with this i get a fully functional card... but i need to make this every time i boot not a problem but could be at boot time...
washe is offline   Reply With Quote
Old 12-02-2003, 02:19 PM   #6 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
Why not just make this a script, and then load it via rc.local or boot.local?
krohnjw is offline   Reply With Quote
Old 12-02-2003, 02:55 PM   #7 (permalink)
Registered User
 
washe's Avatar
 
Join Date: Feb 2002
Location: Mexicali, Mexico
Posts: 1,086
washe is on a distinguished road
Send a message via ICQ to washe
ok that sound good... do i add the script to rc.local or boot local?

or i need to place the script on a special folder?
__________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning."

Richard Cook
washe is offline   Reply With Quote
Old 12-02-2003, 04:53 PM   #8 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
place the script anywhere, i would put it in /usr/local/bin more than likely, and then just execute the script in rc.local
krohnjw is offline   Reply With Quote
Old 12-02-2003, 05:36 PM   #9 (permalink)
Registered User
 
washe's Avatar
 
Join Date: Feb 2002
Location: Mexicali, Mexico
Posts: 1,086
washe is on a distinguished road
Send a message via ICQ to washe
ok got it, will give a try tonight....
__________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning."

Richard Cook
washe is offline   Reply With Quote
Old 12-03-2003, 08:48 AM   #10 (permalink)
Registered User
 
CMonster's Avatar
 
Join Date: Oct 2001
Location: Sunny, smogy Southern California
Posts: 5,350
CMonster is on a distinguished road
Quote:
or you can add them with modprobe in /etc/init.d/boot.local -or- /etc/rc.d/rc.local depending on the distro.
CMonster is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:07 AM.