How do I connect 2 computers via a Modem cum Router?

vijay_001

Distinguished
Sep 21, 2011
331
0
18,790
I have 1 laptop & 1 desktop. I have a modem cum router which has wireless network and 4 ethernet ports.
I want to connect both the computers via the modem cum router with ethernet cables. How do I do it?

Current connection -

Laptop connected to Modem via ethernet cable (+Internet)

Desktop connected to Modem via ethernet cable (+Internet)

Both joined the Homegroup but both the computers don't appear on network.

I have turned on sharing of files and drives.

(I have no crossover ethernet cable)

How do I do this?
 
Solution
Okay, I have figured it out. The problem was I named both the computer's name as same. Changed laptop computer's name and now both the computers appear in network.