Compat Wireless 2.6.38 on Backbox 2.05

Started by ultra_lazer, July 22, 2012, 03:29:22 PM

Previous topic - Next topic

ultra_lazer

Hi everyone
After spending quite sometime testing several wifi drivers and several patches trying to fix a couple of errors on my BB, finally i found the solution, so forget about all the temporary solutions on the forum and do the following. ( I will show proof of concept in the bottom of this tutorial ) ;)

Go to :    http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.38/   and download the latest compat-wireless 2.6.38.2-2  .

Done ?? :D

Extract the compressed file in /Home directory.

Open terminal , go root and do the following :

cd compat-wireless-2.6.38.2-2
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
make
make install


That is all , reboot and enjoy hacking wireless.

** Proof of concept showing smooth installation with no errors , airodump and aireplay injection resaults ! Sorry for its a bit long , Mods can fix it  :D

root@Backbox:/home/ultralazer/compat-wireless-2.6.38.2-2# make install

Your old wireless subsystem modules were left intact:

kernel/net/mac80211/mac80211.ko
kernel/net/wireless/cfg80211.ko
kernel/net/wireless/lib80211.ko
kernel/drivers/net/wireless/adm8211.ko
kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko
kernel/drivers/net/wireless/at76c50x-usb.ko
kernel/drivers/net/wireless/ath/ath.ko
kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
kernel/drivers/net/wireless/b43/b43.ko
kernel/drivers/net/wireless/b43legacy/b43legacy.ko
kernel/drivers/net/b44.ko
kernel/drivers/net/wireless/ath/carl9170/carl9170.ko
kernel/drivers/staging/brcm80211/brcm80211.ko
kernel/drivers/net/usb/cdc_ether.ko
kernel/drivers/misc/eeprom/eeprom_93cx6.ko
kernel/drivers/net/wireless/ipw2x00/ipw2100.ko
kernel/drivers/net/wireless/ipw2x00/ipw2200.ko
kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
kernel/drivers/net/wireless/iwmc3200wifi/iwmc3200wifi.ko
kernel/net/wireless/lib80211_crypt_ccmp.ko
kernel/net/wireless/lib80211_crypt_tkip.ko
kernel/net/wireless/lib80211_crypt_wep.ko
kernel/drivers/net/wireless/libertas/libertas.ko
kernel/drivers/net/wireless/libertas/libertas_cs.ko
kernel/drivers/net/wireless/libertas/libertas_sdio.ko
kernel/drivers/net/wireless/libertas/libertas_spi.ko
kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
kernel/drivers/net/wireless/ipw2x00/libipw.ko
kernel/drivers/net/wireless/mac80211_hwsim.ko
kernel/drivers/net/wireless/mwl8k.ko
kernel/drivers/net/wireless/orinoco/orinoco_cs.ko
kernel/drivers/net/wireless/orinoco/orinoco_nortel.ko
kernel/drivers/net/wireless/orinoco/orinoco_plx.ko
kernel/drivers/net/wireless/orinoco/orinoco_usb.ko
kernel/drivers/net/wireless/orinoco/orinoco.ko
kernel/drivers/net/wireless/p54/p54common.ko
kernel/drivers/net/wireless/p54/p54pci.ko
kernel/drivers/net/wireless/p54/p54spi.ko
kernel/drivers/net/wireless/p54/p54usb.ko
kernel/drivers/net/usb/rndis_host.ko
kernel/drivers/net/wireless/rndis_wlan.ko
kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
kernel/drivers/net/wireless/rt2x00/rt61pci.ko
kernel/drivers/net/wireless/rt2x00/rt73usb.ko
kernel/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko
kernel/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
kernel/drivers/net/wireless/orinoco/spectrum_cs.ko
kernel/drivers/ssb/ssb.ko
kernel/drivers/net/wireless/libertas/usb8xxx.ko
kernel/drivers/net/usb/usbnet.ko
kernel/drivers/net/wireless/wl1251/wl1251.ko
kernel/drivers/net/wireless/wl12xx/wl12xx.ko
kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko

Your old ethernet subsystem modules are left intact:

kernel/drivers/net/atlx/atl1.ko
kernel/drivers/net/atlx/atl2.ko
kernel/drivers/net/atl1e/atl1e.ko
kernel/drivers/net/atl1c/atl1c.ko

Your old bluetooth subsystem modules were left intact:


