[Click] correct setup for click and madwifi

Daniel Kellenberger kedaniel at ethz.ch
Mon Feb 25 04:30:09 EST 2008


hello together

For my master thesis I'm trying to get click and the madwifi driver 
working and I'm not sure about the correct setup. Can anybody confirm 
following steps? I hope these will help other guys faced with the same 
problem. How do I have to configure the madwifi driver to read packages 
with FromDevice and ToDevice?

Since the newest patch for the kernel is the one for 2.6.19, I got the 
vanilla kernel 2.6.19.7 and applied the patch with:
patch -p0 -b < CLICKDIR/etc/linux-2.6.19.2-patch
Compiled the new kernel.

Then I compiled and installed the madwifi driver 0.9.4 which works quite 
fine.

Finally i compiled and installed the click router with following 
configurations:

./configure --enable-test --enable-wifi --enable-intel-cpu --enable-analysis
make
sudo make install


Then i saw, that I have to change the mode to the monitor mode, is that 
right? That sould be done with:
wlanconfig ath0 destroy
wlanconfig ath create wlandev wifi0 wlanmode monitor
ifconfig athX up
-> After destroying and creating the number gets larger and larger, so 
that at the moment my new device would be "ath15". Did someone here got 
the same effect?

Is it neccessary to change the received packed header to the "Atheros 
Descriptors" with:
echo '804' > /proc/sys/net/athX/dev_type?

Is there anywhere a little tutorial or manual about click and madwifi? 
Thanks for your help.


More information about the click mailing list