Driver Installation Ubuntu kernel 2.6.17 Basic Help
bob.beers at gmail.com
Thu Mar 22 08:52:21 EDT 2007
On 3/21/07, Jouni Malinen <j at w1.fi> wrote:
> On Wed, Mar 21, 2007 at 12:01:14PM +0100, ahuguet at cttc.es wrote:
> > Reading it, seems that the only way to make use of that HostAP driver
> > (with modified code lines on .c and .h files) is to compile the kernel
> > anew?
> > Couldn't be a way to just tell the system to compile HostAP, and use
> > "new" version, without need of recompiling the whole kernel?
My "secret recipe" for compiling just an individual driver is
1 - cd to the hostap directory, /usr/src/linux-source-2.6.17
2 - make your changes and save them
3 - 'make -C /usr/src/linux-source-2.6.17 SUBDIRS=./ modules'
4 - 'make -C /usr/src/linux-source-2.6.17 SUBDIRS=./ modules_install'
5 - 'depmod -ae'
Then do the rest of what Jouni says; reload (the new) modules, and try it
If you build Host AP driver as a kernel module, you can just rebuild it
> and reload the modules to update the driver without having to
> rebuild or reboot the full kernel.
I hope this is helpful, (and anyone who finds an error, please correct me!)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP