Saturday, June 5, 2010

Latex fancyhdr does not print the header/footer

Make sure that :
\usepackage{fancyhdr}
is present after the last usepackage tag. The following the begin{document} tag use the following code:
\pagestyle{fancy} %\thispagestyle{fancy}
\fancyhead{\textbf{--- This is a draft ---}}
%\fancyhead[CO,CE]{---Draft---}
The most important part is to remember that this code should be placed after the begin{document} tag, else the header will not print. The code mentioned above can be customized to make sure the header is printed as per custom requirements.

Thursday, June 3, 2010

How to enable debugging in the Madwifi HAL

This could prove useful in tracing order of the control flow in the Madwifi code. This flag can be enabled by setting
make HAL_DEBUG=1