Excitation of Oscillations in the Magnetic Network on the Sun