If you have a bad/broken knock sensor your CEL WILL come on, it might not be right away but will come on as soon as you start to drive. Check your codes, fix what is broken by what your codes are telling you = fixed CEL.
As for your brake lights I have no idea what you are saying, a friend...