[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

best location for echo 100 > /sys/class/firmware/timeout

My Dell D610 runs  FC 3 2.6.12-1.1381_FC3.  I  installed
ieee80211-1.1.9 and ipw220-1.1.0 for my wireless NIC.
ipw2200 always fails to load during boot.  To work around
this, I  have to add "echo 100 > /sys/class/firmware/timeout"
to system startup scripts prior to the point at which the driver
module would be loaded. I tried to add the command to /sbin/
hotplug  and rc.sysint,  both of them didn't work.  I also added
"install ipw2200 /sbin/modprobe  --ignore-install ipw2200;
echo 100 > /sys/class/firmware/timeout"  to /etc/modprobe.conf.  
It still didn't work and took a very long time for probing hardware
during boot.

What file do I edit to do this?  I really have no clue!

Any help on this would be greatly appreciated.

Thanks,
0
Jerryleo
Asked:
Jerryleo
1 Solution
 
xDamoxCommented:
Hi,

Have you tried editing the /etc/rc.local file
0
 
ahoffmannCommented:
/etc/rc.boot, or /etc/init.d/boot (whatever exists)
0
 
JerryleoAuthor Commented:
Both of them didn't work. It must be added to system startup scripts prior to the point at which the driver module would be loaded.  Which system startup script it should be?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
pjedmondCommented:
Is there a manual command to shutdown the wireless and restart it?

Insert it into the first few lines of that script, and then add the restart wireless network command to the rc.local file.

Alternatively, if you want to carry this out 'correctly', then you need to edit the /etc/modules.conf file adding the following line or similar:

pre-install ipw2200 echo 100 > /sys/class/firmware/timeout

man modules.conf

for more info on the modules.conf file and available directives.

HTH:)
0
 
JerryleoAuthor Commented:
There is no modules.conf in FC 3.

It looked like it could have been a red herring.  IPW2200 can be loaded manually after loginning without increassing the timeout value.

I fixed the problem by adding an entry "alias eth1 ipw2200" in /etc/modprobe.conf.

 
0
 
pjedmondCommented:
/etc/modprobe.conf is the FC3 equivalent of modules.conf in FC 4

..possibly pointed in the right direction?..but feel free to PAQ and refund

0
 
NetminderCommented:
Closed, 50 points refunded.
Netminder
Site Admin
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now