install_drivers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install_drivers [2017/01/09 02:53] – Overhaul mister_x | install_drivers [2018/10/05 23:27] (current) – [Driver compilation] Update links to Kali patches mister_x | ||
---|---|---|---|
Line 40: | Line 40: | ||
* Linux kernel headers that match your current running kernel. On openSUSE, the kernel sources also must be installed. | * Linux kernel headers that match your current running kernel. On openSUSE, the kernel sources also must be installed. | ||
* The same **gcc** version that was used to compile your kernel. At least make sure that the first two version numbers or the compiler are the same (e.g. it's OK to use gcc **3.4**.6 to compile the driver if the kernel was compiled by gcc **3.4**.2). Ignoring this rule will cause **Invalid module format** errors during module load. That can be checked via / | * The same **gcc** version that was used to compile your kernel. At least make sure that the first two version numbers or the compiler are the same (e.g. it's OK to use gcc **3.4**.6 to compile the driver if the kernel was compiled by gcc **3.4**.2). Ignoring this rule will cause **Invalid module format** errors during module load. That can be checked via / | ||
- | * Always use the latest | + | * Always use the latest |
+ | * [[https:// | ||
+ | * [[https:// | ||
Line 127: | Line 129: | ||
If you use the RPM package manager then "rpm -qa | grep kernel" | If you use the RPM package manager then "rpm -qa | grep kernel" | ||
- | kernel-headers-2.6.24.4-64.fc8 | + | |
- | | + | kernel-headers-3.10.0-514.2.2.el7.x86_64 |
- | | + | kernel-3.10.0-514.2.2.el7.x86_64 |
- | | + | kernel-3.10.0-327.13.1.el7.x86_64 |
- | | + | kernel-devel-3.10.0-327.el7.x86_64 |
- | | + | kernel-devel-3.10.0-514.2.2.el7.x86_64 |
+ | kernel-devel-3.10.0-327.18.2.el7.x86_64 | ||
+ | kernel-tools-3.10.0-514.2.2.el7.x86_64 | ||
+ | kernel-devel-3.10.0-327.13.1.el7.x86_64 | ||
+ | kernel-3.10.0-327.18.2.el7.x86_64 | ||
+ | kernel-3.10.0-327.el7.x86_64 | ||
In the example above, there are kernel headers and a kernel development package that match the kernel we are running. | In the example above, there are kernel headers and a kernel development package that match the kernel we are running. | ||
Line 139: | Line 146: | ||
yum -y install kernel-devel | yum -y install kernel-devel | ||
- | Lets assume that "uname -r" returned "2.6.24.4-64.fc8" then all the 2.6.24.1-15 ones are old and need to be removed. | + | Lets assume that "uname -r" returned "3.10.0-514.2.2.el7.x86_64" then all the 3.10.0-327 ones are old and need to be removed. |
- | rpm -e 2.6.24.4-64.fc8 | + | rpm -e kernel-3.10.0-327.13.1.el7.x86_64 |
- | rpm -e kernel-2.6.24.1-15.fc8 | + | |
- | rpm -e kernel-devel-2.6.24.1-15.fc8 | + | rpm -e kernel-devel-3.10.0-327.18.2.el7.x86_64 |
+ | rpm -e kernel-devel-3.10.0-327.13.1.el7.x86_64 | ||
+ | rpm -e kernel-3.10.0-327.18.2.el7.x86_64 | ||
+ | rpm -e kernel-3.10.0-327.el7.x86_64 | ||
Also change to "/ | Also change to "/ | ||
Line 214: | Line 224: | ||
When installing a recent version version of Aircrack-ng, | When installing a recent version version of Aircrack-ng, | ||
- | ===== Old page ===== | + | ===== Resources |
- | It can be found [[install_drivers_old|here]]. | + | * Previous version of this page can be found [[install_drivers_old|here]]. |
+ | * [[https:// |
install_drivers.1483926819.txt.gz · Last modified: 2017/01/09 02:53 by mister_x