how do i increase the range of my wifi signal on ubuntu 16.04?

I have an hp laptop upon which i recently dual booted to install ubuntu 16.04. I have windows 10 and wifi works perfectly on that. However on ubuntu, it only works when my laptop is placed next to the router. HOw can i get it to work at greater distances. I have a realtek network adapter, rtl8723be.