Author Topic: BackBox 2.0 - fixed channel mon0: -1  (Read 10331 times)

mamber

  • Newbie
  • *
  • Posts: 2
    • View Profile
on: September 04, 2011, 09: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:
Quote
fixed channel mon0: -1

and I can't do anything.

P.S: I am using two different adapters with chipsets: Atheros 9170 and Realtek 8187.
« Last Edit: September 04, 2011, 09:54:25 AM by mamber »



jester

  • Newbie
  • *
  • Posts: 9
    • View Profile
Reply #1 on: September 04, 2011, 04:58:55 PM
Same here.....I can't fix it.



ultra_lazer

  • Guest
Reply #2 on: September 04, 2011, 06:38:02 PM
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:
Quote
fixed 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

  • Newbie
  • *
  • Posts: 2
    • View Profile
Reply #3 on: September 04, 2011, 08:41:33 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

  • Newbie
  • *
  • Posts: 9
    • View Profile
Reply #4 on: September 04, 2011, 10: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



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • My Blog
Reply #5 on: September 04, 2011, 11:50:05 PM
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

  • Full Member
  • ***
  • Posts: 177
    • View Profile
    • http://www.emoticode.net
Reply #6 on: September 05, 2011, 09: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 ;)



jester

  • Newbie
  • *
  • Posts: 9
    • View Profile
Reply #7 on: September 05, 2011, 12:40:51 PM
Grazie guys. Siete fantastici. Provo e vi faccio sapere.



dvdr

  • Newbie
  • *
  • Posts: 22
    • View Profile
Reply #8 on: September 05, 2011, 07:33:03 PM
« Last Edit: September 05, 2011, 07:36:46 PM by dvdr »



ultra_lazer

  • Guest
Reply #9 on: September 05, 2011, 07:36:57 PM
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

  • Full Member
  • ***
  • Posts: 177
    • View Profile
    • http://www.emoticode.net
Reply #10 on: September 05, 2011, 07:37:53 PM
Beh se i driver sono del 2010, ma le patch che stai cercando di applicare sono per quelli del 2011 c'entra eccome :)



dvdr

  • Newbie
  • *
  • Posts: 22
    • View Profile
Reply #11 on: September 05, 2011, 08:05:29 PM
gracias por abisar de que el scripts no funciona un salu2
lo elimino  ok
el foro nesesita un traductor
« Last Edit: September 06, 2011, 10:44:18 AM by dvdr »



ultra_lazer

  • Guest
Reply #12 on: September 05, 2011, 09:10:18 PM
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

  • Newbie
  • *
  • Posts: 9
    • View Profile
Reply #13 on: September 06, 2011, 09:52:17 AM
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

  • Full Member
  • ***
  • Posts: 177
    • View Profile
    • ClsHack | Blog
Reply #14 on: September 06, 2011, 10:51:06 AM
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)