Kalgoorlie locals have been woken Friday morning to an earthquake with a magnitude of 3.4 and depth of five kilometres.