patching
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| patching [2009/03/15 14:40] – fixed typos. darkaudax | patching [2018/10/05 22:57] (current) – Updated links mister_x | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| * Where do I get the patch? | * Where do I get the patch? | ||
| - | The [[http:// | + | The [[main|aircrack-ng wiki]] typically indicates which patches are required for particular drivers. |
| + | |||
| + | You can obtain the patch in a variety of ways. The wiki page normally provides a download link. As well, patches are included in the aircrack-ng source package in the " | ||
| - | You can obtain the patch in a variety of ways. The wiki page normally provides a download link. As well, patches are included in the aircrack-ng source package in the " | ||
| Line 40: | Line 41: | ||
| wget "URL to patch" | wget "URL to patch" | ||
| - | | + | |
| Then you need to move the patch to the appropriate directory using the " | Then you need to move the patch to the appropriate directory using the " | ||
| Line 60: | Line 61: | ||
| If you want to test applying the patch: | If you want to test applying the patch: | ||
| - | patch -Np0 --dryrun | + | patch -Np0 --dry-run |
| - | NOTE: There is double dash in front of "dryrun" and " | + | NOTE: There is double dash in front of "dry-run" and " |
| It is always a good idea to perform a test prior to applying it for real. This way you can avoid problems. | It is always a good idea to perform a test prior to applying it for real. This way you can avoid problems. | ||
| Line 104: | Line 105: | ||
| * Play with the " | * Play with the " | ||
| * The version of the patch may be wrong for your kernel version. | * The version of the patch may be wrong for your kernel version. | ||
| + | |||
| Line 125: | Line 127: | ||
| * In some rare cases, a few failures may still be ignored. | * In some rare cases, a few failures may still be ignored. | ||
| * The version of the patch may be wrong for your kernel version. | * The version of the patch may be wrong for your kernel version. | ||
| + | * If all hunks fail: The patch may be whitespace-damaged. Try adding the -l option to the patch command line. | ||
| + | * Try applying the patch with the " | ||
| * If all else fails, you can try manually updating the source code by reviewing the patch and applying the changes by hand. | * If all else fails, you can try manually updating the source code by reviewing the patch and applying the changes by hand. | ||
patching.1237124451.txt.gz · Last modified: by darkaudax
