Tuesday, March 30, 2010

Latex: file ended while scanning use of citex

The main cause is because you did not use a proper closing
brace for the argument. You will also typically see something
that talks about a runaway argument. This problem can be also
because you used a closing bracket, but of the incorrect type.
E.g. round braces instead of curly ones.

Putting the correct closing brace should solve the problem.

Monday, March 29, 2010

Dynamically changing channel or frequency hopping in madwifi

Can be implemented in two ways:

1. Using the function ath_set_channel()
This will allow you to change the channel from within the driver,
based on certain conditions. However, this will also reset the driver.

2. A simple iwconfig.
$> iwconfig ath0 channel X
where, X could be a channel number like 36.