Create some sort of friendly dialogue with your subjects and make sure your camera is visible. If you have a small camera, hold it in your hand. A larger camera should be around your neck or otherwise in plain sight. Often, the people will ask about the camera and you can then explain that you’re a hobbyist or freelancer and show them a few of your pictures. Then ask to take a shot of them.
Photodoto » Blog Archive » Photographing People in Public Places