compat-wireless
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
compat-wireless [2010/11/16 08:52] – stbale & bleeding edge and kernel 2.6.24 sleek | compat-wireless [2013/02/25 16:32] – [compat-wireless] compat-wireless is now -drivers sleek | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | . | ||
====== compat-wireless ====== | ====== compat-wireless ====== | ||
+ | **UPDATE: compat-wireless is now known as [[https:// | ||
Line 15: | Line 17: | ||
- | We distinguish [[http:// | + | We distinguish [[http:// |
The home page of the package is [[http:// | The home page of the package is [[http:// | ||
+ | Visit the compat-wireless [[http:// | ||
Line 47: | Line 49: | ||
- | ==== Kernels | + | ==== Kernels 2.6.24 |
- | The installation process is pretty much analogous to the one described above. | + | The installation process is as follows: |
- | + | // Download the latest available package from | |
- | + | $ tar xvjf compat-wireless-3.6-rc6-1.tar.bz2 | |
- | $ wget http:// | + | //**note:** 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 | |
- | $ tar -jxf compat-wireless-$(date | + | |
- | + | ||
- | $ cd compat-wireless-$(date | + | |
$ wget http:// | $ wget http:// | ||
+ | |||
$ patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch | $ patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch | ||
- | ( apply any additional | + | //**note:** the next two steps are only required for compat-wireless versions before v3.3-rc1-2 // |
+ | $ wget http://patches.aircrack-ng.org/ | ||
+ | |||
+ | $ patch -p1 < channel-negative-one-maxim.patch | ||
+ | ( apply any additional patches that you may need) | ||
+ | //Before compiling, take a look at " | ||
$ make | $ make | ||
- | # make install | + | $ sudo make install |
- | + | ||
- | + | ||
+ | $ sudo make wlunload | ||
+ | $ sudo modprobe driver-name | ||
+ | Reboot, if you're unsure. | ||
==== Kernels 2.6.22 - 2.6.24 ==== | ==== Kernels 2.6.22 - 2.6.24 ==== | ||
- | + | If you're using an ancient kernel, currently lower than 2.6.24, you won't have much success enabling aircrack-ng. There used to be a package called | |
- | + | ||
- | For these kernels, a package called | + | |
- | + | ||
- | + | ||
- | + | ||
- | $ wget http:// | + | |
- | + | ||
- | $ tar -jxf compat-wireless-old-$(date -I).tar.bz2 | + | |
- | + | ||
- | $ cd compat-wireless-old-$(date -I) | + | |
- | + | ||
- | $ wget http:// | + | |
- | + | ||
- | $ patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch | + | |
- | + | ||
- | ( apply any additional patches that you may need ) | + | |
- | + | ||
- | $ make | + | |
- | + | ||
- | # make install | + | |
- | + | ||
- | + | ||
- | + | ||
- | Please note that the patch provided here worked for the newest | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
===== Uninstalling the package ===== | ===== Uninstalling the package ===== | ||
- | + | Should you be in any way dissatisfied with the new drivers, you can uninstall them very easily | |
- | Should you be in any way dissatisfied with the new drivers, you can uninstall them very easily | + | $ cd compat-wireless-$(date -I) |
- | + | $ sudo make uninstall | |
- | + | $ sudo make wlunload | |
- | + | Then reboot or sudo modprobe your-desired-driver to complete | |
- | + | ||
===== Driver Select ===== | ===== Driver Select ===== | ||
+ | compat-wireless offers one very useful script, called // | ||
+ | ./ | ||
+ | to see all of the available drivers and options. An example of installing singular module would be | ||
+ | ./ | ||
+ | followed by "sudo make && sudo make install" | ||
- | + | Refer to the linux-wireless [[http:// | |
- | compat-wireless | + | |
- | + | ||
- | + | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 134: | Line 108: | ||
If you encounter compilation problems, please make sure you've got kernel headers installed and that the system knows where to look for them. Generally, there should be a symlink under | If you encounter compilation problems, please make sure you've got kernel headers installed and that the system knows where to look for them. Generally, there should be a symlink under | ||
- | |||
/ | / | ||
- | |||
which points to the directory containing the kernel headers. | which points to the directory containing the kernel headers. | ||
+ | **Compilation errors** | ||
+ | Every now and then, you may stumble upon errors during compilation and the process may end because of them. Its not necessarily **// | ||
==== Module loading problems ==== | ==== Module loading problems ==== | ||
Line 152: | Line 125: | ||
- | + | Secondly, as shown above, it is imperative | |
- | Secondly, you will need to reload any modules you're currently using, as well as their dependencies, in order to make sure that there are no unresolved symbols (i.e. functions/ | + | sudo make wlunload |
- | + | will make sure all of the wireless modules are unloaded, which will pave the way for your new driver | |
- | + | ||
- | + | ||
- | # rmmod b43 | + | |
- | + | ||
- | # rmmod ssb | + | |
- | + | ||
- | # modprobe b43 | + | |
- | + | ||
- | + | ||
- | + | ||
- | Another approach is to use the unload script provided by the authors of the compat-wireless | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ==== Broadcom firmware missing ==== | + | |
- | + | ||
- | + | ||
- | + | ||
- | Because | + | |
compat-wireless.txt · Last modified: 2018/07/20 22:58 by mister_x