PFJ
I did a yum install kernel-sourcecode which placed the source in /usr/ src. What config files do I need to copy into .config? I would have thought that compiling using the path indicated by Arjan would have worked.
OK a quick followup, here's what I did.
I installed the kernel-source-2.6.5-1.358
ln -s /usr/src/linux-2.6.5-1.358/ /usr/src/linux cp /usr/src/linux/configs/kernel-2.6.5-i586.config /usr/src/linux/.config make oldconfig make make modules_install make install
(reboot)
wget -nd ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-0.2.1pre21.tar.bz2 tar jxvf linux-wlan-ng-0.2.1pre21.tar.bz2 cd linux-wlan-ng-0.2.1pre21 less README make config make make all make install cd /etc/wlan/ less wlancfg-DEFAULT
(probably edited the file)
mv wlancfg-DEFAULT wlancfg-myESSIDhere
ln -s /home/X86/linux-wlan-ng-0.2.1pre21/etc/rc.wlan /etc/rc.d/init.d/ cd /etc/rc.d/init.d/ ./rc.wlan status ./rc.wlan start
chkconfig rc.wlan --add
...
The above is pieced together from my bash history, hope it helps. Use it for clues rather than as a recipe.
-Cam