You need to read my guide to light trails, if you look in my signature you'll find a link to it...
Simply put, you need ideally to be up bulb mode with a trigger, then roughly f/16 at twilight and at base ISO so likely 100.....this should allow you to get exposures of at least a minute...