We investigate oscillating shock waves in a tube using a higher order weakly nonlinear acoustic model. The model includes thermoviscous effects and is non isentropic. The oscillating shock waves are generated at one end of the tube by a sinusoidal driver. Numerical simulations show that at resonance a stationary state arise consisting of multiple oscillating shock waves. Off resonance driving leads to a nearly linear oscillating ground state but superimposed by bursts of a fast oscillating shock wave. Based on a travelling wave ansatz for the fluid velocity potential with an added 2'nd order polynomial in the space and time variables, we find analytical approximations to the observed single shock waves in an infinitely long tube. Using perturbation theory for the driven acoustic system approximative analytical solutions for the off resonant case are determined.