LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2020, 05:30 PM   #1
Teso
Member
 
Registered: Apr 2019
Posts: 63

Rep: Reputation: Disabled
Question Aircrack-ng - airodump-ng cannot find AP


Hello,
I installed "aircrack-ng-1.6" from source code on Kubuntu 19.10.
i'm not sure if i compiled everything correctly.
I have read the "README" file and this only says to run "./configure". That didn't work, I had to run "./autogen.sh" first and then "./configure" and "make && make install"
The "README" file is unusable and I can't find any instructions on how to properly install the source code.
But maybe I did everything right and it is simple that the network interface controller is not supported. I also tried a new firmware for the NIC "firmware-6.bin_WLAN.RM.4.4.1.c3-00075".
Airodump-ng is not showing any "Wi-Fi Access Points" on any channel, it shows just a empty table, is scanning but cant find nothing.


Network interface controller:
Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

Last edited by Teso; 07-20-2020 at 05:59 PM.
 
Old 07-21-2020, 10:09 AM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
So, not clear why you installed via source - it appears aircrack-ng is in the Ubuntu repos. A simple
Code:
apt install aircrack-ng
should have worked. Did it not?
 
Old 07-22-2020, 08:41 AM   #3
Teso
Member
 
Registered: Apr 2019
Posts: 63

Original Poster
Rep: Reputation: Disabled
Yes i tried
Quote:
apt install aircrack-ng
doesn't work at all.
APT often has old package versions because they are adapted to Ubuntu. That's why I installed the latest version from source code.
 
Old 07-22-2020, 08:47 AM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Apt has no package versions at all, it's just the tool used by Debian and thus Ubuntu as a package manager tool. The repository is what has the software. It may be that the version of Ubuntu doesn't have the version of Aircrack you need. I just looked up aircrack-ng in the Ubuntu repos and it is indeed there so not sure what you mean by "doesn't work at all".

You are certainly free to install by source but no dependency handling is done and then you have installed something outside the scope of the package manager so it cannot track the package nor its dependencies.
 
Old 07-23-2020, 05:36 AM   #5
Teso
Member
 
Registered: Apr 2019
Posts: 63

Original Poster
Rep: Reputation: Disabled
I will search for an aircrack-ng repository but i prefer the source code
Of course i installed the necessary dependencies:
Code:
sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils
.
Code:
user@linux:~$ torsocks apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
autoconf is already the newest version (2.69-11ubuntu1).
automake is already the newest version (1:1.16.1-4ubuntu3).
build-essential is already the newest version (12.8ubuntu1).
ethtool is already the newest version (1:4.19-1).
iw is already the newest version (5.3-1).
libnl-3-dev is already the newest version (3.4.0-1).
libnl-genl-3-dev is already the newest version (3.4.0-1).
libpcap-dev is already the newest version (1.9.1-2).
libpcre3-dev is already the newest version (2:8.39-12).
libtool is already the newest version (2.4.6-11).
pkg-config is already the newest version (0.29.1-0ubuntu3).
screen is already the newest version (4.6.2-3build1).
shtool is already the newest version (2.0.8-9).
tcpdump is already the newest version (4.9.3-2).
usbutils is already the newest version (1:012-1).
wpasupplicant is already the newest version (2:2.9-1ubuntu2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-1ubuntu3).
hostapd is already the newest version (2:2.9-1ubuntu2).
libcmocka-dev is already the newest version (1.1.5-2).
libhwloc-dev is already the newest version (1.11.13-1).
libsqlite3-dev is already the newest version (3.29.0-2ubuntu0.3).
libssl-dev is already the newest version (1.1.1c-1ubuntu4.1).
rfkill is already the newest version (2.34-0.1ubuntu2.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Old 07-23-2020, 06:59 AM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
You don't need to search for an aircrack repo, it's in the Ubuntu repos.
 
Old 07-25-2020, 10:10 PM   #7
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
This may not be it but I have to ask anyway: Did you make sure to start Airmon-NG correctly before Airodump?
 
Old 07-26-2020, 05:45 AM   #8
Teso
Member
 
Registered: Apr 2019
Posts: 63

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RickDeckard View Post
Did you make sure to start Airmon-NG correctly before Airodump?
I am currently doing a download and cannot check this now, but something like this:
Code:
ifconfig -a
ifconfig NIC down
rfkill unblock all
airmon-ng start NIC
kill PID
airodump-ng -c 0-99 NIC0mon

Last edited by Teso; 07-26-2020 at 11:32 AM.
 
Old 07-26-2020, 06:13 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
So:

- the old version does not work
- the new version does not work

Maybe your problem has nothing to do with the version?
 
1 members found this post helpful.
Old 07-26-2020, 10:46 AM   #10
Teso
Member
 
Registered: Apr 2019
Posts: 63

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Teso View Post
But maybe I did everything right and it is simple that the network interface controller is not supported.
Quote:
Originally Posted by Teso View Post
I also tried a new firmware for the NIC "firmware-6.bin_WLAN.RM.4.4.1.c3-00075".
Could it be the driver?
Maybe it works with an older firmware?
By the way,
I don't know if the new firmware is loaded.

lshw
Code:
           *-network
                description: Wireless interface
                product: QCA6174 802.11ac Wireless Network Adapter
                vendor: Qualcomm Atheros
                physical id: 0
                bus info: pci@0000:04:00.0
                logical name: wlp4s0
                version: 32
                serial: xx:xx:xx:xx:xx:xx
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ath10k_pci driverversion=5.3.0-62-generic firmware=WLAN.RM.4.4.1.c3-00075 ip=192.168.178.123 latency=0 link=yes multicast=yes wireless=IEEE 802.11
Ohh... it is.
 
Old 07-26-2020, 11:26 AM   #11
Teso
Member
 
Registered: Apr 2019
Posts: 63

Original Poster
Rep: Reputation: Disabled
Some screenshots
Click image for larger version

Name:	airmon-ng-Screenshot.png
Views:	15
Size:	47.3 KB
ID:	33729
Click image for larger version

Name:	airodump-ng-Screenshot.png
Views:	15
Size:	34.8 KB
ID:	33730

Should I buy a new NIC?
But which NIC works with Aircrack.ng?
Are Intel NICs supported?
I need a NIC in M.2 format and with Bluethoot (notebook, laptop).

Click image for larger version

Name:	51uNEppsKCL._AC_.jpg
Views:	16
Size:	40.1 KB
ID:	33731
 
  


Reply

Tags
atheros, compile, firmware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
airodump-ng cannot read data packets sankeerna Linux - Wireless Networking 2 07-21-2011 04:58 AM
airodump-ng cannot read data packets sankeerna Linux - Wireless Networking 2 07-19-2011 04:41 PM
Auditor - Wep Crack - Airodump/Aircrack Qs ismailjh Linux - Security 5 07-23-2006 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration