Ath5k
Ath5k è il nuovo driver per le schede wireless con chipset atheros. A differenza di madwifi, ath5k è *completamente* open source.
Per maggiori informazioni, andate a vedervi il sito del progetto: http://wireless.kernel.org/
Istruzioni per lo sblocco dei canali
1) Installare un kernel che supporti ath5k. Noi abbiamo fatto le prove con il 2.6.26 ma dato che il progetto è in corso d'opera, non sono escluse modifiche sostanziali nelle prossime release. Dovete compilare il kernel con queste opzioni abilitate:
Networking --->
Wireless --->
<M> Improved wireless configuration API
<M> Generic IEEE 802.11 Networking Stack (mac80211)Device Drivers --->
[*] Network device support --->
Wireless LAN --->
<M> Atheros 5xxx wireless cards support2) cambiate il file: drivers/net/wireless/ath5k/ath5k.h alla linea 26 da
#define CHAN_DEBUG 0
a
#define CHAN_DEBUG 1
modificate inoltre il file net/wireless/reg.c dalla linea 58 alla 71 sostituando a:
static const struct ieee80211_channel_range ieee80211_US_channels[] = {
/* IEEE 802.11b/g, channels 1..11 */
RANGE_PWR(2412, 2462, 27, 6, 0),
/* IEEE 802.11a, channel 36*/
RANGE_PWR(5180, 5180, 23, 6, 0),
/* IEEE 802.11a, channel 40*/
RANGE_PWR(5200, 5200, 23, 6, 0),
/* IEEE 802.11a, channel 44*/
RANGE_PWR(5220, 5220, 23, 6, 0),
/* IEEE 802.11a, channels 48..64 */
RANGE_PWR(5240, 5320, 23, 6, 0),
/* IEEE 802.11a, channels 149..165, outdoor */
RANGE_PWR(5745, 5825, 30, 6, 0),
};queste nuove righe:
static const struct ieee80211_channel_range ieee80211_US_channels[] = {
/* IEEE 802.11b/g, hacked :-) ninux.org */
RANGE_PWR(2412, 2732, 27, 6, 0),
/* IEEE 802.11a,hacked :-) ninux.org */
RANGE_PWR(5135, 6100, 30, 6, 0),
};copilate il kernel e riavviate. Poi caricate il modulo ath5k con il comando:
modprobe ath5k
3) installate il tool iw che potete scaricare da questa pagina: http://wireless.kernel.org/en/users/Documentation/iw
vi servirà anche la nuova libreria per la comunicazione user-kernel space: http://people.suug.ch/~tgr/libnl/
4)






