For computer name goto control panel, system. At the bottom of the page you will see computer name and workgroup name - click on the change settings if you need to make sure the workgroup names are the same - you can make thm whatever you wish.
For the IP addresses got control panel, network and sharing centre, change adapter settings. Right click on the local area connection and select properties. Single click on Internet Protocol version 4 (make sure you do not click on version 6 by mistake). Click on the properties command. In the new window which opens click on the option to "use the following IP address". On one of the pc's set the IP address to 192.168.1.1 and set the subnet mask to 255.255.255.0. Do exactly the same with...