How much ambient light is there where you will be shooting? The more ambient light, the shorter your exposure time will need to be. Use the lowest native ISO your camera has.
How long do you want the star trails to be? A 30
second shutter speed with a wide open lens, will produce what look like points of light. A 20
minute exposure will produce very noticable trails. Many people make star trails by making a sucession of 30 second exposures and then combine 40 or so of of them to render trails. Doing a series of shorter exposures keeps the image sensor cooler, so there is less thermal noise in the final image.
This was a 20 minute exposure (1186 seconds to be more precise) @ ISO 200 and f/11. Notice the ambient light from lights inside the house, and ambient light from a business behind the house lighting up the tree. The sky is partly lit by ambient light from a town of 30,000 whose edge is 6 miles away. It helps to have a really dark, away from lights, sky.
The brighest point there in the upper left part of the sky is Polaris, the north star. Notice the trails get longer the further from the center of rotation (Polaris) the star is.