Realtek RTL8723BE PCIe Wireless Network Adapter not working in Ubuntu 16.10

Run in a terminal

sudo tee /etc/modprobe.d/rtl8723be.conf <<< "options rtl8723be ant_sel=1"

and reboot.

If it does not work, try with ant_sel=2

This will set the correct antenna and should fix the poor signal issue.