sudo apt-get install i8kutils
i8kmon
Setting the fan speed to high (2) will only work shortly as the fan is somehow controlled automatically.\
This helps you out in bash:
while true; do i8kfan - 2; sleep 0.2; done
There should be a better solution and it will be posted as soon as it's found.