I am also not really concerned about security since everything is at home. Hence, all my Linux configurations are done in root user mode. This removes the confusion of which commands will work and which won’t.
To set up networking, both PCs need to be assigned IP addresses and put on the same workgroup. For the sake ofthis story, Darkstar is configured on an IP address 192.168.0.10 and Moonshine on 192.168.0.20. In Linux, IP addresses are specified at the time of install when the network adapter is configured. If it was not, then you can use a command like
# Redhat-config-network
in a terminal window. This will bring up the network connection dialog. You can configure the network card as well as specify the I P address.
Once you have connected the two PCs with the crossover cable, check the network connectivity using the PI NG command. You can use it on both Windows as well as Linux.
So to check the connection from my Linux PC to the Windows PC, I type:
# Ping 192.168.0.10
where 192.168.0.10 is the IP address of the Windows PC.

