So I am setting up an automated test environment for an electronic product and one of my needs is to simulate a user pulling the cable from the product. Since only 4 wires of the RJ45(T-568B) cable are used (https://www.iplocation.net/rj45-wiring), I am soldering these 4 wires (1,2,3,6) on a relay (S4-5V) and controlling them with a micro controller, and I have grounded all the other wires on both ends of the cable (the one coming from the router and the one that goes to the product being tested).
T-568B
Pin Color Pin Name
1 Orange Stripe Tx+
2 Orange Tx-
3 Green Stripe Rx+
4 Blue Not Used
5 Blue Stripe Not Used
6 Green Rx-
7 Brown Stripe Not Used
8 Brown Not Used
I have checked the connections on both ends of the cable with an multimeter (using the "noise on short circuit" function) and the wires 1,2,3 and 6 were connected as expected when the relay was closed and the other ones were grounded. So I assume my cabling is right, only problem is the device still can't connect to internet with the relay closed. Does anyone has an suggestion of why could that be?
Thanks in advance,