BackBox 2.0 - fixed channel mon0: -1

Started by mamber, September 04, 2011, 10:21:12 AM

Previous topic - Next topic

mamber

I like your distro, but with the latest release may be you forget to apply negative channel patch. Because whenever I try to audit WiFi airodump-ng show me:
Quotefixed channel mon0: -1

and I can't do anything.

P.S: I am using two different adapters with chipsets: Atheros 9170 and Realtek 8187.

jester


ultra_lazer

Quote from: mamber on September 04, 2011, 10:21:12 AM
I like your distro, but with the latest release may be you forget to apply negative channel patch. Because whenever I try to audit WiFi airodump-ng show me:
Quotefixed channel mon0: -1

and I can't do anything.

P.S: I am using two different adapters with chipsets: Atheros 9170 and Realtek 8187.

Hi the error is due to a missing patch, here is the solution:

1. wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-...
2. tar -jxf compat-wireless-2010-10-16.tar.bz2
3. cd compat-wireless-2010-10-16
4. wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
5. patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
6. wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
7. patch ./net/wireless/chan.c channel-negative-one-maxim.patch
8. gedit scripts/update-initramfs
#*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
#*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build

make
sudo make install

restart your pc and the fake authentication should work fine now


mamber

Quote from: ultra_lazer on September 04, 2011, 07:38:02 PM
Hi the error is due to a missing patch, here is the solution:
...

Yea, I know about this. But I assume that this distro must include all patches already.
So for me it's strange...

jester

E' normale che alla compilazione si ottenga questo:
/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00/rt2x00pci.c: In function ‘rt2x00pci_resume’:
/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00/rt2x00pci.c:375:6: error: void value not ignored as it ought to be
make[4]: *** [/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00/rt2x00pci.o] Error 1
make[3]: *** [/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00] Error 2
make[2]: *** [/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/backbox/compat-wireless-2010-10-16] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [modules] Error 2

raffaele

no, non è normale... prova a seguire passo passo le istruzioni del nostro wiki mantenendo anche le stesse directory
raffaele@backbox:~$ Get root or die tryin'

evilsocket

1) scarica la versione compat-wireless-29-05-2011

2) scarica DENTRO la cartella compat-wireless-29-05-2011 i file channel-negative-one.patch , mac80211.compat08082009.wl_frag+ack_v1.patch e mac80211_2.6.32.2-wl_frag+ack_radiotap.patch e applicali.

3) make, make install, wlunload, btunload, reboot

4) bonci bonci bon bon bò

PS: Stai usando una versione vecchia dei compat wireless ;)

jester

Grazie guys. Siete fantastici. Provo e vi faccio sapere.

dvdr

#8

ultra_lazer

Quote from: evilsocket on September 05, 2011, 10:19:42 AM
1) scarica la versione compat-wireless-29-05-2011

2) scarica DENTRO la cartella compat-wireless-29-05-2011 i file channel-negative-one.patch , mac80211.compat08082009.wl_frag+ack_v1.patch e mac80211_2.6.32.2-wl_frag+ack_radiotap.patch e applicali.

3) make, make install, wlunload, btunload, reboot

4) bonci bonci bon bon bò

PS: Stai usando una versione vecchia dei compat wireless ;)

Scusate, non c'entra niente se e'2010 o'2011,   se un driver da errors, bisogna installare solo i drivers necessati.
Esempio:         ./scripts/driver-select rt73
                          Sudo make
                          Sudo make install

Comunque anche 2010 funziona alla grande.

evilsocket

Beh se i driver sono del 2010, ma le patch che stai cercando di applicare sono per quelli del 2011 c'entra eccome :)

dvdr

#11
gracias por abisar de que el scripts no funciona un salu2
lo elimino  ok
el foro nesesita un traductor

ultra_lazer

questa script non e' addatta per Backbox, se la si installa ci saranno un mucchio di " Brocken packages" e inutili updates, inoltre installera dei tools che creeranno altre directories e renderanno Backbox inutilizzabile!

jester

Quote from: jester on September 04, 2011, 11:18:31 PM
E' normale che alla compilazione si ottenga questo:
/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00/rt2x00pci.c: In function ‘rt2x00pci_resume’:
/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00/rt2x00pci.c:375:6: error: void value not ignored as it ought to be
make[4]: *** [/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00/rt2x00pci.o] Error 1
make[3]: *** [/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless/rt2x00] Error 2
make[2]: *** [/home/backbox/compat-wireless-2010-10-16/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/backbox/compat-wireless-2010-10-16] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [modules] Error 2

Niente da fare. Ho seguito alla lettera il wiki e mi da sempre lo stesso errore.....Soluzioni in merito?

clshack

Dal forum di aircrack:

1)fresh install of ubuntu 11.04
2)full updates
3)downloaded compat-wireless-29-05-2011 and untar it
4)downloaded INSIDE the compat-wireless-29-05-2011 folder:channel-negative-one.patch , mac80211.compat08082009.wl_frag+ack_v1.patch and mac80211_2.6.32.2-wl_frag+ack_radiotap.patch......then applied them
5)make,make install,wlunload,btunload,reboot
6)installed aircrack-ng and within 10 minutes i've cracked my wireless password Smiley) (just to try it out)