If they are connected to the same wireless network, you have to go to your computers' sharing settings and change to what specifications you need.
To share between computers you need to have the main computer connected directly to your home's internet connection through the wireless router. You then have to connect the laptop to that wireless network. Then try to change sharing settings.