Insmod seems to be missing (FC4 latest kernel)
Ok, I'm a relative Linux noob. I've managed to successfully download, make, make install, and cp the daily tarball for the rt2570 drivers (rt2570-cvs-2006031713) into rt2570.ko just fine. All of this was done as su (root privileges).
Then I get to insmod (still su, mind you), and I get back: bash: insmod: command not found I checked, and kernel-devel is installed. I'm running FC4 with kernel 2.6.15-1.1833-FC4 in i686 mode. I did a man insmod, and I got the man page to come up for it, but no insmod itself. I'm guessing there's a package I'm missing, but I'm not sure what it is. I ran yum upgrade successfully just a couple of hours ago. Any help would be appreciated. |
This is typical of Fedora, you can't use the commands reserved to root in any directory. These commands are located in /sbin, so you can go to /sbin, and then type ./insmod.
If you want to avoid this problem again, you have the change the root's PATH. |
A little harsh victorh.
cynicalicious, use "su -" instead of "su" to avoid this problem. |
Thanks-- going into /sbin and running insmod and depmod as ./insmod & ./depmod -a worked.
Now the next question is how do I change the root's path so that next time it'll work without having to go into /sbin? |
Quote:
You're right it's much better solution. |
Quote:
|
Thanks. I understand it now. I looked back at the HOWTO for the rt2570 driver, and I missed the "- root" after the "su", thinking that just using "su" was enough. Thanks for the info-- I understand the use of "su" much better now. :D
|
All times are GMT -5. The time now is 06:36 PM. |