I am following the instructions located here to setup my server. It states that I have to apply a patch which I've downloaded onto the machine. My question is, the article says to use the following command:
/usr/src/linux # patch -p1 < file.diff //note I replace file.diff w/ routes-22.214.171.124.diff
-bash: /usr/src/linux: No such file or directory
I go on to assume that
/linux # should be replaced with the actual linux kernel version/dir. I've tried this using the following command:
/usr/src/linux-headers-126.96.36.199 patch -p1 < file.diff
This returns the same. When I view the contents of /usr/src I only have two directories
linux-headers-188.8.131.52-generic-pae I need guidance as to the correct way to apply a patch to the kernel.
If I execute
/usr/src/linux-headers-184.108.40.206/ patch -p1 file.diff I get
-bash: /usr/src/linux-headers-220.127.116.11: is a directory. I need to know how I go about finding the specific file that needs to be patched here...