The astronaut who took these pictures, Don Pettit, is also an accomplished hardware hacker. He built his own barn door tracker[1] from spare parts at the station. A barn door tracker is basically a device that allows you to make long exposure pictures and by slowly moving the camera, keeps stars as points of light instead of trails (the opposite of these pictures).
[1] http://en.wikipedia.org/wiki/Barn_door_tracker