Still having problems in Ubuntu with the fixed channel being -1 when using
aircrack and friends? Luckily, the solution does not require patching this time (as it used to), as the following solution (obtained from this forum post) now works for me. The problem is basically that the channel can not be changed while the card is in monitor mode.
Just create a bash script as such:
1 2 3 4 5 6 7 8 9 10 11 12
And everything should work just fine. Just continue to use
wlan0) in all subsequent commands (
airodump,…) you use. Naturally, you do not need to use
airmon-ng anymore to put the network card in monitor mode (as
$IFACE now already is in monitor mode).