Aircrack-ng forum
General Category => Useful stuff => Topic started by: pedropt on September 15, 2014, 06:36:50 pm
-
Some people have some difficulties to understand if they need to install backports drivers to use injection in aircrack package , i will explain everything i got knowledge until now and i will explain it to you .
1st of all , if you use a pentest distribution like Kali Linux , you will not need backports installed on your system except if you want to upgrade your drivers .
Kali Linux drivers are already prepared for injection when you install the OS for the first time .
this next image shows a test injection with kali linux original drivers :
(http://s14.postimg.org/p6zlubzi9/001a.png)
this next image shows airodump scanning the networks around :
(http://s30.postimg.org/7aloxjru9/002a.png)
If you have a message when using airodump that says you to use the switch "--ignore-negative-one " after your commands , then you probably still have network-manager running .
To eliminate that message you only need to do this on terminal :
airmon-ng check
and this will happen :
(http://s28.postimg.org/7n5d8xbu5/003.png)
on this image airmon-ng says that processes : 18872 , 18893 , 18894 may give issues in monitor mode .
all you have to do is use this command :
kill "process number"
Example :
kill 18872
and do this for all other processes .
If you want to kill all processes in a row , you just need to write in terminal :
airmon-ng check kill
New Adition
Network manager itself also may give some issues , because you are killing the opened processes that uses network but not killing network-manager , so , if problem stays then open your terminal and write :
service network-manager stop
If you don't know how to restart your network manager again and network protocols , then write this when you finish your playing with aircrack and stop monitor mode :
service networking restart
service network-manager start
open nm-applet
If even after this explanation you still want to install backports drivers then here it is the normal installation of backports version : 3.16.2-1 without any patch to upgrade all wireless drivers from backports package .
sudo apt-get update && apt-get upgrade -y
sudo apt-get install linux-headers-$(uname -r)
cd /usr/src/
sudo wget http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.16.2/backports-3.16.2-1.tar.xz
sudo tar xvfJ backports-3.16.2-1.tar.xz
cd backports-3.16.2-1
sudo make defconfig-wifi
sudo make
sudo make install
sudo update-initramfs -u
reboot
To uninstall backports drivers from this current setting you just need to do this from terminal :
cd /usr/src/
cd backports-3.16.2-1
sudo make uninstall
sudo update-initramfs -u
reboot
Backports website : http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/ (http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/)
Note : The same procedure of installation can be made also for new versions of backports .
If you are upgrading your current backports drivers then you must first uninstall the current ones , and then install the new version .
-
Oh dear god thank you thank you! Finally it all seems to be working as it should. :)
I've got Kali installed on a a Mac in VirtualBox and VMware. Then I ended up installing it as a dual boot - just so I could figure out if aireplay-ng didn't like something within a virtual environment or if it was something else entirely.
It was only after I did upgrades/updates on Kali (from a 1.1.0a-amd64.iso install - aircrack-ng 1.2 beta3) that aireplay-ng (1.2rc2) stopped working properly. I had poor collection of AP's and usually nothing for clients until I did a deauth but still had no ACKS and no handshakes.
I also set up a HP box dual booting Ubuntu and Windows and aircrack-ng 1.2 rc2 was working fine in Ubuntu. Both the Mac and HP box were the same distance from the AP (mine) and using the same USB wifi stick.
After installing backports, it solved all problems I'd been having on the Mac.
Cheers. :)
-
Interesting, I've followed these instructions (minus the version - I used the latest version available) for installing backports and everything. Plus I've followed countless other instruction sets online to get this TP-Link adapter to work with Kali 1.10c running on my VMware Workstation 11.x distro.
Windows detects the device. I connect it to the VM and disconnect from the host. I run lsusb and the device is connected and recognized as the Atheros chipset. But the device REFUSES to become an active wireless adapter on my linux machine. It will work in windows. With or without manufacturer specific drivers so the adapter is fine.
Please help, I have spent hours upon hours of debugging this problem with no solution as of yet. Maybe there is something simple that I am missing or a simple conflict of version or hardware combinations. Currently the only device I can get to function as a wlan device is a nano USB adapter from monoprice running on a Realtek chipset. It does not support injection however.
LSUSB
root@kali:~# lsusb
Bus 002 Device 008: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 002 Device 006: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
There should be a wlan0 and a wlan1 device listed here...
root@kali:~# iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:on
lo no wireless extensions.
I did however find an error when trying to load the driver requested using dmesg command in terminal:
[41726.802845] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[41726.803474] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[41728.438853] usb 2-2: new high-speed USB device number 7 using ehci-pci
[41728.746803] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x83 has invalid maxpacket 64
[41728.746805] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64
[41728.753823] usb 2-2: New USB device found, idVendor=0cf3, idProduct=9271
[41728.753826] usb 2-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[41728.753827] usb 2-2: Product: USB2.0 WLAN
[41728.753828] usb 2-2: Manufacturer: ATHEROS
[41728.753829] usb 2-2: SerialNumber: 12345
[41728.757279] usb 2-2: ath9k_htc: Firmware htc_9271.fw requested
[41728.757416] usb 2-2: firmware: direct-loading firmware htc_9271.fw
[41731.112528] usb 2-2: ath9k_htc: Firmware - htc_9271.fw download failed
[41731.112598] usb 2-2: ath9k_htc: USB layer deinitialized
[41736.178985] usb 2-2: USB disconnect, device number 7
[41811.341316] usb 2-2: new high-speed USB device number 8 using ehci-pci
[41811.649681] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x83 has invalid maxpacket 64
[41811.649684] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64
[41811.654742] usb 2-2: New USB device found, idVendor=0cf3, idProduct=9271
[41811.654743] usb 2-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[41811.654744] usb 2-2: Product: USB2.0 WLAN
[41811.654745] usb 2-2: Manufacturer: ATHEROS
[41811.654746] usb 2-2: SerialNumber: 12345
[41811.658251] usb 2-2: ath9k_htc: Firmware htc_9271.fw requested
[41811.658374] usb 2-2: firmware: direct-loading firmware htc_9271.fw
[41811.910005] usb 2-2: ath9k_htc: Firmware - htc_9271.fw download failed
[41811.910095] usb 2-2: ath9k_htc: USB layer deinitialized
However I am not sure how to continue from here...
-
Please learn to read error messages. You error is a missing firmware. You most likely installed the backports for nothing.
You have 2 occurrences of the following message:
[41731.112528] usb 2-2: ath9k_htc: Firmware - htc_9271.fw download failed
-
try to install that specific driver manually .
i found this on sourceforge :
https://sourceforge.net/projects/ath9k-htc/files/ath9k_htc-installer/ (https://sourceforge.net/projects/ath9k-htc/files/ath9k_htc-installer/)
download the file and install it using this command on its directory :
dpkg -i ath9k_htc-installer_1-0-4.deb
i have no idea if it will work , i don't have that wifi pen model .
If it stays the same then try to find the original driver , compile it and install it .
look at this thread for that specific driver :
http://www.linuxquestions.org/questions/slackware-14/ar9271-driver-4175430121/ (http://www.linuxquestions.org/questions/slackware-14/ar9271-driver-4175430121/)
-
Don't install that, it's way older than the driver you currently have (2011). If you want latest and greatest, get the linux-backports and install them.
-
current backports driver is not working on him , and that is the reason why i dropped the links for the old drivers for him to test .
-
Hi there I am using Kali Linux 2016.1 here and I got this error even after I installed all the needed linux headers, it mentioned about including a .config file, how do I write the .config file?
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn't currently running.)
\--
Makefile:40: recipe for target 'modules' failed
make[1]: *** [modules] Error 1
Makefile:30: recipe for target 'default' failed
make: *** [default] Error 2
-
Running Ubuntu 4.2.0-27-generic
Followed the script below, only change was to the latest driver:
sudo apt-get update && apt-get upgrade -y
sudo apt-get install linux-headers-$(uname -r)
cd /usr/src/
sudo wget http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.16.2/backports-3.16.2-1.tar.xz
sudo tar xvfJ backports-3.16.2-1.tar.xz
cd backports-3.16.2-1
sudo make defconfig-wifi
sudo make
***sudo make install***
sudo update-initramfs -u
reboot
When running the make install I received “Can't read private key DEPMOD 4.2.0-27-generic
depmod will prefer updates/ over kernel/ -- OK!” example below:
INSTALL /usr/src/backports-4.2.6-1/net/wireless/lib80211_crypt_wep.ko
Can't read private key
DEPMOD 4.2.0-27-generic
depmod will prefer updates/ over kernel/ -- OK!
Note:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against "update-initramfs.sh". If your distribution does not
require this send a patch with the '/usr/bin/lsb_release -i -s'
("Ubuntu") tag for your distribution to avoid this warning.
Your backported driver modules should be installed now.
Reboot.
I am very new to Linux so do not know if the is a over the top noobe question? Or is backports only for Kali Linux? If that is the case what is the best way to install a driver for RT3072?
Signed on as user homeuser clicked on forgot password, have not received email going on over 48 hours, just tried again.
Thanks in advance
-
Hey there.
First, sorry to bring this up again.
I have the same exact error message as Marcus Lee, would someone help on this please?
I'm on Fedora 24, but I assume distro isn't that much related to error message.
Thanks.
-
Please learn to read error messages. You error is a missing firmware. You most likely installed the backports for nothing.
You have 2 occurrences of the following message:
[41731.112528] usb 2-2: ath9k_htc: Firmware - htc_9271.fw download failed
Maybe dont be a dick to the people who come here for help... makes me want to skip this site... obviously its gonna be the people who need to "learn" who are seeking help. Hope they dont run into an ass hole like you tho
-
Followed the script below, only change was to the latest driver:
sudo apt-get update && apt-get upgrade -y
sudo apt-get install linux-headers-$(uname -r)
cd /usr/src/
sudo wget http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.16.2/backports-3.16.2-1.tar.xz
sudo tar xvfJ backports-3.16.2-1.tar.xz
cd backports-3.16.2-1
sudo make defconfig-wifi.....
All went well till sudo make as after i tiped make enter, I got this:
root@kali:/usr/src/backports-4.2.6-1# make
make[5]: 'conf' is up to date.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
CC [M] /usr/src/backports-4.2.6-1/compat/main.o
In file included from /usr/src/backports-4.2.6-1/backport-include/backport/backport.h:7:0,
from <command-line>:0:
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h: In function ‘__qrwlock_write_byte’:
/usr/src/backports-4.2.6-1/backport-include/linux/kconfig.h:25:28: error: implicit declaration of function ‘config_enabled’ [-Werror=implicit-function-declaration]
#define IS_BUILTIN(option) config_enabled(option)
^
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:26: note: in expansion of macro ‘IS_BUILTIN’
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^~~~~~~~~~
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:37: error: ‘CONFIG_CPU_BIG_ENDIAN’ undeclared (first use in this function)
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^
/usr/src/backports-4.2.6-1/backport-include/linux/kconfig.h:25:43: note: in definition of macro ‘IS_BUILTIN’
#define IS_BUILTIN(option) config_enabled(option)
^~~~~~
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:37: note: each undeclared identifier is reported only once for each function it appears in
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^
/usr/src/backports-4.2.6-1/backport-include/linux/kconfig.h:25:43: note: in definition of macro ‘IS_BUILTIN’
#define IS_BUILTIN(option) config_enabled(option)
^~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:298: recipe for target '/usr/src/backports-4.2.6-1/compat/main.o' failed
make[8]: *** [/usr/src/backports-4.2.6-1/compat/main.o] Error 1
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:549: recipe for target '/usr/src/backports-4.2.6-1/compat' failed
make[7]: *** [/usr/src/backports-4.2.6-1/compat] Error 2
/usr/src/linux-headers-4.9.0-kali3-common/Makefile:1507: recipe for target '_module_/usr/src/backports-4.2.6-1' failed
make[6]: *** [_module_/usr/src/backports-4.2.6-1] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[5]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[4]: *** [all] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[3]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:40: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:30: recipe for target 'default' failed
make: *** [default] Error 2
root@kali:/usr/src/backports-4.2.6-1# make install
CC [M] /usr/src/backports-4.2.6-1/compat/main.o
In file included from /usr/src/backports-4.2.6-1/backport-include/backport/backport.h:7:0,
from <command-line>:0:
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h: In function ‘__qrwlock_write_byte’:
/usr/src/backports-4.2.6-1/backport-include/linux/kconfig.h:25:28: error: implicit declaration of function ‘config_enabled’ [-Werror=implicit-function-declaration]
#define IS_BUILTIN(option) config_enabled(option)
^
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:26: note: in expansion of macro ‘IS_BUILTIN’
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^~~~~~~~~~
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:37: error: ‘CONFIG_CPU_BIG_ENDIAN’ undeclared (first use in this function)
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^
/usr/src/backports-4.2.6-1/backport-include/linux/kconfig.h:25:43: note: in definition of macro ‘IS_BUILTIN’
#define IS_BUILTIN(option) config_enabled(option)
^~~~~~
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:37: note: each undeclared identifier is reported only once for each function it appears in
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^
/usr/src/backports-4.2.6-1/backport-include/linux/kconfig.h:25:43: note: in definition of macro ‘IS_BUILTIN’
#define IS_BUILTIN(option) config_enabled(option)
^~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:298: recipe for target '/usr/src/backports-4.2.6-1/compat/main.o' failed
make[7]: *** [/usr/src/backports-4.2.6-1/compat/main.o] Error 1
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:549: recipe for target '/usr/src/backports-4.2.6-1/compat' failed
make[6]: *** [/usr/src/backports-4.2.6-1/compat] Error 2
/usr/src/linux-headers-4.9.0-kali3-common/Makefile:1507: recipe for target '_module_/usr/src/backports-4.2.6-1' failed
make[5]: *** [_module_/usr/src/backports-4.2.6-1] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:40: recipe for target 'install' failed
make: *** [install] Error 2
root@kali:/usr/src/backports-4.2.6-1#
any clue? I really need help please...
-
You were downgrading the drivers. The backports version is related to the kernel version it is based on. So, in this case, you would have downgraded from 4.9 to 3.16.
-
You were downgrading the drivers. The backports version is related to the kernel version it is based on. So, in this case, you would have downgraded from 4.9 to 3.16.
Thanks for your reply Bro, and following what you've stated, i am going to download and install the 3.16 version and will let you know.
Again thanks;
-
You were downgrading the drivers. The backports version is related to the kernel version it is based on. So, in this case, you would have downgraded from 4.9 to 3.16.
Thanks for your reply Bro, and following what you've stated, i am going to download and install the 3.16 version and will let you know.
Again thanks;
I tried downgrading from 4.9 to 3.16, but did not succeed anymore. When I intered make defconfig-wifi
I got this: root@kali:/usr/src/backports-3.16.2-1# make defconfig-wifi
Generating local configuration database from kernel ...Kernel version parse failed!
Makefile:40: recipe for target 'defconfig-wifi' failed
make: *** [defconfig-wifi] Error 1
Thanks.
-
Why do you want to downgrade (use a version that is VERY old, 2-3 years old)?
If you really must install that version, you're on your own to make it work on a recent kernel (or find an old version of a distro that has that kernel or older).
-
Why do you want to downgrade (use a version that is VERY old, 2-3 years old)?
If you really must install that version, you're on your own to make it work on a recent kernel (or find an old version of a distro that has that kernel or older).
In my case, what shall I do then, could you point me to an appropriate driver and kernel for the AWUS036H AWUS036NH as I own both usb wireless card?
Regards.
-
The one you have now.
-
hello,
i have the same problem with backports, i've tried with many version of backports......nothing works. i got the same message:
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:298: recipe for target ‘/root/backports-4.4.2-1/compat/main.o’ failed
make[8]: *** [/root/backports-4.4.2-1/compat/main.o] Error 1
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:549: recipe for target ‘/root/backports-4.4.2-1/compat’ failed
make[7]: *** [/root/backports-4.4.2-1/compat] Error 2
/usr/src/linux-headers-4.9.0-kali3-common/Makefile:1507: recipe for target ‘module/root/backports-4.4.2-1’ failed
make[6]: *** [_module_/root/backports-4.4.2-1] Error 2
Makefile:150: recipe for target ‘sub-make’ failed
make[5]: *** [sub-make] Error 2
Makefile:8: recipe for target ‘all’ failed
make[4]: *** [all] Error 2
Makefile.build:6: recipe for target ‘modules’ failed
make[3]: *** [modules] Error 2
Makefile.real:88: recipe for target ‘modules’ failed
make[2]: *** [modules] Error 2
Makefile:40: recipe for target ‘modules’ failed
make[1]: *** [modules] Error 2
Makefile:30: recipe for target ‘default’ failed
make: *** [default] Error 2
plz ...help
-
Don't install them now. They're out of date AND you're downgrading your drivers (READ PREVIOUS POSTS, IT HAS BEEN MENTIONED ONE OR MORE TIME).
-
Don't install them now. They're out of date AND you're downgrading your drivers (READ PREVIOUS POSTS, IT HAS BEEN MENTIONED ONE OR MORE TIME).
But how change txpower without patching backports? CRDA don't work on my Fedora 25
-
Are you doing long distance links? If not, then there isn't much need in increasing tx power then. If you really want to do it anyway, you'll have to get an old distro.
-
Are you doing long distance links? If not, then there isn't much need in increasing tx power then. If you really want to do it anyway, you'll have to get an old distro.
To conduct pentests, there are tasks for long distances. I understood, thank you for answer..
What do I lose when I switch to an old release?
-
An old distro like Ubuntu 12.04.
High quality antenna is better than tx power. By long distance I meant 10s of miles.
-
how about this,
sudo apt-get update && apt-get upgrade -y
sudo apt-get install linux-headers-$(uname -r)
cd /usr/src/
sudo wget http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.16.2/backports-3.16.2-1.tar.xz
sudo tar xvfJ backports-3.16.2-1.tar.xz
cd backports-3.16.2-1
sudo make defconfig-wifi.....
I got this but it said, kernal is incomplete or not installed.
I have installed linux-kernal 4.9.0-kali4-all
and double checked updated them
all is good so what is the problem?
-
not just upgrade, apt-get dist-upgrade then reboot. It's funny how many time I have to mention it every single day.
And don't install backports, you're gonna downgrade your drivers (backport version refer to kernel version). I think I mentioned this on twitter and also in the Aircrack-ng blog.
-
Mister-x,
I, unlike many others, have actually read your previous posts, and realize that I am not to downgrade my drivers... That would be silly...
I'm actually not even trying to raise my txpower as I don't really want to burn out my NIC...
BUT.. I have the AWUS036NHR... And, while it runs smooth and amazing on my Windows machine, it is somewhat buggy on the latest version of Kali linux... I have no idea why..
I know you may not know exactly what is going on, but I'm hoping you can at least point me in the right direction...
For starters, my internet will work for some minutes (usually around 10 or so), and then it completely fails to resolve DNS until I disconnect and reconnect... I have tried changing my dns settings to Google, etc.. Still does not help... My second concern is that the blue light on my adapter is literally ALWAYS solid.. It doesn't blink at all like on it does on my windows device.. On my old adapter, the light was only solid when in monitor mode, but looking at my interfaces, I can see that there is no monitor mode enabled.. Obviously, since I am on the internet....
Any thoughts?
Respectfull,
Optix
-
The led is ... just a led, it doesn't matter what it does. The driver can control it, but it doesn't matter, the led doesn't affect the connection (or the other way around).
This is for aircrack-ng, anything related to your internet connection with wifi is for linux-wireless. And they will point out to check dmesg for any error message.
-
Thanks misterx... i havent used linux since compat-wireless was required for patching drivers. I have been having the fixed channel -1 issue in 16.04 with newest version of aircrack-ng and everytime I've upgraded, ive noticed that 5 packages werent upgrading (the most important ones (headers). Finally with the dist-upgrade i was able to upgrade them. I hope this fixes my fixed channel issue as the old maxim patch is now apparently obsolete when compat-wireless went away. I'm upgrading now and Ill post my results. But none-the-less thank-you.
-
please help me with this anyone i beg u i am tired from this errors i keep getting, i been tryin to solve this and been searching for a solution and can't find anything after i enter the command of "sudo make" or "make" or anything that is related to compiling or what ever you wanna call it i get this error, i searched and searched and searched and all i see is install kernel headers, and i did do that and tried but still or i think now it's a different error i don't know i had some other at beginning without headers then after the headers i installed now these 2 , please help me fix this problem i want to learn.
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.15.0-kali2-common/scripts/Makefile.build:329: recipe for target '/usr/src/backports-4.2.6-1/compat/lib-average.o' failed
make[8]: *** [/usr/src/backports-4.2.6-1/compat/lib-average.o] Error 1
/usr/src/linux-headers-4.15.0-kali2-common/scripts/Makefile.build:588: recipe for target '/usr/src/backports-4.2.6-1/compat' failed
make[7]: *** [/usr/src/backports-4.2.6-1/compat] Error 2
/usr/src/linux-headers-4.15.0-kali2-common/Makefile:1528: recipe for target '_module_/usr/src/backports-4.2.6-1' failed
make[6]: *** [_module_/usr/src/backports-4.2.6-1] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[5]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[4]: *** [all] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[3]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:40: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:30: recipe for target 'default' failed
make: *** [default] Error 2
-
Don't use backports ANYMORE. You are basically downgrading from 4.15 to 4.2.6 if you achieve what you're trying to do.
-
Don't use backports ANYMORE. You are basically downgrading from 4.15 to 4.2.6 if you achieve what you're trying to do.
Hi misterx, i need to modify my Kali ATH9K driver so i can make some specific testing with the AWUS036NHA.
You've said not to use Backports anymore, which driver do you recommend then ?
-
There is only one driver for that adapter: ath9k.