How do I bake cakes in a gas oven without a temperature knob?
I agree with Jefromi that the easiest solution is just to get a cheap oven thermometer that you can put into the oven.  I'm not sure where you're from or the availability of them, but they are generally quite cheap.

Before such things existed, people had methods for testing oven temperatures for baking.  The most common one was to put your hand into the oven and count how long it takes until it's too hot and you need to take it out.  Depending on the number of seconds, you could tell the difference between a "hot" or "moderate" or "low" oven or whatever.  Such distinctions are sufficient to determine oven temperature to bake a passable cake, but they require experience to achieve even basic precision.  If you already knew how to do this, you could estimate the oven settings pretty quickly (though only in a general sense, but good enough for basic baking).

But without that sort of previous experience, I'd again just recommend buying an oven thermometer.