Author Topic: Airodump fixed channel mon0: -1  (Read 21890 times)

Malachai

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Top-Hat-Sec
on: May 23, 2013, 12:32:58 AM
Hello All,
Well after doing some testing I notice that airodump still having some issue with the whole channel thing. Example are below . The only way I was able to fix it is run a script I have to unlock the channel but then I get the whole  fixed channel mon0: -1 issue.

Example 1 .

CH -1 ][ Elapsed: 4 s ][ 2013-05-22 15:29    ---- not working

Then I run this code to unlock the channel

Code: [Select]
IFACE="wlan0"
ifconfig $IFACE down
iwconfig $IFACE mode managed
ifconfig $IFACE up
sleep 5
ifconfig $IFACE down
iwconfig $IFACE mode monitor
ifconfig $IFACE up

When I pick a certain AP I get the
Example 2
CH  6 ][ Elapsed: 2 mins ][ 2013-05-22 15:31 ][ fixed channel mon0: -1

One other issue also in the update script that backbox comes with 1 programs are not working.

[3]    fimap... Error

Had other one but now it's working.

If anyone has any ideas of the 2 different problems on how to fix them let me know.



WiFi security and pentesters training.  Great Forum For n00bs and advance users.

http://top-hat-sec.com/


ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #1 on: May 23, 2013, 01:17:07 AM
Hi man,

We have tested and for fimap you only need to run apt-get update and apt-get upgrade, then fimap -h to use it. What is you adapter module ? Can you provide spec. ?

Thanks !


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


Malachai

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Top-Hat-Sec
Reply #2 on: May 25, 2013, 06:27:29 AM
I have the

802.11g high power wireless USB Adapter
Model: AWUS036H


WiFi security and pentesters training.  Great Forum For n00bs and advance users.

http://top-hat-sec.com/


Malachai

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Top-Hat-Sec
Reply #3 on: May 27, 2013, 05:26:09 AM
Hey ZEROF any update on this fix?

WiFi security and pentesters training.  Great Forum For n00bs and advance users.

http://top-hat-sec.com/


weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #4 on: May 27, 2013, 12:29:02 PM
Hi malachai, there are a lot of 3d about that even on our forum.... with a simple search you'll find it!
Also on aircrack forum, you have to patch your driver....

una voce libera è sempre liberatrice
under_r00t


Malachai

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Top-Hat-Sec
Reply #5 on: May 27, 2013, 06:51:02 PM
I understand about the patch, but the new OS has a tone of error message when trying to fix the patch. Don't you think I did that first before posting on here. I checked the aircrack also before posting.

WiFi security and pentesters training.  Great Forum For n00bs and advance users.

http://top-hat-sec.com/


weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #6 on: May 27, 2013, 09:09:23 PM
I understand about the patch, but the new OS has a tone of error message when trying to fix the patch. Don't you think I did that first before posting on here. I checked the aircrack also before posting.
In that case you have to report us the error! crystall ball function is off lol =)

una voce libera è sempre liberatrice
under_r00t


ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #7 on: May 31, 2013, 11:56:35 PM
This will fix your issue :

http://wiki.backbox.org/index.php/Compat-drivers_aircrack_patched

Cheers, and sorry for waiting !
« Last Edit: June 01, 2013, 02:04:32 PM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


Malachai

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Top-Hat-Sec
Reply #8 on: June 19, 2013, 04:05:36 PM
This will fix your issue :

http://wiki.backbox.org/index.php/Compat-drivers_aircrack_patched

Cheers, and sorry for waiting !

Well I tried this and it still didn't work out right... I did a fresh install last night and followed the instructions for the auto loading the drivers. Still didn't work after rebooting. why is this such a problem... ugh...

WiFi security and pentesters training.  Great Forum For n00bs and advance users.

http://top-hat-sec.com/


luc4

  • Newbie
  • *
  • Posts: 4
    • View Profile
Reply #9 on: October 11, 2013, 03:35:19 PM
I get stuck at:

http://pastebin.com/ADKQJgWF (posted to pastebin because of forum policies)

any ideas?
« Last Edit: October 11, 2013, 03:45:01 PM by luc4 »



ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #10 on: October 11, 2013, 11:32:56 PM
Sure,

You need good folder directory path, cd /usr/src usually then patch your drivers. You can't patch your system, only drivers ;).


I get stuck at:

http://pastebin.com/ADKQJgWF (posted to pastebin because of forum policies)

any ideas?


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


ReallyHosed

  • Newbie
  • *
  • Posts: 20
    • View Profile
Reply #11 on: October 18, 2013, 09:33:03 PM
Hello ZEROF and thanks for the nice link!  I followed all the steps but the driver wouldn't install. I am very sad! lol
I did try stopping PID's, and I tried modprobe -r ar5523 before make install...  still no good.   ???
Here's what it said the last time I tried it:
root@Z820s:/usr/src/backports-3.11-rc3-1# make install
  Building modules, stage 2.
  MODPOST 5 modules
  INSTALL /usr/src/backports-3.11-rc3-1/compat/compat.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/drivers/net/wireless/ath/ar5523/ar5523.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/drivers/net/wireless/ath/ath.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/net/mac80211/mac80211.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/net/wireless/cfg80211.ko
Can't read private key
  DEPMOD  3.8.0-31-generic
make[1]: execvp: ./scripts/blacklist.sh: Permission denied
make[1]: *** [install] Error 127
make: *** [install] Error 2



ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #12 on: October 18, 2013, 10:22:05 PM
Hi ReallyHosed,

Don't make beginners mistakes:

1. Read your own errors (./scripts/blacklist.sh: Permission denied)
2. Fix them

chmod 777 ./scripts/blacklist.sh
Then sudo -i and after that make, then make install.

Keep me posted, maybe i'm wrong, but i doubt in that with information you provided me.


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


ReallyHosed

  • Newbie
  • *
  • Posts: 20
    • View Profile
Reply #13 on: October 19, 2013, 12:23:00 AM
OMG TY ZEROF!!
My friend used to work at Compaq tech support and he was fired for telling a lady, "You're too dumb to own a computer"!  I suppose folks will think that of me, but may I ask another question?  My usb wifi is working and is no longer stuck on -1, yea!  but should I be concerned about the "can't read private key" messages during install?:
root@Z820s:/usr/src/backports-3.11-rc3-1# make install
  Building modules, stage 2.
  MODPOST 5 modules
  INSTALL /usr/src/backports-3.11-rc3-1/compat/compat.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/drivers/net/wireless/ath/ar5523/ar5523.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/drivers/net/wireless/ath/ath.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/net/mac80211/mac80211.ko
Can't read private key
  INSTALL /usr/src/backports-3.11-rc3-1/net/wireless/cfg80211.ko
Can't read private key
  DEPMOD  3.8.0-31-generic



ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #14 on: October 19, 2013, 12:07:20 PM
Hi again,

That error will not make you problems, but problem comes from kernel etc.. . Install linux-headers-generic and build-essential to be sure that error don't come back or make some problems with wifi in the future.

sudo apt-get linux-headers-generic build-essential

True solution it's something else, to get idea about read this topic: http://bernaerts.dyndns.org/linux/74-ubuntu/277-ubuntu-precise-dwa-131-rev-b1, but i'm not sure that you need to do all of this. If all works fine after command i posted up, don't try to play with settings that you can't understand.


Good luck !
« Last Edit: October 19, 2013, 12:20:55 PM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*