I am trying to use the information from an old topic to set up the LEDs of the ethernet port to be outputs on the GPIO so an external RJ45 with LEDs can be used. The old topic in question is in the following link.
viewtopic.php?t=273194&start=25
I am very new to this kind of stuff but I have managed to follow the initial set up given by DarkElvenAngel and followed their instructions and all was ok up to the point where I should have been able turn each of the connected LEDs on via this code,This didn't work for me so I used this instead and managed to get Both LED's on.
after the final step of adding the code to the /etc/rc.local and rebooting the outcome was unsuccessful with an ethernet cable in the ethernet port the lights on the RPi4 worked but not the ones via the GPIO.
has anyone had any luck with getting this to work or can see any errors that may contribute to it not working?
thanks in advance.
viewtopic.php?t=273194&start=25
I am very new to this kind of stuff but I have managed to follow the initial set up given by DarkElvenAngel and followed their instructions and all was ok up to the point where I should have been able turn each of the connected LEDs on via this code,
Code:
echo default-on | sudo tee /sys/class/led{2,3}/trigger
Code:
echo default-on | sudo tee /sys/class/led/led2/trigger
Code:
echo default-on | sudo tee /sys/class/led/led3/trigger
has anyone had any luck with getting this to work or can see any errors that may contribute to it not working?
thanks in advance.
Statistics: Posted by sharpy73 — Wed Sep 25, 2024 10:01 pm