Title: Linear and nonlinear excitation of optical waveguides