https://trisquel.info/en/wiki/make-bridge-ethernet-wifi
Also, for some reason hostapd doesn't start correctly some times and the wireless network is not distribute in the air, so I had to stop and restart it again some times, but I found that using the following command works better than just start and doesn't seem to have this problem:
sudo /etc/init.d/hostapd restart
