There is no prerequisite to knowledge. Either you know, or you don't. I certainly know that I am in pain whenever I am in pain. There is no prerequisite there.
For instance, you propose that there should be an external reality. Well, the notion off external reality assumes that there is an internal reality and one that you know. And, obviously, there is an internal reality and you know it. It is called variously "subjective experience", "consciousness", "the mind" etc. You didn't even thought necessary to articulate prerequisite for knowing that you have a mind, or that you are a mind, or that you know your own mental world.
Second, is it possible to know the external reality you propose there should be? Well, obviously not since you yourself posit it is an assumption that there should be one to begin with, which implies that this is an assumption, not a fact.
Now, replace "knowledge of the external world" with "rational system of beliefs about the external world", and everything falls into place. Rationality here means first that your system of beliefs be consistent with facts, and, second, that your system be logical. What is there that does exactly that? Well, science for a start. Science is our best system of beliefs about the external world. It is consistent with facts, and it is logical. Maybe not all sciences can articulate their system of beliefs quite like physics does, but this is certainly the standard to be emulated.
It baffles me that so many people should be so insistent that we should have a theory of our knowledge of the physical world when it is quite enough to have rational beliefs. You see, the advantage of talking of a rational system of beliefs is that beliefs are revisable. Whenever we come to believe we got it wrong, we update our system. If you pretend you know the world, then whenever you come to think you got it wrong, there is no place to hide. You just have to admit you claimed to know something you didn't.
I believe I have a sandwich in my fridge but is that true? Maybe not but it is still true that I believe I have a sandwich in my fridge. In other words, I know what is my belief.
Can I possibly know that I have a sandwich in my fridge? No since maybe there is no sandwich. Even if I am looking inside my fridge at something furiously looking like a sandwich, it might still be not true that this is a sandwich. So, not I don't know even such a trivial thing as whether or not there is a sandwich in my fridge.
Thinking in terms of beliefs is also immediately more comfortable since you do know what your beliefs are. Beliefs are also gradable from beliefs that are certain to non-beliefs. And, we don't have to change our mind as to whether yesterday we believed we had a sandwich in our fridge even when it turned out there was none.