Airodump fixed channel mon0: -1

Started by Malachai, May 23, 2013, 01:32:58 AM

Previous topic - Next topic

Malachai

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


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

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

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

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

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

weVeg

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

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

Quote from: Malachai on May 27, 2013, 07: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.
In that case you have to report us the error! crystall ball function is off lol =)
una voce libera è sempre liberatrice
under_r00t

ZEROF

#7
This will fix your issue :

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

Cheers, and sorry for waiting !

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

Malachai

Quote from: ZEROF on June 01, 2013, 12:56:35 AM
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

#9
I get stuck at:

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

any ideas?

ZEROF

Sure,

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


Quote from: luc4 on October 11, 2013, 04:35:19 PM
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

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

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

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

#14
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 !

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