There is an interesting account in "The Man Who Changed Everything", by Basil Mahon, published by Wiley. According to the book, Maxwell devised an imaginary mechanical analogue of free space - a complicated machine using rotating cells. With this he could find equations for the behaviour of electric and magnetic fields. He then realized that a mechanical wave could travel in his machine, and he calculated its speed. It depended on the ratio of elasticity to inertia, which for his model were the permittivity and permeability of free space. Their ratio had been found from experiments by Weber and Kohlrausch, and from this he found that a wave in his machine traveled at about the speed of light. So wherever there is free space, permeability and permittivity have the same ratio, and the speed of light is a constant.