Jump to content

Hi guys, i'm having a problem connecting mi 2 PC together via an Ethernet cable, the situatión is like this:

 

1- Pc1 windows 10 connects to the internet via wifi (yes a pc connecting via wifi, have no other option) .

2- Pc2 windows 7 also connecting to the internet via wifi( i wish i had a wired option).

3- Both PCs are in the same room, connecting to the internet via the same network and router.

4- i sheer files between the 2 PCs via "sheer folders" in wifi, the transfer speed runs from 500kb to 2 Mb if lucky (in a 150Mb network).

5- transfering a 30G file takes hours so desided to run a cables between the 2 PC to sher file via Lan.

 

The problem is that i need to have both computers connected to wifi and connected via lan at the same time, via wifi is working fine, if i connect the 2 PCs with an Ethernet cable they still transfer over wifi and if one or both PCs are manualy disconnected from wifi, the sheer folders stop working, cant even get the Lan connection to work alone with no wifi in any one of the PCs. 

 

 

 

Link to comment
https://linustechtips.com/topic/694748-problems-connecting-2-pc-via-ethernet-cable/
Share on other sites

Link to post
Share on other sites

Try setting both wired connections a static IP. For simplicity, lets say PC1 is 192.168.1.100 and PC 2 is 192.168.1.200. 

 

Once you have done that, go into the network section of Windows File Explorer. In the bar at the top, type the other PC's IP address you assigned, with "\\" before the IP address. 

for PC 2:

\\192.168.1.100

For PC 1:

\\192.168.1.200

 

This should connect to the other PC and show the shared folders (after inputting your authentication if you have it set up). Right click on the drives and select "map network drive" to have them show as normal local drives do. 

 

2 minutes ago, JoshyMcD said:

you probably need a crossover cable rather than a standard Ethernet one

If the devices are fairly current, it should support auto MDIX so shouldn't need one. A switch may be a worthwhile purchase if a crossover cable is needed, though. They're fairly cheap now days and allow for future expansion if needed. 

Link to post
Share on other sites

hey Oshino, thx for the good reply.

 

Already did all that, i have a crossover cable and a normal cable, when ping the other PC IP both come ok (Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)), if i unplug one of the PCs from the cable the ping fails ( Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)) .

 

So, the cable is OK, both PCs are sheering and have network discovery on, and still they only connect if WIFI is on... at WIFI transfer speed, and cant find the other pc using " \\192.168.2.1".

Link to post
Share on other sites

An easy option would be to plug the 2 pc's into an old router. Note that this router need not have access to the internet, just the power and 2 Ethernet cables. Generally, the router would behave as a simple switch in this case.

 

Or, if you don't have 2 Ethernet cables, or a spare router lying around, you could connect the 2 pc's directly, although, as was said earlier, some setting up is required. 

 

On PC #1:

  • Type "Network and Sharing Center" in the start menu, and click on it. 
  • In the left column, click on change adapter settings. 
Spoiler

UO3PFYC.png

  • Then, double click on your LAN adapter.
  • After that, double click on "Internet Protocol Version 4 (TCP/IPv4)"
Spoiler

7rPqBsq.png

  • Here, "Obtain an IP address automatically" would be ticked, but we don't want that.
  • So, tick the box that says "Use the following IP address:"
  • Then, fill it in like this:
    • IP address: 192.168.1.2
    • Subnet mask: 255.255.255.0 (it should be automatically filled)
    • Default gateway: 192.168.1.3
    • Preferred DNS server: 192.168.1.2
    • Alternate DNS server: (you could leave this empty)
  • Finally click on "ok" twice.
Spoiler

It should look something like this:

2IddhLT.png

 

On PC #2:

  • The process is pretty much the same, except for a few details:
    • IP address: 192.168.1.3
    • Subnet mask: 255.255.255.0
    • Default gateway: 192.168.1.2
    • Preferred DNS server: 192.168.1.2
    • Alternate DNS server: (again, you could leave this empty)
  • Click on "ok" twice.
Spoiler

zd6eS3U.png

 

Now, you should be able to see that the 2 pc's are able to connect to each other at 1Gbps (if you don't see this number, it means that you're using an older cable; refer this)

 

 

Link to post
Share on other sites

On 11/26/2016 at 10:13 PM, Madeyouread said:

An easy option would be to plug the 2 pc's into an old router. Note that this router need not have access to the internet, just the power and 2 Ethernet cables. Generally, the router would behave as a simple switch in this case.

 

Or, if you don't have 2 Ethernet cables, or a spare router lying around, you could connect the 2 pc's directly, although, as was said earlier, some setting up is required. 

 

On PC #1:

  • Type "Network and Sharing Center" in the start menu, and click on it. 
  • In the left column, click on change adapter settings. 
  Reveal hidden contents

UO3PFYC.png

  • Then, double click on your LAN adapter.
  • After that, double click on "Internet Protocol Version 4 (TCP/IPv4)"
  Reveal hidden contents

7rPqBsq.png

  • Here, "Obtain an IP address automatically" would be ticked, but we don't want that.
  • So, tick the box that says "Use the following IP address:"
  • Then, fill it in like this:
    • IP address: 192.168.1.2
    • Subnet mask: 255.255.255.0 (it should be automatically filled)
    • Default gateway: 192.168.1.3
    • Preferred DNS server: 192.168.1.2
    • Alternate DNS server: (you could leave this empty)
  • Finally click on "ok" twice.
  Reveal hidden contents

It should look something like this:

2IddhLT.png

 

On PC #2:

  • The process is pretty much the same, except for a few details:
    • IP address: 192.168.1.3
    • Subnet mask: 255.255.255.0
    • Default gateway: 192.168.1.2
    • Preferred DNS server: 192.168.1.2
    • Alternate DNS server: (again, you could leave this empty)
  • Click on "ok" twice.
  Reveal hidden contents

zd6eS3U.png

 

Now, you should be able to see that the 2 pc's are able to connect to each other at 1Gbps (if you don't see this number, it means that you're using an older cable; refer this)

 

 

oooommmggg finally!!! i was missing the DNS server, had the rest done a lot of times before.

 

Thx very much MADEYOUREAD

 

110 Mbs transfer speed, no more flashdrives for me :D

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×