In PC-1 we should be able to surf internet via wifi as normal, now let's see the configuration of the net interfaces:

PC-1: -wlan0: gets its ip and other parameters by DHCP (i.e. 192.168.1.102 to know this we must use the command #ifconfig in one terminal).
-eth0: we must provide an static ip (192.168.1.10 netmask 255.255.255.0).

At this point, we should be able to surf internet in PC-2 without problems.

Some notes:

-IMPORTANT: PC-1 must have disabled any firewall (if has one).
-Either, ip values and net interfaces names shown here are just an example and may vary from one sistem to another.
-The UTP wire that bounds both PCs could be direct if, at least, one of the net interfaces is fairly modern and of Gigabit type. If both net interfaces are rather old, in that case, it must be a crossover wire. We must ensure that both PCs "see" each other through the UTP wire pinging from one to the other (being in PC-2 we should do #ping 192.168.1.102 and #ping 192.168.1.10 and in both cases we must see that the connection is right).

(Critics, suggestions, correction are welcome. Here, or to gaenal[at]gmail.com)
-----------------------------------------------------------------------------------------------------

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum