Aircrack-ng forum

General Category => Newbies => Topic started by: Kokroch on May 12, 2016, 07:17:11 am

Title: Airodump-ng not working in Ubuntu 16.04
Post by: Kokroch on May 12, 2016, 07:17:11 am
Algorithm ..

1. Get information of Wi-FI points, mac and channel: sudo iwlist scanning

2. disable internet services:

sudo service NetworkManager stop
sudo service wpa_supplicant stop
sudo service avahi-daemon stop

3. To change warless to monitor mode: sudo airmon-ng start wlp2s0

4. In any case, changing mon0 mac adress

sudo ifconfig mon0 down
sudo macchanger mon0 --mac = 0J: D9: 1D: 34: FA: 67
sudo ifconfig mon0 up

5. Launch Monitor: sudo airodump-ng --channel <channel> -w wep -i --bssid <Mac Address> mon0

Next nothing... process was stoped.. what happend? how to fix ths problem?..

(http://s7.uploads.ru/d/iq8dw.png)
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: robertkjonesjr on May 12, 2016, 09:48:17 pm
How do you know your hardware supports proper monitor mode + promiscuous mode?  Just because it might go into that mode doesn't mean it actually works.

The screen capture is for channel 9, which might be unusual to use that channel in your part of the world.  Do you know you have traffic on the channel?
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: misterx on May 13, 2016, 12:15:14 am
Changing mac addresses is also known to cause issues with capture/injection.

Another quick tip: use airmon-ng to stop all deamons and stuff. You might miss one or 2 but it won't.
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: Kokroch on May 13, 2016, 11:09:02 am
Quote
Do you know you have traffic on the channel?
Yes, it is my Wi-Fi..
Quote
use airmon-ng to stop all deamons and stuff. You might miss one or 2 but it won't
I try to see by "airmon-ng check" but it did not found working deamons..

my wireless card: Intel Wireless 3165, driver: iwlwifi
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: kcdtv on May 13, 2016, 02:50:59 pm
I guess seeing this monX interface that you used the version of aircrack-ng which is available from Ubuntu repositories.
Try to update it using instead subversion repositories.
In order to check it out i just installed the Ubuntu repository’s version and it is definitely outdated.
It worked OK for me but i have an atheros internal chipset which are usually pretty well supported since a long time. 
With this version you really need to check kill otherwise you will be blocked in the canal use/used by your wlan* interface to connect. 
But I recommend you to delete this version and to use a more updated one.   
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: Kokroch on May 14, 2016, 06:14:33 am
Quote
make -C src all
make [1]: the entrance to the "/home/user/Zagruzki/aircrack-ng-1.2-rc4/src" directory
gcc -g -W -Wall -O3 -mavx2 -DJOHN_AVX2 -pthread -D_FILE_OFFSET_BITS = 64 -D_REVISION = 0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I / usr / include / libnl3 -fstack-protector-strong -Wno-unused-but-set- variable -Wno-array-bounds -Iinclude -DSIMD_CORE aireplay-ng.o common.o crypto.o osdep / radiotap / radiotap.o -o aireplay-ng -Losdep -losdep -lnl-genl-3 -lnl-3 -lssl -lcrypto
crypto.o: In function `encrypt_wep ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:90: undefined reference to `gcry_cipher_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:90: undefined reference to `gcry_cipher_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:91: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:91: undefined reference to `gcry_cipher_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:90: undefined reference to `gcry_cipher_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:90: undefined reference to `gcry_cipher_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:91: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:91: undefined reference to `gcry_cipher_close '
crypto.o: In function `calc_pmk ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:198: undefined reference to `blk_SHA1_Init '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:199: undefined reference to `blk_SHA1_Update '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:204: undefined reference to `blk_SHA1_Init '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:205: undefined reference to `blk_SHA1_Update '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:210: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:210: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:210: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:210: undefined reference to `gcry_md_get_algo_dlen '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:210: undefined reference to `gcry_md_read '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:210: undefined reference to `gcry_md_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:216: undefined reference to `blk_SHA1_Update '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:217: undefined reference to `blk_SHA1_Final '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:220: undefined reference to `blk_SHA1_Update '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:221: undefined reference to `blk_SHA1_Final '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:228: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:228: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:228: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:228: undefined reference to `gcry_md_get_algo_dlen '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:228: undefined reference to `gcry_md_read '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:228: undefined reference to `gcry_md_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:234: undefined reference to `blk_SHA1_Update '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:235: undefined reference to `blk_SHA1_Final '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:238: undefined reference to `blk_SHA1_Update '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:239: undefined reference to `blk_SHA1_Final '
crypto.o: In function `calc_mic ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:318: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:318: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:323: undefined reference to `gcry_md_reset '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:324: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:325: undefined reference to `gcry_md_get_algo '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:325: undefined reference to `gcry_md_get_algo_dlen '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:325: undefined reference to `gcry_md_read '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:327: undefined reference to `gcry_md_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:335: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:335: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:335: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:335: undefined reference to `gcry_md_get_algo_dlen '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:335: undefined reference to `gcry_md_read '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:335: undefined reference to `gcry_md_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:318: undefined reference to `gcry_md_reset '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:331: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:331: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:331: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:331: undefined reference to `gcry_md_get_algo_dlen '
crypto.o: In function `calc_ptk ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:682: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:682: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:682: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:682: undefined reference to `gcry_md_get_algo_dlen '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:682: undefined reference to `gcry_md_read '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:682: undefined reference to `gcry_md_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:690: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:690: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:690: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:690: undefined reference to `gcry_md_get_algo_dlen '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:690: undefined reference to `gcry_md_read '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:690: undefined reference to `gcry_md_close '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:688: undefined reference to `gcry_md_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:688: undefined reference to `gcry_md_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:688: undefined reference to `gcry_md_write '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:688: undefined reference to `gcry_md_get_algo_dlen '
crypto.o: In function `encrypt_wep ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:90: undefined reference to `gcry_cipher_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:90: undefined reference to `gcry_cipher_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:91: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:91: undefined reference to `gcry_cipher_close '
crypto.o: In function `encrypt_ccmp ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1286: undefined reference to `gcry_cipher_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1286: undefined reference to `gcry_cipher_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1287: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1289: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1291: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1299: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1313: undefined reference to `gcry_cipher_encrypt '
crypto.o: /home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c 1320: more undefined references to `gcry_cipher_encrypt 'follow
crypto.o: In function `encrypt_ccmp ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1329: undefined reference to `gcry_cipher_close '
crypto.o: In function `decrypt_ccmp ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1413: undefined reference to `gcry_cipher_open '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1413: undefined reference to `gcry_cipher_setkey '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1414: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1416: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1418: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1426: undefined reference to `gcry_cipher_encrypt '
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1448: undefined reference to `gcry_cipher_encrypt '
crypto.o: /home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c 1442: more undefined references to `gcry_cipher_encrypt 'follow
crypto.o: In function `decrypt_ccmp ':
/home/user/Zagruzki/aircrack-ng-1.2-rc4/src/crypto.c:1456: undefined reference to `gcry_cipher_close '
collect2: error: ld returned 1 exit status
The Makefile: 199: the recipe for the purpose of error «aireplay-ng»
make [1]: *** [aireplay-ng] Error 1
make [1]: Exit from the catalog "/home/user/Zagruzki/aircrack-ng-1.2-rc4/src"
The Makefile: 25: error of the recipe for the purpose of «all»
make: *** [all] Error 2

Last version, compilation error .. how to fix it?..
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: kcdtv on May 14, 2016, 12:44:45 pm
1) Remove the version form ubuntu's repository :
Code: [Select]
sudo apt-get autoremove aircrack-ng
2) Install subversion :
Code: [Select]
sudo apt-get install subversion
3) Install the dependencies :
Code: [Select]
sudo apt-get install libnl-3-dev
Code: [Select]
sudo apt-get install  libssl-dev
Code: [Select]
sudo apt-get install sqlite3
Code: [Select]
sudo apt-get install libsqlite3-dev
Code: [Select]
sudo apt-get install libnl-genl-3-dev
4) Download the very last version of aircrack-ng
Code: [Select]
svn co http://svn.aircrack-ng.org/trunk/ aircrack-ng
5) locate your shell, compile & install
Code: [Select]
cd aircrack-ng
Code: [Select]
make sqlite=true experimental=true ext_scripts=true
Code: [Select]
sudo make sqlite=true experimental=true ext_scripts=true install
6) update your OUI list
Code: [Select]
sudo airodump-ng-oui-update(be aware, updating the OUI list takes a certain time ( more or less 3-5 minutes ) with no activity in the shell. Be patient, it will finish. This step is optional but very useful to be able to use the option --manufacturer that display the manufacturer in your airodump-ng scans)   

I have just done it right now in my Xubuntu 16.04 that I installed some days ago and my aircrack-ng suite is working perfectly.
airodump-ng like a charm :
(http://pix.toile-libre.org/upload/original/1463230127.png)
This is installed it in "full mode" with the "unstable tools", some of this "extra tools" may need to solve some particular dependency to be solved.   
You may need to install g ++, I am not sure, I think it is 'present by default but maybe not. If so, you know, easy :
Code: [Select]
sudo apt-get install g++   
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: robertkjonesjr on May 14, 2016, 05:30:49 pm
Before recompiling software I would look at your hardware.  Does Wireshark or tcpdump show unicast and non-unicast frames from the monitor mode interface?  If yes, then maybe you have an issue with the aircrack tools.  But if not, you need to work on your drivers and/or hardware which may mean a kernel change among other things.

Did it ever work?  Plug a USB wifi adapter in that is known to work and try that.  This will narrow down you problem.

I found what you show to be a common issue, almost always related to hardware: actual hardware, drivers, whatever.  In particular, my Intel wifi works for a while, but crashes constantly:

[69828.224908] ------------[ cut here ]------------
[69828.224946] WARNING: CPU: 2 PID: 3850 at /build/linux-KsVfIo/linux-4.4.6/drivers/net/wireless/iwlwifi/mvm/binding.c:201 iwl_mvm_binding_remove_vif+0x83/0x90 [iwlmvm]()
[69828.224979] Modules linked in: fuse nfnetlink_queue nfnetlink_log nfnetlink arc4 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt iwlmvm mac80211 kvm_amd kvm irqbypass snd_hda_codec_realtek amdkfd snd_hda_codec_generic snd_hda_codec_hdmi btusb evdev btrtl btbcm pcspkr iwlwifi serio_raw radeon btintel bluetooth snd_hda_intel fam15h_power snd_hda_codec edac_mce_amd cfg80211 ttm snd_hda_core snd_hwdep drm_kms_helper rfkill snd_pcm k10temp i2c_piix4 snd_timer ccp snd sg drm edac_core soundcore binfmt_misc rng_core shpchp 8250_fintek acpi_cpufreq tpm_tis tpm video button processor autofs4 ext4 crc16 mbcache jbd2 sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel jitterentropy_rng sha256_ssse3 sha256_generic hmac drbg ansi_cprng aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd xhci_pci
[69828.225100]  ehci_pci xhci_hcd ehci_hcd ahci sdhci_pci libahci sdhci libata mmc_core igb usbcore scsi_mod usb_common i2c_algo_bit dca ptp pps_core fjes
[69828.225131] CPU: 2 PID: 3850 Comm: airodump-ng Not tainted 4.4.0-kali1-amd64 #1 Debian 4.4.6-1kali1
[69828.225137] Hardware name: CompuLab fitlet-H/sbc-fitpc4, BIOS SBCFLTH_0.08.01 07/26/2015
[69828.225142]  0000000000000286 00000000a2821179 ffffffff812ea8a5 0000000000000000
[69828.225150]  ffffffffa09bd6b8 ffffffff810774fd ffff880233e83b50 ffff8800a76ad4a8
[69828.225157]  ffff880233e83c70 0000000000000000 ffff88023343fac0 ffffffffa09a7ee3
[69828.225164] Call Trace:
[69828.225179]  [<ffffffff812ea8a5>] ? dump_stack+0x5c/0x77
[69828.225189]  [<ffffffff810774fd>] ? warn_slowpath_common+0x7d/0xb0
[69828.225209]  [<ffffffffa09a7ee3>] ? iwl_mvm_binding_remove_vif+0x83/0x90 [iwlmvm]
[69828.225226]  [<ffffffffa0999f36>] ? __iwl_mvm_unassign_vif_chanctx+0x66/0xe0 [iwlmvm]
[69828.225242]  [<ffffffffa0999fe5>] ? iwl_mvm_unassign_vif_chanctx+0x35/0x50 [iwlmvm]
[69828.225302]  [<ffffffffa0a4d637>] ? ieee80211_assign_vif_chanctx+0x77/0x440 [mac80211]
[69828.225352]  [<ffffffffa0a4e77f>] ? __ieee80211_vif_release_channel+0x4f/0x140 [mac80211]
[69828.225401]  [<ffffffffa0a4f0f9>] ? ieee80211_vif_release_channel+0x49/0x60 [mac80211]
[69828.225447]  [<ffffffffa0a352ee>] ? ieee80211_set_monitor_channel+0x6e/0x120 [mac80211]
[69828.225504]  [<ffffffffa0563c78>] ? cfg80211_set_monitor_channel+0x38/0xf0 [cfg80211]
[69828.225546]  [<ffffffffa0555905>] ? __nl80211_set_channel+0x1a5/0x260 [cfg80211]
[69828.225589]  [<ffffffffa0558f26>] ? nl80211_set_wiphy+0x2a6/0x910 [cfg80211]
[69828.225599]  [<ffffffff810ab5e9>] ? enqueue_entity+0x359/0x9b0
...
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: misterx on May 14, 2016, 10:32:51 pm
I wonder why kcdtv post is even needed. All that is explained in the wiki.

Kokroch, you are trying to compile with gcrypt and you are obviously missing the library. Check out the README/INSTALL file, it will tell you what you need if you really want to use gcrypt.

robertkjonesjr, you might want to try the latest linux-backports (and probably latest firmware, you might want to read up on that) and if you still have such issue, then report it to linux-wireless mailing list giving ample details on what you have, what you've tried, what have you done that led to that issue (exact command line command helps).
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: Kokroch on May 15, 2016, 04:31:03 am
kcdtv, thanks! now airodump working correctly
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: kcdtv on May 15, 2016, 06:26:24 pm
you welcome kokroch  :)
Quote
I wonder why kcdtv post is even needed. All that is explained in the wiki.
You are absolutely right but I cannot help it when I see a lost soul... .   :D
The wiki of aricrack-ng have everything we need and i just did what is explained there. 
The thing is that with ubuntu people users have the reflex to use the "software center" and don't even know that is just one option and not always the best.
I stil use xubuntu because i have a kind of sentimental cruch on it, that was the first distribution I installed and i like it for that,
But this distributions (ubuntu, xubuntu, linux mint) have a good and bad side : They are very user friendly, but sometime too much, or at least you need to go "beyond" the obvious in order to learn something,
Like what is compiling + installing, which is not very difficult to understand roughly but absolutely fundamental.
But yes, da tip of da day  : read and read again the aircrack-ng' wiki, even if you are familiarized with the tool, for sure you will find something new to learn.  ;)
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: Cris-94 on October 14, 2016, 04:26:40 pm
1) Remove the version form ubuntu's repository :
Code: [Select]
sudo apt-get autoremove aircrack-ng
2) Install subversion :
Code: [Select]
sudo apt-get install subversion
3) Install the dependencies :
Code: [Select]
sudo apt-get install libnl-3-dev
Code: [Select]
sudo apt-get install  libssl-dev
Code: [Select]
sudo apt-get install sqlite3
Code: [Select]
sudo apt-get install libsqlite3-dev
Code: [Select]
sudo apt-get install libnl-genl-3-dev
4) Download the very last version of aircrack-ng
Code: [Select]
svn co http://svn.aircrack-ng.org/trunk/ aircrack-ng
5) locate your shell, compile & install
Code: [Select]
cd aircrack-ng
Code: [Select]
make sqlite=true experimental=true ext_scripts=true
Code: [Select]
sudo make sqlite=true experimental=true ext_scripts=true install
6) update your OUI list
Code: [Select]
sudo airodump-ng-oui-update(be aware, updating the OUI list takes a certain time ( more or less 3-5 minutes ) with no activity in the shell. Be patient, it will finish. This step is optional but very useful to be able to use the option --manufacturer that display the manufacturer in your airodump-ng scans)   

I have just done it right now in my Xubuntu 16.04 that I installed some days ago and my aircrack-ng suite is working perfectly.
airodump-ng like a charm :
(http://pix.toile-libre.org/upload/original/1463230127.png)
This is installed it in "full mode" with the "unstable tools", some of this "extra tools" may need to solve some particular dependency to be solved.   
You may need to install g ++, I am not sure, I think it is 'present by default but maybe not. If so, you know, easy :
Code: [Select]
sudo apt-get install g++
I have a problem telling me not bssid Associated Ralink Technology, Corp. rt2870 / RT3070 ubuntu 16.04 lts
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: kcdtv on October 15, 2016, 08:25:03 pm
I just tried with an rt3070 and latest revision in xubuntu 16.04 (kernel 4.4) and  indeed:  I can't see the client associated to my access point using bssid and channel filter,,, 
My atheros is on meter beside and detect it immediately.
That surely the same than  Regression in monitor mode of some Ralink cards with Linux 4.3 of Kali 2016.1 (https://bugs.kali.org/view.php?id=3014)  which is "Fixed in Version   2016.2" of kali linux.
I guess (and hope) that upgrading to ubuntu 16.10 will save the issue
Otherwise i assume that applying this patch should solve the issue: http://marc.info/?l=linux-wireless&m=145311668331789&w=2 (http://marc.info/?l=linux-wireless&m=145311668331789&w=2) 

Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: kcdtv on November 01, 2016, 05:18:42 pm
The issue disappear in Ubuntu 16.10 (kernel  4.8 )  ;)
Just do
Code: [Select]
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgradereboot your system and that's all.
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: Cris-94 on November 05, 2016, 12:54:59 pm
The issue disappear in Ubuntu 16.10 (kernel  4.8 )  ;)
Just do
Code: [Select]
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgradereboot your system and that's all.
with kernel 4.8 airodump works. but if I turn off the computer turns off. I have now started a previous kernel-mode grub
Title: Re: Airodump-ng not working in Ubuntu 16.04
Post by: kcdtv on November 15, 2016, 05:06:36 pm
Quote
but if I turn off the computer turns off
  That's weird.
When I tried I did not have any problems.
  You might have some kernel-BIOS issues with this specific kernel version.
I see a lot of that around with this "new BIOS-EFI" especially when the OS is installed in CSM mode. (no EFI)
Very strange things... Like in one PC i can install Ubuntu 16.10 but I cannot install Lubuntu 16.10 which is basicaly the same.   :-*  :-*
They used kernel 4.8 for Ubuntu and derivate which had some critical issues, that's not the best choice... Torvalds finds a bug in stable Linux Kernel 4.8 and goes apeshit (https://www.theinquirer.net/inquirer/news/2473084/torvalds-finds-a-bug-in-stable-linux-kernel-48-and-goes-apeshit)
You should check your dmesg output and your systemd journal log.