Electric fences are clearly not an option for a small-scale farmer because of the costs, so they have to use other means to keep the elephants out.

The farmers crush the chilies they grow and mix them with old engine oil. They smear that paste onto a simple string fence around their field, protecting their other crops.