updates/net/mac80211/mac80211.ko
updates/net/wireless/cfg80211.ko
updates/net/wireless/lib80211.ko
updates/drivers/net/wireless/adm8211.ko
updates/drivers/net/wireless/ath/ar9170/ar9170usb.ko
updates/drivers/net/wireless/at76c50x-usb.ko
updates/drivers/net/wireless/ath/ath.ko
updates/drivers/net/wireless/ath/ath5k/ath5k.ko
updates/drivers/staging/ath6kl/ath6kl.ko
updates/drivers/net/wireless/ath/ath9k/ath9k.ko
updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
updates/drivers/net/wireless/b43/b43.ko
updates/drivers/net/wireless/b43legacy/b43legacy.ko
updates/drivers/net/b44.ko
updates/drivers/net/wireless/ath/carl9170/carl9170.ko
updates/drivers/staging/brcm80211/brcm80211.ko
updates/drivers/net/usb/cdc_ether.ko
updates/drivers/misc/eeprom/eeprom_93cx6.ko
updates/drivers/net/wireless/ipw2x00/ipw2100.ko
updates/drivers/net/wireless/ipw2x00/ipw2200.ko
updates/drivers/net/wireless/iwlwifi/iwl3945.ko
updates/drivers/net/wireless/iwlwifi/iwlagn.ko
updates/drivers/net/wireless/iwlwifi/iwlcore.ko
updates/drivers/net/wireless/iwmc3200wifi/iwmc3200wifi.ko
updates/net/wireless/lib80211_crypt_ccmp.ko
updates/net/wireless/lib80211_crypt_tkip.ko
updates/net/wireless/lib80211_crypt_wep.ko
updates/drivers/net/wireless/libertas/libertas.ko
updates/drivers/net/wireless/libertas/libertas_cs.ko
updates/drivers/net/wireless/libertas/libertas_sdio.ko
updates/drivers/net/wireless/libertas/libertas_spi.ko
updates/drivers/net/wireless/libertas_tf/libertas_tf.ko
updates/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
updates/drivers/net/wireless/ipw2x00/libipw.ko
updates/drivers/net/wireless/mac80211_hwsim.ko
updates/drivers/net/wireless/mwl8k.ko
updates/drivers/net/wireless/orinoco/orinoco_cs.ko
updates/drivers/net/wireless/orinoco/orinoco_nortel.ko
updates/drivers/net/wireless/orinoco/orinoco_pci.ko
updates/drivers/net/wireless/orinoco/orinoco_plx.ko
updates/drivers/net/wireless/orinoco/orinoco_usb.ko
updates/drivers/net/wireless/orinoco/orinoco.ko
updates/drivers/net/wireless/p54/p54common.ko
updates/drivers/net/wireless/p54/p54pci.ko
updates/drivers/net/wireless/p54/p54spi.ko
updates/drivers/net/wireless/p54/p54usb.ko
updates/drivers/net/usb/rndis_host.ko
updates/drivers/net/wireless/rndis_wlan.ko
updates/drivers/net/wireless/rt2x00/rt2400pci.ko
updates/drivers/net/wireless/rt2x00/rt2500pci.ko
updates/drivers/net/wireless/rt2x00/rt2500usb.ko
updates/drivers/net/wireless/rt2x00/rt2800pci.ko
updates/drivers/net/wireless/rt2x00/rt2800usb.ko
updates/drivers/net/wireless/rt2x00/rt2x00lib.ko
updates/drivers/net/wireless/rt2x00/rt2x00pci.ko
updates/drivers/net/wireless/rt2x00/rt2x00usb.ko
updates/drivers/net/wireless/rt2x00/rt61pci.ko
updates/drivers/net/wireless/rt2x00/rt73usb.ko
updates/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko
updates/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
updates/drivers/net/wireless/rtlwifi/rtlwifi.ko
updates/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
updates/drivers/net/wireless/orinoco/spectrum_cs.ko
updates/drivers/ssb/ssb.ko
updates/drivers/net/wireless/libertas/usb8xxx.ko
updates/drivers/net/usb/usbnet.ko
updates/drivers/net/wireless/wl1251/wl1251.ko
updates/drivers/net/wireless/wl12xx/wl12xx.ko
updates/drivers/net/wireless/zd1211rw/zd1211rw.ko

Currently detected ethernet subsystem modules:

updates/drivers/net/atlx/atl1.ko
updates/drivers/net/atlx/atl2.ko
updates/drivers/net/atl1e/atl1e.ko
updates/drivers/net/atl1c/atl1c.ko

Currently detected bluetooth subsystem modules:

updates/drivers/bluetooth/ath3k.ko
updates/drivers/bluetooth/bcm203x.ko
updates/drivers/bluetooth/bluecard_cs.ko
updates/net/bluetooth/bluetooth.ko
updates/net/bluetooth/bnep/bnep.ko
updates/drivers/bluetooth/bpa10x.ko
updates/drivers/bluetooth/bt3c_cs.ko
updates/drivers/bluetooth/btmrvl.ko
updates/drivers/bluetooth/btmrvl_sdio.ko
updates/drivers/bluetooth/btsdio.ko
updates/drivers/bluetooth/btusb.ko
updates/drivers/bluetooth/btuart_cs.ko
updates/net/bluetooth/cmtp/cmtp.ko
updates/drivers/bluetooth/dtl1_cs.ko
updates/net/bluetooth/hidp/hidp.ko
updates/drivers/bluetooth/hci_vhci.ko
updates/drivers/bluetooth/hci_uart.ko
updates/net/bluetooth/l2cap.ko
updates/net/bluetooth/rfcomm/rfcomm.ko
updates/net/bluetooth/sco.ko

Now run:

sudo make unload to unload all: wireless, bluetooth and ethernet modules
sudo make wlunload to unload wireless modules
sudo make btunload to unload bluetooth modules

Run sudo modprobe driver-name to load your desired driver.
If unsure reboot.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

CH  1 ][ Elapsed: 8 s ][ 2012-07-22 16:03                                    
                                                                             
BSSID              PWR  Beacons    #Data, #/s  CH  MB   ENC  CIPHER AUTH ESSID
                                                                             
00:1E:E3:D1:7B:C6  -65       98        4    0   1  54   OPN              matr-
                                                                             
BSSID              STATION            PWR   Rate    Lost  Packets  Probes    
                                                                             
00:1E:E3:D1:7B:C6  00:26:FF:83:89:63  -48    0 - 9      0        4            
00:1E:E3:D1:7B:C6  78:E4:00:08:B1:A6  -74    0 -36      0        4  matr-XD17BC

root@Backbox:/home/ultralazer# aireplay-ng -9 mon0
16:03:59  Trying broadcast probe requests...
16:03:59  Injection is working!
16:04:01  Found 1 AP

16:04:01  Trying directed probe requests...
16:04:01  00:1E:E3:D1:7B:C6 - channel: 1 - 'matr-XD17BC5'
16:04:01  Ping (min/avg/max): 1.365ms/2.724ms/5.364ms Power: -64.53
16:04:01  30/30: 100%

root@Backbox:/home/ultralazer#