Quote:
Originally Posted by cbsimpson
now when I cd to the uncompressed folder and type ./configure it gives me an error message.
|
If you can't get this to work, then everytihing else is irrelevant, so we need to start here. Can you post the error message?
Quote:
then I have no idea what this means when it says "make make install" what exactly do I type.
|
You probably got this right, but it didn't work because the
confiugre step didn't work. But just to be absolutely clear, what you type is:
The
make install command needs to be executed as
root, so if you are still a regular user, type
su (and give
root's password when prompted) before
make install. I would generally run
configure and
make as a normal user and
su to root for
make install, but the normal user, of course, must have write permissision for the directory you ared doing this in.
Quote:
then what does insert the module mean and what is the proper directory to copy the newly created module to. what does the line "+ cp rt73.ko lib/modules/{kernelrev}/drivers/net/Wireless" mean
|
As best as I can figure out, "insert module" simply refers to the
cp (copy) command that follows.
{kernelrev} simply referst to your current kernel revision, which you can find out by typing the command:
It might help you understand what you are doing (and hence make the commands a little less mysterious) if I give a brief explanation ... Linux can dynamically load and unload "kernel modules" while it is running to give it more or less fucntionality. (This removes the need to compile every conceivable thing into the kernel, which could result in a
huge kernel.) Device drivers are usually compiled as kernel modules (frequently just called "modules"), which is what (when it finally works!) you just did. Each kernel version has its own directory try in
/lib/module for the modules that were compiled for it. I sugest you look at this by typing
If you just have one version of the Linux kernel on you machine, you will only see one directory. Otherwsise you will see one for each kernel version. The
cp command copies your newly compile kernel into the correct directory.
So if (for example)
uname -r returned
2.6.17-3, you would type:
Code:
cp rt73.ko lib/modules/2.6.17-3/drivers/net/Wireless
Quote:
and also how do I "activate the module".
|
Again, as best as I can figure, "activating the module" simply refers to loading the module into the running kernel with the command:
Code:
/sbin/modprobe rt73
Both the
cp command and the
modprobe command command need to be run as
root. In other words, you can do the
./configure and
make commands as a normal user and then you must become
root (using
su) to run the
make install,
cp and
modprobe commands. And now that I review this, this sequence of commands sounds a little weird, because usually
make install will copy any modules where they need to be, and you wouldn't have a
cp command. So I don't know what to tell you about that -- I guess just follow the instructions, but it does seem strange.
But first, you must get the
./configure step to work, so please post the error message that that is giving you.