Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

aircrack-ng doesn't work after kernel upgrade

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

aircrack-ng doesn't work after kernel upgrade

  • Quote

Post by moment92 » Thu Aug 26, 2010 3:32 pm

I upgraded from kernel 2.6.34-r1 to 2.6.35-r4. After that aircrack-ng doesn't work. It says, that wlan0 is fixed on channel -1 and I can't change that channel. Because of it dumping of data does not work correctly and aireplay-ng does nothing at all.

I use Atheros5007EG wireless device and ath5k driver.

I solved the problem temporarily by switching back to the old kernel. Iis there anything I can do in order to use the new one and still work with aircrack-ng?
Top
idella4
Retired Dev
Retired Dev
User avatar
Posts: 1600
Joined: Fri Jun 09, 2006 11:29 am
Location: Australia, Perth

  • Quote

Post by idella4 » Thu Aug 26, 2010 7:21 pm

emerge wpa_supplicant, follow the guides et the gentoo wiki to set it up.
It should put it in order or point you to the kernel fault.
How did you upgrade the kernel?
idella4@aus
Top
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

  • Quote

Post by moment92 » Fri Aug 27, 2010 9:25 am

How did you upgrade the kernel?
I upgraded it manually, without genkernel.
emerge wpa_supplicant, follow the guides et the gentoo wiki to set it up.
It should put it in order or point you to the kernel fault.
I already have wpa_supplicant and it is also set up correctly and working. Anyway, I actually can't see how this is relevant. Aircrack-ng doesn't need it, it even suggests to kill wpa_supplicant before doing anything.


I am not sure, the problem could also be in the aircrack-ng and not in the new kernel. :(
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Fri Aug 27, 2010 12:15 pm

For legacy software that still uses wireless extensions you have to enable nl80211 wext compatibility.

Code: Select all

CONFIG_CFG80211_WEXT=y
But I think aircrack-ng supports nl80211 at least as long as net-wireless/iw is installed
Top
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

  • Quote

Post by moment92 » Thu Sep 02, 2010 3:32 pm

nl80211 wext compatibility is enabled in kernel configs and I also have net-wireless/iw installed, but the problem remains.
Top
hiroru
n00b
n00b
User avatar
Posts: 3
Joined: Thu Jul 15, 2010 7:01 am
Location: Spain

  • Quote

Post by hiroru » Mon Jan 03, 2011 7:20 am

moment, how you finally resolved this?

Thanks
Old Gentoo User, coming back to the roots (from Debian)
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Tue Jan 04, 2011 5:55 am

curiosity, does it do the same with madwifi-ng?

after running airmon-ng start <ifname> check /proc/net/dev and see if some mysterious other interface is created.
I use ath9k but am still on .34 (kernel), it doesnt do any such thing, but i know my .35 build does with iwlagn.

If you see some new mysterious interface created, see if airodump-ng -c <channel> -w <blah> <strangeifname> actually stays fixed on a channel, as well do your aireplay on this interface and not the original (wlan0).

Other than that, no idea.
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
jms.gentoo
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu May 07, 2009 5:29 am

  • Quote

Post by jms.gentoo » Sun Jan 23, 2011 7:06 pm

airodump-ng: channel handling is broken.
have a look here
http://trac.aircrack-ng.org/ticket/742

a patch:
http://trac.aircrack-ng.org/attachment/ ... rror.patch
Top
jms.gentoo
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu May 07, 2009 5:29 am

  • Quote

Post by jms.gentoo » Sun Jan 23, 2011 8:32 pm

change in kernel after 34 (I think) affect aircrack-ng
so downgrade to older kernel.(alternativly you can pach the kernel)
otherwise there is an ebuild
http://gpo.zugaina.org/net-wireless/aircrack-ng

there is a pached ebuild in pentoo overlay
Top
Post Reply

9 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic