你是否正在寻找关于aircrack-ng的内容?让我把最棒的东西奉献给你:
.
compat-wirelessUPDATE: compat-wireless is now known as backports
Compat-wireless is a package which contains the development and stable versions (pulled from the kernels git repository) of the in-kernel wireless drivers and the mac80211 wireless stack. New packages are released pretty much every day.
This package is mentioned quite often on the forums and the IRC channel because using it is very convenient. You can think of it (in fact, you should) as a sized-down version of the kernel tree, a one that contains only the sources of the wireless drivers and the wireless stack. Therefore, you can apply any wireless-related patches to it and recompile them without having to recompile the whole kernel.
Additionally, the development versions of the drivers have one particular advantage : theyre being constantly improved. It is not uncommon to see that they support more hardware, have better performance, or simply contain fixes to various bugs - in contrast to their stable versions. However, you should always remember that development versions may be incomplete or contain even more bugs than the stable ones.
We distinguish versions of compat-wireless, development (bleeding edge) and stable. The development version may include more drivers, supported hardware and bug-fixes but may not be as stable as the stable version which implies its nature. With minor exceptions, both versions will suffice in your bid to enable aircrack-ng support for your card/driver. For the majority of the users the stable version is the preferred one to use
The home page of the package is here. Visit the compat-wireless forum thread to share your experience if you need assistance.
In order to install this package, you need to have a few things :
Kernel 2.6.24 or higher
The kernel headers for the kernel youre currently running
Basic development tools
If you meet the requirements of the package, you can try installing it.
The installation process is as follows:
Download the latest available package from
$ tar xvjf compat-wireless-3.6-rc6-1.tar.bz2note: the exact filename of the tarball depends on which version you have downloaded, substitute the example filename with the one corresponding to the file you downloaded
$ cd compat-wireless-3.6-rc6-1 $ wget +ack_v1.patch $ patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patchnote: the next two steps are only required for compat-wireless versions before v3.3-rc1-2
$ wget $ patch -p1 < channel-negative-one-maxim.patch ( apply any additional patches that you may need)Before compiling, take a look at “driver-select” down the page
$ make $ sudo make install $ sudo make wlunload $ sudo modprobe driver-nameReboot, if youre unsure.
If youre using an ancient kernel, currently lower than 2.6.24, you wont have much success enabling aircrack-ng. There used to be a package called compat-wireless-old which is no longer supported. You could try and dig in to Orbits archives for older releases, be warned, the likelihood of you succeeding is very slim. Your best bet to enable compat-wireless, thus aircrack-ng, is to install a supported kernel version. An other convenient option is to utilize linux Live CD with preconfigured settings for easy aircrack-ng operation.
Should you be in any way dissatisfied with the new drivers, you can uninstall them very easily and return to your default wireless kernel drivers:
$ cd compat-wireless-$(date -I) $ sudo make uninstall $ sudo make wlunloadThen reboot or sudo modprobe your-desired-driver to complete the process.
compat-wireless offers one very useful script, called driver-select, which allows you to save time when compiling your preferred driver. Currently not all drivers are available via driver-select but the most common ones are. Its useful if you install compat-wireless frequently or if you have one card on your computer. Enter the compat-wireless directory and issue:
./scripts/driver-selectto see all of the available drivers and options. An example of installing singular module would be
./scripts/driver-select ath9k followed by "sudo make && sudo make install"Refer to the linux-wireless page for more details.
If you encounter compilation problems, please make sure youve got kernel headers installed and that the system knows where to look for them. Generally, there should be a symlink under
/lib/modules/`uname -r`/buildwhich points to the directory containing the kernel headers.
Compilation errors
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-13862-1.html
这教授也是被骂得惨
虽然现在美国也是这么做的
让奥黑的国民知道失去亲人的滋味