Driver Installation Ubuntu kernel 2.6.17 Basic Help
ahuguet at cttc.es
ahuguet at cttc.es
Thu Apr 5 05:51:28 EDT 2007
Thank you a whole bunch Bob, for your explanations and suggestions.
> maybe add a
> 2.5 'make -C /usr/src/linux-source-2.6.17 SUBDIRS=./ clean'
If I do this, I get:
Then: make -C /usr/src/linux-source-2.6.17 SUBDIRS=./ modules
Building modules, stage 2.
Then: make -C /usr/src/linux-source-2.6.17 SUBDIRS=./ modules_install
So, as you can see no errors shown.
And I purposedly wrote a line in hostap_80211_rx.c that is literally:
So it should give an error. But as you see, it did not.
Instead, using only: make -C /usr/src/linux-source-2.6.17 seems to launch
the compiling in a better way, and the error appears.
Since I used the make -C /usr/src/linux-source-2.6.17 SUBDIRS=./ clean
command now, this latter make took more time than before. But if that
order is omitted, the make takes significantly less time.
In any case...
once the make, and then make modules_install commands are done, in order
to have the new modules up and running should I do the following?
rmmod hostap (or modprobe -r hostap)
Would that load the newly compiled modules?
And even another thing:
Once I have compiled the hostap modules, that are then stored at:
and that are hostap.ko, hostap_cs.ko, hostap_pci.ko, hostap_plx.ko right?
Could I simply copy this modules, and paste them in another linux
distribution computer, inside its modules folder, and load them with
That is, are the modules to be found on
I'd like trying to port the modules of my Ubuntu 188.8.131.52 kernel to a
Knoppix system with 184.108.40.206.
If I can't I guess I'll have to port the code (hostap .c and .h files)
compile anew there, make modules, and use them, but I wondered if I could
skip the compilation process there.
Thanks again for all the help.
More information about the HostAP