The Swahili people are fantastically helpful and welcoming. Learning a few words in Kiswahili will go a long way to getting the help and spares you need to fix your boat.
The coastline has a mostly Muslim population and it’s important to respect their customs. When interacting with local people and when in public areas it’s best to dress modestly, cover your shoulders and wear shoes. Shake hands and eat with your right hand.