Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2
- tar -jxf compat-wireless-2010-10-16.tar.bz2
- cd compat-wireless-2010-10-16
- wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
- patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
- wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
- patch ./net/wireless/chan.c channel-negative-one-maxim.patch
- gedit scripts/update-initramfs
- #*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
- #*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
- ./scripts/driver-select intel
- make
- sudo make install
- sudo make unload
- sudo modprobe iwl3945
- -----------------If get an error: ------------------------
- net/wireless/util.c: In function ‘cfg80211_change_iface’
- ------------------ then: ---------------------------------
- comment lines from : compat-wireless-3.1.1-1/net/wireless/nl80211.c
- Code:
- if (!use_4addr) {
- if (netdev && br_port_exists(netdev))
- return -EBUSY;
- return 0;
- }
- and this file : compat-wireless-3.1.1-1/net/wireless/util.c
- Code:
- if (br_port_exists(dev) &&
- (ntype == NL80211_IFTYPE_ADHOC ||
- ntype == NL80211_IFTYPE_STATION ||
- ntype == NL80211_IFTYPE_P2P_CLIENT))
- return -EBUSY;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement