Advertisement
mightyroot

Patch for airckrack iwl3945

Feb 4th, 2012
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.28 KB | None | 0 0
  1. wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2
  2. tar -jxf compat-wireless-2010-10-16.tar.bz2
  3. cd compat-wireless-2010-10-16
  4. wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
  5. patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
  6. wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
  7. patch ./net/wireless/chan.c channel-negative-one-maxim.patch
  8. gedit scripts/update-initramfs
  9. #*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
  10. #*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
  11.  
  12. ./scripts/driver-select intel
  13. make
  14. sudo make install
  15. sudo make unload
  16. sudo modprobe iwl3945
  17.  
  18. -----------------If get an error: ------------------------
  19. net/wireless/util.c: In function ‘cfg80211_change_iface’
  20. ------------------ then: ---------------------------------
  21. comment lines from : compat-wireless-3.1.1-1/net/wireless/nl80211.c
  22. Code:
  23.  
  24. if (!use_4addr) {
  25.      if (netdev && br_port_exists(netdev))
  26.        return -EBUSY;
  27.      return 0;
  28. }
  29.  
  30.  
  31. and this file : compat-wireless-3.1.1-1/net/wireless/util.c
  32. Code:
  33. if (br_port_exists(dev) &&
  34.        (ntype == NL80211_IFTYPE_ADHOC ||
  35.         ntype == NL80211_IFTYPE_STATION ||
  36.         ntype == NL80211_IFTYPE_P2P_CLIENT))
  37.      return -EBUSY;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement