the router is more than likely setup for dhcp automatically gives an ip address.
Go to contolr panel network and internet.
Right click on loacal area connect and properties.
make sure everything is set to auto.
Other wise go to the laptop
start run type in cmd to bring up a dos window
type ipconfig hit return to get the ip address it is using
add 10 to the ip address and set this into the other pc.
open a dos window and try to ping the address of he default gateway.
ping 192.168.1.1
should reply 4 times.
try swapping the network cable with the one on the mac.