I have two computers connected via LAN that works well. The first one is connected to the Internet via WiFi.
How can I connect the second PC to the Internet?
Both computers have Windows 7.
on the internet pc: open network connections -> right mouse button on your wifi connection -> preferences -> sharing tab -> check first tick box.
on the second pc, add first pc's IP address as default gateway on your lan connection.
(when completing the first step, your first PC's IP address will change, so be sure to use the new one as the default gateway)