Aircrack-ng

Please login or register.

Login with username, password and session length

Author Topic: Airodump-ng not working in Ubuntu 16.04  (Read 6516 times)

Kokroch

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Airodump-ng not working in Ubuntu 16.04
« on: May 12, 2016, 03: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?..

Logged

robertkjonesjr

  • Newbie
  • *
  • Offline Offline
  • Posts: 45
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #1 on: May 12, 2016, 05: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?
Logged

misterx

  • Aircrack-ng Author
  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1591
  • Aircrack-ng Author
    • Aircrack-ng
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #2 on: May 12, 2016, 08:15:14 PM »

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.
Logged

Kokroch

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #3 on: May 13, 2016, 07: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
Logged

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 209
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #4 on: May 13, 2016, 10:50:59 AM »

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.   
« Last Edit: May 13, 2016, 10:53:19 AM by kcdtv »
Logged

Kokroch

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #5 on: May 14, 2016, 02: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?..
Logged

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 209
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #6 on: May 14, 2016, 08:44:45 AM »

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 :
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++   
« Last Edit: May 14, 2016, 08:49:53 AM by kcdtv »
Logged

robertkjonesjr

  • Newbie
  • *
  • Offline Offline
  • Posts: 45
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #7 on: May 14, 2016, 01: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
...
Logged

misterx

  • Aircrack-ng Author
  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1591
  • Aircrack-ng Author
    • Aircrack-ng
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #8 on: May 14, 2016, 06: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).
Logged

Kokroch

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #9 on: May 15, 2016, 12:31:03 AM »

kcdtv, thanks! now airodump working correctly
Logged

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 209
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #10 on: May 15, 2016, 02: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.  ;)
Logged

Cris-94

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #11 on: October 14, 2016, 12: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 :
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
Logged

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 209
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #12 on: October 15, 2016, 04: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  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 

Logged

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 209
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #13 on: November 01, 2016, 01: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.
Logged

Cris-94

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Re: Airodump-ng not working in Ubuntu 16.04
« Reply #14 on: November 05, 2016, 08:54:59 AM »

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
Logged
 

+ Quick Reply