Set up ICS on computer 1, sharing the WiFi connection. Set up the TCP/IP properties on computer 2 to use the IP 192.168.0.2, and set the gateway and default DNS to 192.168.0.1 (which should be the IP of the ethernet network adapter on computer 1 after ICS is enabled).