How to use Atheros ath5k driver with aircrack-ng?
I have read pages and pages of wiki and I'm just more confused than ever as to driver and patches to use with the aircrack-ng suite. The card chipset is ath5k
but the info is conflicting as to which is the best to use.
cat /proc/version
Linux version 3.5.0-22-generic (buildd@lamiak) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #33-Ubuntu SMP Wed Jan 2 21:45:40 UTC 2013
lsmod | grep ath5k
ath5k 135206 0
ath 19188 1 ath5k
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
lsmod | grep mac80211
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
so do I use ath5k
or mac80211
and then do I have to blacklist all the others? or am I good to go as I followed the instructions to get to this point but it just seems really confusing and conflicting.
wireless kernel aircrack-ng ath5k
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have read pages and pages of wiki and I'm just more confused than ever as to driver and patches to use with the aircrack-ng suite. The card chipset is ath5k
but the info is conflicting as to which is the best to use.
cat /proc/version
Linux version 3.5.0-22-generic (buildd@lamiak) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #33-Ubuntu SMP Wed Jan 2 21:45:40 UTC 2013
lsmod | grep ath5k
ath5k 135206 0
ath 19188 1 ath5k
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
lsmod | grep mac80211
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
so do I use ath5k
or mac80211
and then do I have to blacklist all the others? or am I good to go as I followed the instructions to get to this point but it just seems really confusing and conflicting.
wireless kernel aircrack-ng ath5k
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to Ask Ubuntu!mac80211
,cfg80211
andath
withath5k
are just modules to work together to provide support for your device. If you would blacklist any of these, it won't work, as yourlsmod
output clearly shows the dependencies of them. Now what is your question exactly? Your title is about getting aircrack-ng to work, the body contains just questions about the kernel modules and how they work together. If it's about aircrack-ng, please provide more information about your attempts, what failed and what errors you got.
– gertvdijk
Jan 21 '13 at 11:49
add a comment |
I have read pages and pages of wiki and I'm just more confused than ever as to driver and patches to use with the aircrack-ng suite. The card chipset is ath5k
but the info is conflicting as to which is the best to use.
cat /proc/version
Linux version 3.5.0-22-generic (buildd@lamiak) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #33-Ubuntu SMP Wed Jan 2 21:45:40 UTC 2013
lsmod | grep ath5k
ath5k 135206 0
ath 19188 1 ath5k
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
lsmod | grep mac80211
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
so do I use ath5k
or mac80211
and then do I have to blacklist all the others? or am I good to go as I followed the instructions to get to this point but it just seems really confusing and conflicting.
wireless kernel aircrack-ng ath5k
I have read pages and pages of wiki and I'm just more confused than ever as to driver and patches to use with the aircrack-ng suite. The card chipset is ath5k
but the info is conflicting as to which is the best to use.
cat /proc/version
Linux version 3.5.0-22-generic (buildd@lamiak) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #33-Ubuntu SMP Wed Jan 2 21:45:40 UTC 2013
lsmod | grep ath5k
ath5k 135206 0
ath 19188 1 ath5k
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
lsmod | grep mac80211
mac80211 461203 1 ath5k
cfg80211 175574 3 ath5k,ath,mac80211
so do I use ath5k
or mac80211
and then do I have to blacklist all the others? or am I good to go as I followed the instructions to get to this point but it just seems really confusing and conflicting.
wireless kernel aircrack-ng ath5k
wireless kernel aircrack-ng ath5k
edited Jan 21 '13 at 11:46
gertvdijk
50.7k18143239
50.7k18143239
asked Jan 21 '13 at 11:44
bryzfbryzf
111
111
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to Ask Ubuntu!mac80211
,cfg80211
andath
withath5k
are just modules to work together to provide support for your device. If you would blacklist any of these, it won't work, as yourlsmod
output clearly shows the dependencies of them. Now what is your question exactly? Your title is about getting aircrack-ng to work, the body contains just questions about the kernel modules and how they work together. If it's about aircrack-ng, please provide more information about your attempts, what failed and what errors you got.
– gertvdijk
Jan 21 '13 at 11:49
add a comment |
Welcome to Ask Ubuntu!mac80211
,cfg80211
andath
withath5k
are just modules to work together to provide support for your device. If you would blacklist any of these, it won't work, as yourlsmod
output clearly shows the dependencies of them. Now what is your question exactly? Your title is about getting aircrack-ng to work, the body contains just questions about the kernel modules and how they work together. If it's about aircrack-ng, please provide more information about your attempts, what failed and what errors you got.
– gertvdijk
Jan 21 '13 at 11:49
Welcome to Ask Ubuntu!
mac80211
, cfg80211
and ath
with ath5k
are just modules to work together to provide support for your device. If you would blacklist any of these, it won't work, as your lsmod
output clearly shows the dependencies of them. Now what is your question exactly? Your title is about getting aircrack-ng to work, the body contains just questions about the kernel modules and how they work together. If it's about aircrack-ng, please provide more information about your attempts, what failed and what errors you got.– gertvdijk
Jan 21 '13 at 11:49
Welcome to Ask Ubuntu!
mac80211
, cfg80211
and ath
with ath5k
are just modules to work together to provide support for your device. If you would blacklist any of these, it won't work, as your lsmod
output clearly shows the dependencies of them. Now what is your question exactly? Your title is about getting aircrack-ng to work, the body contains just questions about the kernel modules and how they work together. If it's about aircrack-ng, please provide more information about your attempts, what failed and what errors you got.– gertvdijk
Jan 21 '13 at 11:49
add a comment |
1 Answer
1
active
oldest
votes
I have had same question, but the answer is:
Ath5k is a new, completely FOSS driver for Atheros cards. Wireless-N-enabled Atheros chipsets should use ath9k
instead. Unlike madwifi-ng
, this driver is based on the new mac80211
stack, meaning that it requires aircrack-ng v1.0-rc1
or newer.
Aircrack-ng support
As of 2.6.27-rc2
, ath5k
can inject without patches (2.6.26
not tested, <=2.6.25
is known to be broken). However, injection support is a bit flaky, and speeds are limited to about 50~100pps. To improve injection speed, apply this patch. It is recommended that you also apply the mac80211
fragmentation patch for your kernel version, to enable the fragmentation attack. For the released 2.6.27
and 2.6.28
kernels, the mac80211
patch suffices, no extra patch is needed.
If you have a kernel older than 2.6.26
, it's recommended that you install the latest compat-wireless-old
package, and apply the 2.6.27
mac80211
fragmentation patch on the package itself. No ath5k
-specific patch is needed for either flavor of compat-wireless
.
Note that in the latest wireless-testing & linux-2.6 kernels, as well as in compat-wireless-2.6
(but not in compat-wireless-old
), there is a bug that prevents the fragmentation attack from working properly when no managed interface is brought up on the same PHY as the monitor interface. As a workaround, bring up wlan0
after creating mon0
with airmon-ng
.
Source: Aircrack-ng: ath5k - FOSS driver for Atheros A/B/G/Super-G cards
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f245688%2fhow-to-use-atheros-ath5k-driver-with-aircrack-ng%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have had same question, but the answer is:
Ath5k is a new, completely FOSS driver for Atheros cards. Wireless-N-enabled Atheros chipsets should use ath9k
instead. Unlike madwifi-ng
, this driver is based on the new mac80211
stack, meaning that it requires aircrack-ng v1.0-rc1
or newer.
Aircrack-ng support
As of 2.6.27-rc2
, ath5k
can inject without patches (2.6.26
not tested, <=2.6.25
is known to be broken). However, injection support is a bit flaky, and speeds are limited to about 50~100pps. To improve injection speed, apply this patch. It is recommended that you also apply the mac80211
fragmentation patch for your kernel version, to enable the fragmentation attack. For the released 2.6.27
and 2.6.28
kernels, the mac80211
patch suffices, no extra patch is needed.
If you have a kernel older than 2.6.26
, it's recommended that you install the latest compat-wireless-old
package, and apply the 2.6.27
mac80211
fragmentation patch on the package itself. No ath5k
-specific patch is needed for either flavor of compat-wireless
.
Note that in the latest wireless-testing & linux-2.6 kernels, as well as in compat-wireless-2.6
(but not in compat-wireless-old
), there is a bug that prevents the fragmentation attack from working properly when no managed interface is brought up on the same PHY as the monitor interface. As a workaround, bring up wlan0
after creating mon0
with airmon-ng
.
Source: Aircrack-ng: ath5k - FOSS driver for Atheros A/B/G/Super-G cards
add a comment |
I have had same question, but the answer is:
Ath5k is a new, completely FOSS driver for Atheros cards. Wireless-N-enabled Atheros chipsets should use ath9k
instead. Unlike madwifi-ng
, this driver is based on the new mac80211
stack, meaning that it requires aircrack-ng v1.0-rc1
or newer.
Aircrack-ng support
As of 2.6.27-rc2
, ath5k
can inject without patches (2.6.26
not tested, <=2.6.25
is known to be broken). However, injection support is a bit flaky, and speeds are limited to about 50~100pps. To improve injection speed, apply this patch. It is recommended that you also apply the mac80211
fragmentation patch for your kernel version, to enable the fragmentation attack. For the released 2.6.27
and 2.6.28
kernels, the mac80211
patch suffices, no extra patch is needed.
If you have a kernel older than 2.6.26
, it's recommended that you install the latest compat-wireless-old
package, and apply the 2.6.27
mac80211
fragmentation patch on the package itself. No ath5k
-specific patch is needed for either flavor of compat-wireless
.
Note that in the latest wireless-testing & linux-2.6 kernels, as well as in compat-wireless-2.6
(but not in compat-wireless-old
), there is a bug that prevents the fragmentation attack from working properly when no managed interface is brought up on the same PHY as the monitor interface. As a workaround, bring up wlan0
after creating mon0
with airmon-ng
.
Source: Aircrack-ng: ath5k - FOSS driver for Atheros A/B/G/Super-G cards
add a comment |
I have had same question, but the answer is:
Ath5k is a new, completely FOSS driver for Atheros cards. Wireless-N-enabled Atheros chipsets should use ath9k
instead. Unlike madwifi-ng
, this driver is based on the new mac80211
stack, meaning that it requires aircrack-ng v1.0-rc1
or newer.
Aircrack-ng support
As of 2.6.27-rc2
, ath5k
can inject without patches (2.6.26
not tested, <=2.6.25
is known to be broken). However, injection support is a bit flaky, and speeds are limited to about 50~100pps. To improve injection speed, apply this patch. It is recommended that you also apply the mac80211
fragmentation patch for your kernel version, to enable the fragmentation attack. For the released 2.6.27
and 2.6.28
kernels, the mac80211
patch suffices, no extra patch is needed.
If you have a kernel older than 2.6.26
, it's recommended that you install the latest compat-wireless-old
package, and apply the 2.6.27
mac80211
fragmentation patch on the package itself. No ath5k
-specific patch is needed for either flavor of compat-wireless
.
Note that in the latest wireless-testing & linux-2.6 kernels, as well as in compat-wireless-2.6
(but not in compat-wireless-old
), there is a bug that prevents the fragmentation attack from working properly when no managed interface is brought up on the same PHY as the monitor interface. As a workaround, bring up wlan0
after creating mon0
with airmon-ng
.
Source: Aircrack-ng: ath5k - FOSS driver for Atheros A/B/G/Super-G cards
I have had same question, but the answer is:
Ath5k is a new, completely FOSS driver for Atheros cards. Wireless-N-enabled Atheros chipsets should use ath9k
instead. Unlike madwifi-ng
, this driver is based on the new mac80211
stack, meaning that it requires aircrack-ng v1.0-rc1
or newer.
Aircrack-ng support
As of 2.6.27-rc2
, ath5k
can inject without patches (2.6.26
not tested, <=2.6.25
is known to be broken). However, injection support is a bit flaky, and speeds are limited to about 50~100pps. To improve injection speed, apply this patch. It is recommended that you also apply the mac80211
fragmentation patch for your kernel version, to enable the fragmentation attack. For the released 2.6.27
and 2.6.28
kernels, the mac80211
patch suffices, no extra patch is needed.
If you have a kernel older than 2.6.26
, it's recommended that you install the latest compat-wireless-old
package, and apply the 2.6.27
mac80211
fragmentation patch on the package itself. No ath5k
-specific patch is needed for either flavor of compat-wireless
.
Note that in the latest wireless-testing & linux-2.6 kernels, as well as in compat-wireless-2.6
(but not in compat-wireless-old
), there is a bug that prevents the fragmentation attack from working properly when no managed interface is brought up on the same PHY as the monitor interface. As a workaround, bring up wlan0
after creating mon0
with airmon-ng
.
Source: Aircrack-ng: ath5k - FOSS driver for Atheros A/B/G/Super-G cards
edited Sep 7 '13 at 8:40
Alaa Ali
22.3k96994
22.3k96994
answered Mar 28 '13 at 9:14
iliailia
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f245688%2fhow-to-use-atheros-ath5k-driver-with-aircrack-ng%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to Ask Ubuntu!
mac80211
,cfg80211
andath
withath5k
are just modules to work together to provide support for your device. If you would blacklist any of these, it won't work, as yourlsmod
output clearly shows the dependencies of them. Now what is your question exactly? Your title is about getting aircrack-ng to work, the body contains just questions about the kernel modules and how they work together. If it's about aircrack-ng, please provide more information about your attempts, what failed and what errors you got.– gertvdijk
Jan 21 '13 at 11:49