From steady solutions to chaotic flows in a Rayleigh-Bénard problem at moderate Rayleigh numbers