Ethernet -> Arduino -> 2 wire cable -> Arduino -> Ethernet

Hi, I would like to start a little project, where I will be able to have internet connection over a simple 2 wire connection.

I know this will be extremely slow, but this is okay for this application. So I was wondering if somebody has done something similar, this would help me very much if I can benefit of your knowledge.

My thoughts so far:

  • One Arduino with a network shield will be used as Gateway, so the notebook (for testing) on this side will be configured to the same IP range, Gateway will be set to Arduino 1
  • For testing a TWI connection, later RS485
  • Second Arduino with network shield as DHCP client in the "normal" network
  • There will be running a Ethernet client and server on both sides, which forward the traffic to each other.

Will this work? Or do I miss an important point?

Thank you for your help, best regards
T0815

For testing a TWI connection, later RS485

TWI uses 3 wires (GND is needed) and it's a master slave protocol, it's definitely not suitable for such a purpose.

RS-485 might work as the physical layer.

  • Second Arduino with network shield as DHCP client in the "normal" network

You definitely don't know enough yet about how the Internet works for this project. Forget the Arduinos and Ethernet shields, use a USB2RS485 converter and configure a PPP connection for that serial connection. That way you get an internet connection over two wires for a few hundred meters. But to get your expected setup to work (DHCP, gateway, etc.) you have to learn a lot about these technologies first.