sábado, 16 de junho de 2012

How to find aircrack compat wireless driver

I know can be many ways to find the right driver on linux to a wireless device but after some time searching it's that how I found my aircrack compat wireless driver.

First I downloaded, compiled and installed all wireless drivers at 

compat-wireless-3.5-rc2-1:

 $ wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-3.5-rc2-1.tar.bz2 
 $ tar jxvf compat-wireless-3.5-rc2-1.tar.bz2; cd compat-wireless-3.5-rc2-1
 $ make
 $ sudo make install
and restart.

I have two wireless devices chipsets: Broadcom and Atheros. The Broadcom stopped work so I tested Atheros:
 $ sudo airmon-ng stop wlan1;sudo ifconfig wlan1 down;sudo macchanger --mac 00:11:22:33:44:55 wlan1;sudo airmon-ng start wlan1  
Result:
 ...
 Interface  Chipset    Driver  
 wlan1    Unknown   carl9170 - [phy0]  
         (monitor mode enabled on mon0)

The monitor mode was working and I found out the driver installed was carl9170.

Second I uninstall all wireless drivers at compat-wireless-3.5-rc2-1:

 ... 
 $ cd compat-wireless-3.5-rc2-1 
 $ sudo make uninstall
and restart.

After restart all wireless drivers at compat-wireless-3.5-rc2-1 were removed and Broadcom and Atheros started to work again.

Third (re)compiling only the right driver:

 ... 
 $ cd compat-wireless-3.5-rc2-1
 $ ./scripts/driver-select carl9170
 $ make
 $ sudo make install
restart.

Now  Broadcom is woking with ubuntu original driver and Atheros with compat wireless driver carl9170.

Nenhum comentário:

Postar um comentário